我模拟 MS petshop3.0 重新写啦一编
在自已机器上运行一切正常(在我机器上开发的) 把所有程序移值到另外的机器上就出现误
误码提示
Exception decrypting. Decryption failed. 该项不适于在指定状态下使用。
堆栈跟踪:
[Exception: Exception decrypting. Decryption failed. 该项不适于在指定状态下使用。
]
Utility.DataProtector.Decrypt(Byte[] cipherText, Byte[] optionalEntropy)
Utility.ConnectionInfo.DecryptDBConnectionString(String InputConnectionString)
SQLServerDAL.SQLHelper..cctor()[TypeInitializationException: “SQLServerDAL.SQLHelper”的类型初始值设定项引发异常。]
SQLServerDAL.SQLHelper.ExecuteDataset(String p_commandText, CommandType p_CommandType, SqlParameter[] p_commandParameters) +0
SQLServerDAL.SystemModule.GetModule(String p_userCode)
BLL.SystemModule.GetModule(String p_userCode)
WebAudit.Test.Page_Load(Object sender, EventArgs e) in d:\web\webaudit\test.aspx.cs:23
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
在自已机器上运行一切正常(在我机器上开发的) 把所有程序移值到另外的机器上就出现误
误码提示
Exception decrypting. Decryption failed. 该项不适于在指定状态下使用。
堆栈跟踪:
[Exception: Exception decrypting. Decryption failed. 该项不适于在指定状态下使用。
]
Utility.DataProtector.Decrypt(Byte[] cipherText, Byte[] optionalEntropy)
Utility.ConnectionInfo.DecryptDBConnectionString(String InputConnectionString)
SQLServerDAL.SQLHelper..cctor()[TypeInitializationException: “SQLServerDAL.SQLHelper”的类型初始值设定项引发异常。]
SQLServerDAL.SQLHelper.ExecuteDataset(String p_commandText, CommandType p_CommandType, SqlParameter[] p_commandParameters) +0
SQLServerDAL.SystemModule.GetModule(String p_userCode)
BLL.SystemModule.GetModule(String p_userCode)
WebAudit.Test.Page_Load(Object sender, EventArgs e) in d:\web\webaudit\test.aspx.cs:23
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货