风讯官方论坛

首页 » FoosunCMS交流区 » dotNETCMS安装使用 » 安装过程到第四步,出现如下问题
haohao110 - 2008-7-24 14:15:00
抱歉!操作失败


操作描述:
  • System.ArgumentException: 从索引 0 处开始,初始化字符串的格式不符合规范。 在 System.Data.Common.DbConnectionOptions.GetKeyValuePair(String connectionString, Int32 currentPosition, StringBuilder buffer, Boolean useOdbcRules, String& keyname, String& keyvalue) 在 System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey) 在 System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules) 在 System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) 在 System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) 在 System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(String connectionString, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) 在 System.Data.SqlClient.SqlConnection.ConnectionString_Set(String value) 在 System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) 在 Foosun.DALProfile.DbHelper.ExecuteScalar(String connectionString, CommandType cmdType, String cmdText, DbParameter[] commandParameters) 位置 D:\dotNETCMS测试\send3333\Foosun.DALProfile\DbHelper.cs:行号 195 在 Foosun.DALProfile.DbHelper.ExecuteScalar(CommandType cmdType, String cmdText, DbParameter[] commandParameters) 位置 D:\dotNETCMS测试\send3333\Foosun.DALProfile\DbHelper.cs:行号 175 在 Foosun.SQLServerDAL.Install.InserAdmin(String UserName, String Password) 位置 D:\dotNETCMS测试\send3333\Foosun.SQLServerDAL\Install.cs:行号 17 在 Foosun.CMS.Install.InserAdmin(String UserName, String Password) 位置 D:\dotNETCMS测试\send3333\Foosun.CMS\Install.cs:行号 19 在 Foosun.Web.Install.step4.Button1_Click(Object sender, EventArgs e) 位置 D:\dotNETCMS测试\send3333\Foosun.Web\Install\step4.aspx.cs:行号 42 在 System.Web.UI.WebControls.Button.OnClick(EventArgs e) 在 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) 在 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  • 返回上一级
  • dotNETCMS v1.0sp1(r)  Help center  Forum

谢谢大家~!
jxspace - 2008-7-24 18:04:00
请查看一下数据库创建文件是否为只读.
haohao110 - 2008-7-25 21:30:00
先谢谢了!下个礼拜我测试一下
jxspace - 2008-7-25 22:41:00
不客气,欢迎常来.
haohao110 - 2008-7-29 15:50:00
应该是权限问题,我把iis的运行权限设置为administrators权限了
lovefs - 2008-7-29 17:11:00


引用:
原帖由 haohao110 于 2008-7-29 15:50:00 发表
应该是权限问题,我把iis的运行权限设置为administrators权限了

改成everyone可以就行了,~~~~~
haohao110 - 2008-7-30 14:45:00


引用:
原帖由 lovefs 于 2008-7-29 17:11:00 发表


引用:
原帖由 haohao110 于 2008-7-29 15:50:00 发表
应该是权限问题,我把iis的运行权限设置为administrators权限了

改成everyone可以就行了,~~~~~
你说的应该是把程序的权限设置为everyone吧,,这样做也会出现很多问题的。。:default16:
jxspace - 2008-7-30 18:13:00
你只需要把文件的只读去掉,然后再把USER用户给予以修改的权限.
1
查看完整版本: 安装过程到第四步,出现如下问题