鈥?鈥濆簲鐢ㄧ▼搴忎腑鐨勬湇鍔″櫒閿欒銆侟hr width=100% size=1 color=silver>

鍦ㄤ笌 SQL Server 寤虹珛杩炴帴鏃跺嚭鐜颁笌缃戠粶鐩稿叧鐨勬垨鐗瑰畾浜庡疄渚嬬殑閿欒銆傛湭鎵惧埌鎴栨棤娉曡闂湇鍔″櫒銆傝楠岃瘉瀹炰緥鍚嶇О鏄惁姝g‘骞朵笖 SQL Server 宸查厤缃负鍏佽杩滅▼杩炴帴銆 (provider: 鍛藉悕绠¢亾鎻愪緵绋嬪簭, error: 40 - 鏃犳硶鎵撳紑鍒 SQL Server 鐨勮繛鎺?

璇存槑: 鎵ц褰撳墠 Web 璇锋眰鏈熼棿锛屽嚭鐜版湭澶勭悊鐨勫紓甯搞€傝妫€鏌ュ爢鏍堣窡韪俊鎭紝浠ヤ簡瑙f湁鍏宠閿欒浠ュ強浠g爜涓鑷撮敊璇殑鍑哄鐨勮缁嗕俊鎭€

寮傚父璇︾粏淇℃伅: System.Data.SqlClient.SqlException: 鍦ㄤ笌 SQL Server 寤虹珛杩炴帴鏃跺嚭鐜颁笌缃戠粶鐩稿叧鐨勬垨鐗瑰畾浜庡疄渚嬬殑閿欒銆傛湭鎵惧埌鎴栨棤娉曡闂湇鍔″櫒銆傝楠岃瘉瀹炰緥鍚嶇О鏄惁姝g‘骞朵笖 SQL Server 宸查厤缃负鍏佽杩滅▼杩炴帴銆 (provider: 鍛藉悕绠¢亾鎻愪緵绋嬪簭, error: 40 - 鏃犳硶鎵撳紑鍒 SQL Server 鐨勮繛鎺?

婧愰敊璇?

鎵ц褰撳墠 Web 璇锋眰鏈熼棿鐢熸垚浜嗘湭澶勭悊鐨勫紓甯搞€傚彲浠ヤ娇鐢ㄤ笅闈㈢殑寮傚父鍫嗘爤璺熻釜淇℃伅纭畾鏈夊叧寮傚父鍘熷洜鍜屽彂鐢熶綅缃殑淇℃伅銆侟/code>

鍫嗘爤璺熻釜:


[SqlException (0x80131904): 鍦ㄤ笌 SQL Server 寤虹珛杩炴帴鏃跺嚭鐜颁笌缃戠粶鐩稿叧鐨勬垨鐗瑰畾浜庡疄渚嬬殑閿欒銆傛湭鎵惧埌鎴栨棤娉曡闂湇鍔″櫒銆傝楠岃瘉瀹炰緥鍚嶇О鏄惁姝g‘骞朵笖 SQL Server 宸查厤缃负鍏佽杩滅▼杩炴帴銆 (provider: 鍛藉悕绠¢亾鎻愪緵绋嬪簭, error: 40 - 鏃犳硶鎵撳紑鍒 SQL Server 鐨勮繛鎺?]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +428
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.SqlClient.SqlConnection.Open() +122
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.SqlClient.SqlConnection.Open() +122
   BlueCrystal.Data.QuerySection`1.ExcuteDataTable(QuerySection`1 query, Boolean all) +214
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   BlueCrystal.Data.DbProvider.ExecuteDataTable(DbCommand cmd, DbTran tran) +37
   System.Data.SqlClient.SqlConnection.Open() +122
   BlueCrystal.Data.DbHelper.ExecuteDataTable(DbCommand cmd) +73
   BlueCrystal.Data.DbProvider.ExecuteDataTable(DbCommand cmd, DbTran tran) +37
   BlueCrystal.Data.QuerySection`1.ExcuteDataTable(QuerySection`1 query, Boolean all) +344
   BlueCrystal.Data.QuerySection`1.ToDataTable() +50
   BlueCrystal.Data.FromSection`1.ToDataTable() +12
   NVTools.NTools.get_SitePage() +209
   NVTools.NTools.SetColumnSeo(Nullable`1 columnType, String SID, VelocityContext context, Boolean isMobile) +1736
   NVTools.NTools.SetColumnSeo(Nullable`1 columnType, String SID, VelocityContext context) +60
   index.Page_Load(Object sender, EventArgs e) +527
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   BlueCrystal.Data.QuerySection`1.ExcuteDataTable(QuerySection`1 query, Boolean all) +344
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
   BlueCrystal.Data.QuerySection`1.ExcuteDataTable(QuerySection`1 query, Boolean all) +344
   NSW.OConfig2.PrivateSet.get_HashExpandURL() +248
   BlueCrystal.Data.QuerySection`1.ToDataTable() +50
   NSW.Web.Module.URLModule.GetRewritePath(String path) +1575
   BlueCrystal.Data.FromSection`1.ToDataTable() +12
   NSW.Web.Module.URLModule.Application_BeginRequest(Object source, EventArgs e) +2985
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
   NVTools.NTools.SetColumnSeo(Nullable`1 columnType, String SID, VelocityContext context, Boolean isMobile) +1736
   NVTools.NTools.SetColumnSeo(Nullable`1 columnType, String SID, VelocityContext context) +60
   index.Page_Load(Object sender, EventArgs e) +527
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   NSW.Web.UI.BasePages.OnLoad(EventArgs e) +37
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


鐗堟湰淇℃伅: Microsoft .NET Framework 鐗堟湰:2.0.50727.9064; ASP.NET 鐗堟湰:2.0.50727.9062
Baidu
sogou