从Dev转移到Production Oracleconnection例外后网站失败

时间:2014-05-19 19:36:05

标签: asp.net vb.net oracle

我们的Asp.net/Vb.net(.net 4)网站在从开发转移到生产时无法加载。 在Dev

上没有任何问题

(Dev是Windows 7 32位)

(生产是Server 2008 64位)

APP Pool是.NET v4.0,32-Bit = True,PipeLine Mode = Integrated

该站点通过ODAC 12c Release 2(12.1.0.1.2)连接到Oracle 11g数据库 生产中也安装了相同的版本。

我们使用TNSNAMES,它已经过生产和工作测试。

贝娄是我收到的错误。

Server Error in '/' Application.
--------------------------------------------------------------------------------

Unhandled Execution Error 
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: Oracle.DataAccess.Client.OracleException: 

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 


[OracleException (0x80004005)]
   Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck, Int32 isRecoverable) +1601
   Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) +61
   Oracle.DataAccess.Client.OracleConnection.Open() +5329
   cpsweb.com.clsDB.Get_DataTable(String sSQL) in D:\SourceVaultLocal\WebSites\cpsweb.com\CPS_Code\clsDB.vb:42
   cpsweb.com.clsSec_Security.isVisible(String sPageName, Object& oObj) in D:\SourceVaultLocal\WebSites\cpsweb.com\CPS_Apps\Sec_WebSite\Code\clsSec_Security.vb:50
   cpsweb.com._Default.Page_Load(Object sender, EventArgs e) in D:\SourceVaultLocal\WebSites\cpsweb.com\Default.aspx.vb:20
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1016 

0 个答案:

没有答案