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:

line 560:line 561:	templatebuilder.append("\r\n  <div class=\"nearnews\">\r\n   <div class=\"prevnews\">\r\n  上一条:");line 562:	templatebuilder.append(get_prevandnext_article("news_show", -1, "没有啦!", 0).tostring());line 563:line 564:	templatebuilder.append("\r\n   </div>\r\n   <div class=\"nextnews\">\r\n  下一条:");

source file: e:\学校网站\aspx\main\news_show.aspx    line: 562

stack trace:

[exception: 不能打开数据库 ''。应用程序可能无法识别该数据库,或文件可能损坏。]  dtcms.dbutility.dbhelperoledb.query(string sqlstring) in d:\net\双中实验校源码\dtcms.dbutility\dbhelperoledb.cs:353  dtcms.dal.article.getlist(int32 top, string strwhere, string filedorder) in d:\net\双中实验校源码\dtcms.dal\article.cs:896  dtcms.bll.article.getlist(int32 top, string strwhere, string filedorder) in d:\net\双中实验校源码\dtcms.bll\article.cs:115  dtcms.web.ui.page.article_show.get_prevandnext_article(string urlkey, int32 type, string defaultvalue, int32 callindex) in d:\net\双中实验校源码\dtcms.web.ui\page\article_show.cs:71  asp.aspx_main_news_show_aspx.oninit(eventargs e) in e:\学校网站\aspx\main\news_show.aspx:562  system.web.ui.control.initrecursive(control namingcontainer) +134  system.web.ui.page.processrequestmain(boolean includestagesbeforeasyncpoint, boolean includestagesafterasyncpoint) +489


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