server error in '/' application.

不能打开数据库 ''。应用程序可能无法《to be》识别该数据库,或文件可能损坏。

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 17: 	stringbuilder templatebuilder=new stringbuilder(220000);line 18: 	templatebuilder.append("<!doctype html public \"-//w3c//dtd xhtml 1.0 transitional//en\" \"http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=gbk\" />\r\n");line 19: 	string category_title=get_category_title(model.category_id,"新闻资讯");line 20: line 21: 	templatebuilder.append("\r\n<title>");

source file: e:\学校《school》网站\aspx\main\news_show.aspx    line: 19

stack trace:

[exception: 不能打开数据库 ''。应用程序可能无法识别该数据库,或文件可能损坏。]  dtcms.dbutility.dbhelperoledb.getsingle(string sqlstring, oledbparameter[] cmdparms) in d:\net\双中实验校源码\dtcms.dbutility\dbhelperoledb.cs:528  dtcms.dbutility.dbhelperoledb.exists(string strsql, oledbparameter[] cmdparms) in d:\net\双中实验校源码\dtcms.dbutility\dbhelperoledb.cs:82  dtcms.dal.article_category.exists(int32 id) in d:\net\双中实验校源码\dtcms.dal\article_category.cs:34  dtcms.bll.article_category.exists(int32 id) in d:\net\双中实验校源码\dtcms.bll\article_category.cs:25  dtcms.web.ui.basepage.get_category_title(int32 category_id, string default_value) in d:\net\双中实验校源码\dtcms.web.ui\label\category.cs:18  asp.aspx_main_news_show_aspx.oninit(eventargs e) in e:\学校《school》网站\aspx\main\news_show.aspx:19  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