物件名 'ConfigInfo' 無效。
說明: 執行當前 Web 請求期間,出現未經處理的例外。請檢查堆疊跟蹤資訊,以了解有關該錯誤以及代碼中導致錯誤的出處的詳細資訊。
例外詳細資訊: System.Data.SqlClient.SqlException: 物件名 'ConfigInfo' 無效。
源錯誤:
只有在除錯模式下進行編譯時,生成此未經處理的例外的源代碼才會顯示出來。若要啟用此功能,請執行以下步驟之一,然后請求 URL:
1. 在產生錯誤的檔案的頂部添加一條“Debug=true”指令。例如:
<%@ Page Language="C#" Debug="true" %>
或:
2. 將以下的節添加到應用程式的組態檔中:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
請注意,第二個步驟將使給定應用程式中的所有檔案在除錯模式下進行編譯;第一個步驟僅使該特定檔案在除錯模式下進行編譯。
重要事項: 以除錯模式運行應用程式一定會產生記憶體/性能系統開銷。在部署到生產方案之前,應確保應用程式除錯已禁用。
堆疊跟蹤:
[SqlException (0x80131904): 物件名 'ConfigInfo' 無效。]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +388
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +717
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4515
System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +61
System.Data.SqlClient.SqlDataReader.get_MetaData() +134
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +6557689
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) +6560327
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) +586
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +104
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +288
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +171
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +15
System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +325
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +420
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +275
Game.Kernel.DbHelper.ExecuteDataset(DbConnection connection, CommandType commandType, String commandText, DbParameter[] commandParameters) +324
Game.Kernel.DbHelper.ExecuteDataset(CommandType commandType, String commandText, DbParameter[] commandParameters) +194
Game.Kernel.DbHelper.ExecuteObject(String commandText, List`1 prams) +93
Game.Facade.Fetch.GetUploadFileUrl(String fileUrl) in E:\Web\1916\RYFront\Services\Game.Facade\Fetch.cs:81
ASP.index_aspx.__DataBind__control8(Object sender, EventArgs e) +361
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +304
System.Web.UI.Control.DataBindChildren() +12396407
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +321
System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +183
System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +659
System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +164
Game.Web.Index.Page_Load(Object sender, EventArgs e) in E:\Web\1916\RYFront\WebProjects\Game.Web\Index.aspx.cs:22
Game.Facade.UCPageBase.OnLoad(EventArgs e) in E:\Web\1916\RYFront\Services\Game.Facade\UCPageBase.cs:180
System.Web.UI.Control.LoadRecursive() +71
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178
--------------------------------------------------------------------------------
版本資訊: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34209
uj5u.com熱心網友回復:
.net代碼問題么?沒遇過,來看看下uj5u.com熱心網友回復:
既然有提示,那么用 ConfigInfo 作為關鍵字在你的代碼中查看一下,特別是 SQL 陳述句之類的,估計拼寫有誤或者資料庫做過改動了。轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/65647.html
標籤:網絡管理與配置
下一篇:什么是演算法。
