System.InvalidOperationException: ConnectionString 属性尚未初始化。
重新生成网站,没有错误,然后发布网站浏览的时候就出现了,这个错误:System.InvalidOperationException: ConnectionString 属性尚未初始化。异常详细信息: System.InvalidOperationException: ConnectionString 属性尚未初始化。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[InvalidOperationException: ConnectionString 属性尚未初始化。]
System.Data.OleDb.OleDbConnection.PermissionDemand() +1060991
System.Data.OleDb.OleDbConnectionFactory.PermissionDemand(DbConnection outerConnection) +22
System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
System.Data.OleDb.OleDbConnection.Open() +37
articles.AccessDB.ExecuteSqlStrReturnDs() +36
index.ShowMessages() +54
index.Page_Load(Object sender, EventArgs e) +30
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
大家帮帮忙,好急!!!!
[[it] 本帖最后由 chqqly 于 2008-6-26 13:43 编辑 [/it]]