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 129:line 130:	templatebuilder.append("\" class=\"aa\">" + utils.objecttostr(dr["title"]) + "</a>\r\n							<ul>\r\n								");line 131:	datatable dt2=get_category_child_list("news", utils.strtoint(utils.objecttostr(dr["id"]), 0));line 132:line 133:	foreach(datarow dr2 in dt2.rows)

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

stack trace:

[exception: 不能打开数据库 ''。应用程序可能无法识别该数据库,或文件可能损坏。]  dtcms.dbutility.dbhelperoledb.getsingle(string sqlstring, oledbparameter[] cmdparms) in d:\net\双中实验校源码\dtcms.dbutility\dbhelperoledb.cs:528  dtcms.dal.channel.getchannelid(string channel_name) in d:\net\双中实验校源码\dtcms.dal\channel.cs:576  dtcms.bll.channel.getchannelid(string channel_name) in d:\net\双中实验校源码\dtcms.bll\channel.cs:200  dtcms.bll.article_category.getchildlist(int32 parent_id, string channel_name) in d:\net\双中实验校源码\dtcms.bll\article_category.cs:94  dtcms.web.ui.basepage.get_category_child_list(string channel_name, int32 parent_id) in d:\net\双中实验校源码\dtcms.web.ui\label\category.cs:70  asp.aspx_main_news_show_aspx.oninit(eventargs e) in e:\学校网站\aspx\main\news_show.aspx:131  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