Server Error in '/' Application.

未指定的错误

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.Data.OleDb.OleDbException: 未指定的错误

Source Error:


Line 48:         catch (Exception ex)
Line 49:         {
Line 50:             throw ex;
Line 51:         }
Line 52:     }

Source File: d:\virtualhost\net2339128\www\App_Code\Data\DbClass.cs    Line: 50

Stack Trace:


[OleDbException (0x80004005): 未指定的错误]
   DbClass..ctor(String ConnName) in d:\virtualhost\net2339128\www\App_Code\Data\DbClass.cs:50
   newsinfo..ctor() in d:\virtualhost\net2339128\www\Inc\newsinfo.aspx.cs:19
   ASP.newsinfo_aspx..ctor() in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\9a44bc58\abbc5e83\App_Web_k6tj2lot.10.cs:0
   __ASP.FastObjectFactory_app_web_k6tj2lot.Create_ASP_newsinfo_aspx() in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\9a44bc58\abbc5e83\App_Web_k6tj2lot.22.cs:0
   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
   System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082