怎么解决'不支持关键词datebase'这个问题
2009-03-19 16:46
288 查看
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。异常详细信息: System.ArgumentException: 不支持关键字: “datebasename”。源错误:
源文件: D:/MyStudy/MyBlog/DAL/DBHelper.cs 行: 20堆栈跟踪:
版本信息: Microsoft .NET Framework 版本:2.0.50727.42; ASP.NET 版本:2.0.50727.42
行 18: if (connection == null)行 19: {行 20: connection = new SqlConnection(SqlConnectionString);行 21: connection.Open();行 22: } |
[ArgumentException: 不支持关键字: “datebasename”。]System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) +417System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules) +99System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) +52System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) +25System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) +141System.Data.SqlClient.SqlConnection.ConnectionString_Set(String value) +38System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) +4System.Data.SqlClient.SqlConnection..ctor(String connectionString) +21DAL.DBHelper.get_Connection() in D:/MyStudy/MyBlog/DAL/DBHelper.cs:20DAL.DBHelper.ExecuteCommand(String sql, SqlParameter[] param) in D:/MyStudy/MyBlog/DAL/DBHelper.cs:45DAL.userinfoserver.addRegister(Userinfo userinfo) in D:/MyStudy/MyBlog/DAL/userinfoserver.cs:16BLL.userinfoManager.adduser(Userinfo userinfo) in D:/MyStudy/MyBlog/BLL/userinfoManager.cs:13Register.button1_Click(Object sender, EventArgs e) in d:/MyStudy/MyBlog/BlogWeb/Register.aspx.cs:28System.Web.UI.WebControls.Button.OnClick(EventArgs e) +75System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +97System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4921 |
相关文章推荐
- 怎么解决这个问题“The connection to adb is down, and a severe error has occured”
- 当前自定义错误设置禁止远程查看应用程序错误的详细信息,这个问题怎么解决啊
- 为什么游戏完成度不高?怎么解决这个问题?
- 解决IE浏览器中javascript,js不支持NEW DATE()带参数的问题
- .net问题:尝试打开web项目,web服务器报告以下错误:http/1.1 500 Internal server error,请问该怎么解决这个问题??
- 解决 “VS2005 这个产品的配置数据已损坏。请与技术支持人员联系”不能部署的问题
- mysql安装不上怎么办 mysql安装失败原因和解决方法--这个问题,我遇到过,还蛮好用的 - 保留
- 启动tomcat这个问题怎么解决????
- JS代码获取当前日期时支持IE,不兼容FF和chrome,解决这个问题,我们需要把获取时间的getYear()函数换成getFullYear()
- 这个问题怎么解决
- 苹果不允许 iOS 应用内置购买(IAP)使用第三方支付方式,那么跨平台的支付怎么解决这个问题?
- ie8 不支持new Date(2012-11-10)问题的解决方法
- android studio 安装时,出现这个问题,该怎么解决?
- 说不能确认服务器完全确认域名 localhost.localdoman 这个问题怎么解决
- 这个问题要怎么解决?
- 自定义对话框顶部两角出现黑线,底部正常,这个问题怎么解决?求大神赐教~~
- Java里面是怎么解决没有链表这个问题的啊?
- android的键盘隐藏,之前都没怎么在意这个问题,现在解决一下
- 兼容IE8的js格式化日期方法,解决ie8不支持Date()的问题
- 求助 3ds max模型导入vrp的问题 求大神指教 等 这个问题大家有遇到过吗 应该怎么解决啊