源码信息

最新源码评论

  • 评论者:yuqingpp
    yuqingpp(用户) 发表于:2008-04-01 11:33:00

    “/”应用程序中的服务器错误。 <i>对象名 'My_Config' 无效。</i> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"><b>说明: </b>执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 <br/><br/><b>异常详细信息: </b>System.Data.SqlClient.SqlException: 对象名 'My_Config' 无效。<br/><br/><b>源错误:</b> <br/><br/><table class="t_table" cellspacing="1" cellpadding="4" style="width:98%;background: #ffffcc;"><tr><td>行 52:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public DataSet GetDataSet()行 53:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<font color="red">行 54:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return dal.GetDataSet();</font>行 55:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }行 56: </td></tr></table><br/><b><font face="Verdana">源文件: </font></b>E:\MyShop\BLL\Config.cs<b><font face="Verdana">&nbsp;&nbsp;&nbsp;&nbsp;行: </font></b>54 <br/><br/><b><font face="Verdana">堆栈跟踪:</font></b> <br/><br/><table class="t_table" cellspacing="1" cellpadding="4" style="width:98%;background: #ffffcc;"><tr><td>[SqlException (0x80131904): 对象名 'My_Config' 无效。]&nbsp;&nbsp; MyShop.SQLServerDAL.Config.GetDataSet() +128&nbsp;&nbsp; MyShop.BLL.Config.GetDataSet() in E:\MyShop\BLL\Config.cs:54&nbsp;&nbsp; MyShop.BLL.Config.GetModel() in E:\MyShop\BLL\Config.cs:131&nbsp;&nbsp; BasePage.AddCongigCache() in e:\myshop\web\App_Code\BasePage.cs:406&nbsp;&nbsp; BasePage..ctor() in e:\myshop\web\App_Code\BasePage.cs:88&nbsp;&nbsp; index..ctor() +23&nbsp;&nbsp; ASP.index_aspx..ctor() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\28eea597\40f20b13\App_Web_ms9lvxtb.8.cs:0&nbsp;&nbsp; __ASP.FastObjectFactory_app_web_ms9lvxtb.Create_ASP_index_aspx() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\28eea597\40f20b13\App_Web_ms9lvxtb.12.cs:0&nbsp;&nbsp; System.Web.Compilation.BuildResultCompiledType.CreateInstance() +49&nbsp;&nbsp; System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +115&nbsp;&nbsp; System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31&nbsp;&nbsp; System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40&nbsp;&nbsp; System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139&nbsp;&nbsp; System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120&nbsp;&nbsp; System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +155</td></tr></table></font>

    2 个回复
    • 回复者:微尘的爱
      微尘的爱(用户)回复于:2008-04-01 15:41:00

      建议使用IIS6 用windows2003 server

    • 回复者:yuqingpp
      yuqingpp(用户)回复于:2008-04-02 14:59:00

      恩,谢谢。看来只能重装系统了。