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 505:line 506:	templatebuilder.append("\r\n												<!--子类-->\r\n												");line 507:	datatable lmlb=get_category_child_list("news", top_id);line 508:line 509:	foreach(datarow dr2 in lmlb.rows)

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

stack trace:

[exception: 数据库被用户 '' 使用计算机 '' 置为锁定或不能打开的状态。]  dtcms.dbutility.dbhelperoledb.query(string sqlstring) in d:\net\双中实验校源码\dtcms.dbutility\dbhelperoledb.cs:353  dtcms.dal.article_category.getchildlist(int32 parent_id, int32 channel_id) in d:\net\双中实验校源码\dtcms.dal\article_category.cs:511  dtcms.bll.article_category.getchildlist(int32 parent_id, string channel_name) in d:\net\双中实验校源码\dtcms.bll\article_category.cs:95  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_list_aspx.oninit(eventargs e) in e:\学校网站\aspx\main\news_list.aspx:507  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