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 482:line 483:	templatebuilder.append("\r\n<!--/header-->\r\n");line 484:	string category_nav=get_category_menu("news_list", model.category_id);line 485:line 486:	templatebuilder.append("\r\n <div id=\"postion\"><a href=\"default.aspx\">首页</a> &gt; <a href=\"/\">学校主站</a>");

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

stack trace:

[exception: 不能打开数据库 ''。应用程序可能无法识别该数据库,或文件可能损坏。]  dtcms.dbutility.dbhelperoledb.getsingle(string sqlstring) in d:\net\双中实验校源码\dtcms.dbutility\dbhelperoledb.cs:279  dtcms.dal.article_category.gettitle(int32 id) in d:\net\双中实验校源码\dtcms.dal\article_category.cs:45  dtcms.bll.article_category.gettitle(int32 id) in d:\net\双中实验校源码\dtcms.bll\article_category.cs:33  dtcms.web.ui.basepage.loopchannelmenu(stringbuilder strtxt, string urlkey, int32 category_id) in d:\net\双中实验校源码\dtcms.web.ui\label\category.cs:85  dtcms.web.ui.basepage.get_category_menu(string urlkey, int32 category_id) in d:\net\双中实验校源码\dtcms.web.ui\label\category.cs:46  asp.aspx_main_news_show_aspx.oninit(eventargs e) in e:\学校网站\aspx\main\news_show.aspx:484  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