“/”应用程序中的服务器错误。

指定的网络名不再可用。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.ComponentModel.Win32Exception: 指定的网络名不再可用。

源错误:


行 15: 
行 16: 	base.channel = "news";
行 17: 	base.OnInit(e);
行 18: 	StringBuilder templateBuilder = new StringBuilder(220000);
行 19: 	const int pagesize = 12;

源文件: d:\wwwroot\cnsarah\wwwroot\aspx\main\news_list.aspx    行: 17

堆栈跟踪:


[Win32Exception (0x80004005): 指定的网络名不再可用。]

[SqlException (0x80131904): 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: Named Pipes Provider, error: 40 - 无法打开到 SQL Server 的连接)]
   CCTVdns.DBUtility.DbHelperSQL.GetSingle(String SQLString, SqlParameter[] cmdParms) +345
   CCTVdns.DBUtility.DbHelperSQL.Exists(String strSql, SqlParameter[] cmdParms) +87
   CCTVdns.DAL.article_category.Exists(Int32 id) +318
   CCTVdns.BLL.article_category.Exists(Int32 id) +55
   CCTVdns.Web.UI.Page.article_list.article_list_Init(Object sender, EventArgs e) +242
   System.Web.UI.Control.OnInit(EventArgs e) +97
   System.Web.UI.Page.OnInit(EventArgs e) +14
   ASP.aspx_main_news_list_aspx.OnInit(EventArgs e) in d:\wwwroot\cnsarah\wwwroot\aspx\main\news_list.aspx:17
   System.Web.UI.Control.InitRecursive(Control namingContainer) +142
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +416


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4797.0
XML 地图