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 608:	templatebuilder.append(utils.objecttostr(cmodel.content));line 609:	templatebuilder.append("</div>\r\n        <div id=\"content_right_2_2\">\r\n        		<ul class=\"list\">\r\n  \r\n  ");line 610:	datatable news_list=get_article_list("news", category_id, page, "status=0", out totalcount, out pagelist, "news_list", category_id, "__id__");line 611:line 612:	templatebuilder.append("<!--取得一个分页datatable-->\r\n  ");

source file: e:\学校网站\aspx\main\news_list.aspx    line: 610

stack trace:

[exception: 不能打开数据库 ''。应用程序可能无法识别该数据库,或文件可能损坏。]  dtcms.dbutility.dbhelperoledb.query(string sqlstring) in d:\net\双中实验校源码\dtcms.dbutility\dbhelperoledb.cs:353  dtcms.dal.article.getlist(string channel_name, int32 category_id, int32 pagesize, int32 pageindex, string strwhere, string filedorder, int32& recordcount) in d:\net\双中实验校源码\dtcms.dal\article.cs:1023  dtcms.bll.article.getlist(string channel_name, int32 category_id, int32 pageindex, string strwhere, string filedorder, int32& recordcount, int32& pagesize) in d:\net\双中实验校源码\dtcms.bll\article.cs:151  dtcms.web.ui.basepage.get_article_list(string channel_name, int32 category_id, int32 page_index, string strwhere, int32& totalcount, string& pagelist, string _key, object[] _params) in d:\net\双中实验校源码\dtcms.web.ui\label\article.cs:83  asp.aspx_main_news_list_aspx.oninit(eventargs e) in e:\学校网站\aspx\main\news_list.aspx:610  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