server error in '/' application.

不能打开数据库 ''。应用程序可能无法识别该数据库,或文件可能损坏。

description: an unhandled exception occurred during the execution of the current web request. please review the stack trace for more information about the error and where it originated in the code.

exception details: system.exception: 不能打开数据库 ''。应用程序可能无法识别该数据库,或文件可能损坏。

source error:

[no relevant source lines]

source file: c:\windows\microsoft.net\framework\v4.0.30319\temporary asp.net files\root\da4cb8a5\6c82f6ad\app_web_news_show.aspx.1165e6f5._sxkptj6.0.cs    line: 0

stack trace:

[exception: 不能打开数据库 ''。应用程序可能无法识别该数据库,或文件可能损坏。]  dtcms.dbutility.dbhelperoledb.query(string sqlstring) in d:\net\双中实验校源码\dtcms.dbutility\dbhelperoledb.cs:353  dtcms.dal.article.getgroupprice(int32 article_id) in d:\net\双中实验校源码\dtcms.dal\article.cs:1054  dtcms.dal.article.getmodel(int32 id) in d:\net\双中实验校源码\dtcms.dal\article.cs:848  dtcms.bll.article.getmodel(int32 id) in d:\net\双中实验校源码\dtcms.bll\article.cs:99  dtcms.web.ui.page.article_show.showpage() in d:\net\双中实验校源码\dtcms.web.ui\page\article_show.cs:32  dtcms.web.ui.basepage..ctor() in d:\net\双中实验校源码\dtcms.web.ui\basepage.cs:31  dtcms.web.ui.page.article_show..ctor() in d:\net\双中实验校源码\dtcms.web.ui\page\article_show.cs:14  asp.aspx_main_news_show_aspx..ctor() in c:\windows\microsoft.net\framework\v4.0.30319\temporary asp.net files\root\da4cb8a5\6c82f6ad\app_web_news_show.aspx.1165e6f5._sxkptj6.0.cs:0  __asp.fastobjectfactory_app_web_news_show_aspx_1165e6f5__sxkptj6.create_asp_aspx_main_news_show_aspx() in c:\windows\microsoft.net\framework\v4.0.30319\temporary asp.net files\root\da4cb8a5\6c82f6ad\app_web_news_show.aspx.1165e6f5._sxkptj6.1.cs:0  system.web.compilation.buildresultcompiledtype.createinstance() +30  system.web.compilation.buildmanager.createinstancefromvirtualpath(virtualpath virtualpath, type requiredbasetype, httpcontext context, boolean allowcrossapp) +100  system.web.ui.pagehandlerfactory.gethandlerhelper(httpcontext context, string requesttype, virtualpath virtualpath, string physicalpath) +31  system.web.ui.pagehandlerfactory.system.web.ihttphandlerfactory2.gethandler(httpcontext context, string requesttype, virtualpath virtualpath, string physicalpath) +64  system.web.httpapplication.maphttphandler(httpcontext context, string requesttype, virtualpath path, string pathtranslated, boolean useappconfig) +191  system.web.maphandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute() +145  system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) +155


version information: microsoft .net framework version:4.0.30319; asp.net version:4.0.30319.34209