在线等!!急!!System.BadImageFormatException: 试图加载格式不正确的程序。
Server Error in '/' Application.
--------------------------------------------
试图加载格式不正确的程序。 (Exception from HRESULT: 0x8007000B)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: 试图加载格式不正确的程序。 (Exception from HRESULT: 0x8007000B)
Source Error:
[No relevant source lines]
Source File: c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\5a1dea24\87999769\App_Web_zl9xzyza.4.cs Line: 0
Stack Trace:
[BadImageFormatException: 试图加载格式不正确的程序。 (Exception from HRESULT: 0x8007000B)]
System.Data.Common.UnsafeNativeMethods.OCILobCopy2(IntPtr svchp, IntPtr errhp, IntPtr dst_locp, IntPtr src_locp, UInt64 amount, UInt64 dst_offset, UInt64 src_offset) +0
System.Data.OracleClient.OCI.DetermineClientVersion() +418
[InvalidOperationException: Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.]
System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +642
System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +110
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +263
System.Data.OracleClient.OracleConnection.Open() +47
Transion.Data.Common.DbHelperOra.PrepareCommand(OracleCommand cmd, OracleConnection conn, OracleTransaction trans, String cmdText, OracleParameter[] cmdParms) in F:\work\AICFS\TYSrc\Transion\Data\Common\DbHelperOra.cs:494
Transion.Data.Common.DbHelperOra.ExecuteSql(String SQLString, OracleParameter[] cmdParms) in F:\work\AICFS\TYSrc\Transion\Data\Common\DbHelperOra.cs:353
Bettem.AICFS.OracleDAL.Sys_UserLog.Add(Sys_UserLog model) in F:\work\AICFS\TYSrc\Bettem.AICFS.OracleDAL\Automatic\Sys_UserLog.cs:72
Bettem.AICFS.BLL.BLL`1.Add(T model) in F:\work\AICFS\TYSrc\Bettem.AICFS.BLL\Automatic\BLL.cs:25
Bettem.AICFS.Web.Common.BaseManagePage.AddUserLog(String UserID, String Message) +377
Bettem.AICFS.Web.Common.BaseWebPage.ToLog(Int32 level, Exception ex) +1560
Bettem.AICFS.Web.Common.BaseWebPage.OnError(EventArgs e) +138
System.Web.UI.Page.HandleError(Exception e) +105
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5256
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +236
System.Web.UI.Page.ProcessRequest() +105
System.Web.UI.Page.ProcessRequest(HttpContext context) +292
ASP.manage_login_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\5a1dea24\87999769\App_Web_zl9xzyza.4.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +499
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +177
--------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
------解决方案--------------------参考这里:
http://www.cnblogs.com/insus/articles/2014059.html
------解决方案--------------------