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.Exception: 打开数据库连接错误:未指定的错误
Source Error:
Line 56: Leading.Data.DataADOConn dataconn = new Leading.Data.DataADOConn(DataAccessType.OLEAccess, cnnString);
Line 57: DataSet ds = new DataSet();
Line 58: dataconn.DB.GetDataSetFromExcuteCommand("select * from LCP_Project", "table1", null, ref ds);
Line 59:
Line 60: string showValue = ds.Tables[0].Rows[0]["ProjectID"].ToString()+"\\n";
Source File: d:\soft\MIS40\site\ImportTest.aspx.cs Line: 58
Stack Trace:
[Exception: 打开数据库连接错误:未指定的错误]
Leading.Data.DataExchange.DataAccess.Factory.ThrowDbError(Exception exp) +219
Leading.Data.DataExchange.DataAccess.OleAccess.GetDataSetFromExcuteCommand(String SelectCommandString, String TableName, IDataParameter[] Paras, DataSet& ds) +210
LeadingGH_ImportTest.Button2_Click(Object sender, EventArgs e) in d:\leadingsoft\MIS40\site\ImportTest.aspx.cs:58
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053