• Orchard 异常


    在Orchard项目中碰的各种错误整理

    1 打开网站出现404 。

    查看日志
    日志位置Orchard.WebApp_DataLogsorchard-error-2016.03.23.log
    错误信息
     
    2016-03-18 16:12:20,899 [6] NHibernate.Transaction.AdoTransaction - (null) - Begin transaction failed [(null)]
     
    System.Data.SqlClient.SqlException (0x80131904): 用户 'Orchard' 登录失败
       在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       在 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       在 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       在 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       在 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       在 System.Data.SqlClient.SqlConnection.Open()
       在 NHibernate.Connection.DriverConnectionProvider.GetConnection()
       在 NHibernate.AdoNet.ConnectionManager.GetConnection()
       在 NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel)
    ClientConnectionId:3d21ccd7-c965-44de-9bc0-1018e69aae9f
    Error Number:18456,State:1,Class:14
    数据库登录密码不对
    修改网站配置后解决
    数据库连接字符串存放位置
    Orchard.WebApp_DataSitesDefaultSettings.txt

    State: Running
    Themes: 
    Modules: 
    Name: Default
    DataProvider: SqlServer
    DataConnectionString: Data Source=.;Initial Catalog=Orchard;User ID=Orchard;Password=test123
    DataTablePrefix: T
    RequestUrlHost: null
    RequestUrlPrefix: null
    EncryptionAlgorithm: AES
    EncryptionKey: AA9EFD95AD4EEF64D6CBBA1B3D76EEC9410CAA217E376B8CDF11CD2D72B560AD
    HashAlgorithm: HMACSHA256
    HashKey: C007A38470F40A2C9B6353EDC2F8D14EEBB5CF62CE57ADF39BB413FD18205400BD6492F00617114916A4BCA641F0A153BA83816A1175DC4AF2E4EE3C0DA787C8
  • 相关阅读:
    Git和Github的基本操作
    整合Flask中的目录结构
    自定义Form组件
    flask-script组件
    flask-session组件
    flask中的wtforms使用
    补充的flask实例化参数以及信号
    用flask实现的分页
    用flask的扩展实现的简单的页面登录
    【字符串】【扩展kmp算法总结~~】
  • 原文地址:https://www.cnblogs.com/xdq-zh/p/5312636.html
Copyright © 2020-2023  润新知