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

select columnname from xs_column where depnumber='01' and columnnumber='08' System.Exception: 数据库连接失败,联系统管理员未指定的错误
  在 OleDBOperator.SetCmd(String SQL, CommandType cmdType) 位置 c:\work\wwwroot\cedr\App_Code\OleDBOperator.cs:行号 147
  在 OleDBOperator.CreateCmd(String SQL) 位置 c:\work\wwwroot\cedr\App_Code\OleDBOperator.cs:行号 159
  在 OleDBOperator.ExeScalar(String SQL) 位置 c:\work\wwwroot\cedr\App_Code\OleDBOperator.cs:行号 312

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

异常详细信息: System.Exception: select columnname from xs_column where depnumber='01' and columnnumber='08' System.Exception: 数据库连接失败,联系统管理员未指定的错误
  在 OleDBOperator.SetCmd(String SQL, CommandType cmdType) 位置 c:\work\wwwroot\cedr\App_Code\OleDBOperator.cs:行号 147
  在 OleDBOperator.CreateCmd(String SQL) 位置 c:\work\wwwroot\cedr\App_Code\OleDBOperator.cs:行号 159
  在 OleDBOperator.ExeScalar(String SQL) 位置 c:\work\wwwroot\cedr\App_Code\OleDBOperator.cs:行号 312

源错误:


行 314:        catch (Exception ee)
行 315:        {
行 316:            throw new Exception(SQL + ee.ToString());
行 317:        }
行 318:        finally

源文件: c:\work\wwwroot\cedr\App_Code\OleDBOperator.cs    行: 316

堆栈跟踪:


[Exception: select columnname from xs_column where depnumber='01' and columnnumber='08' System.Exception: 数据库连接失败,联系统管理员未指定的错误
   在 OleDBOperator.SetCmd(String SQL, CommandType cmdType) 位置 c:\work\wwwroot\cedr\App_Code\OleDBOperator.cs:行号 147
   在 OleDBOperator.CreateCmd(String SQL) 位置 c:\work\wwwroot\cedr\App_Code\OleDBOperator.cs:行号 159
   在 OleDBOperator.ExeScalar(String SQL) 位置 c:\work\wwwroot\cedr\App_Code\OleDBOperator.cs:行号 312]
   OleDBOperator.ExeScalar(String SQL) in c:\work\wwwroot\cedr\App_Code\OleDBOperator.cs:316
   consql.scr(String que) in c:\work\wwwroot\cedr\App_Code\consql.cs:68
   xwdt.Bind() in c:\work\wwwroot\cedr\xwdt.aspx.cs:49
   xwdt.Page_Load(Object sender, EventArgs e) in c:\work\wwwroot\cedr\xwdt.aspx.cs:15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
   System.Web.UI.Control.OnLoad(EventArgs e) +74
   System.Web.UI.Control.LoadRecursive() +120
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2846


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.36480