Umbraco 4.0 安装“数据库初始化失败”
我正在尝试使用 SQL Express 建立 Umbraco 的本地实例。我在设置站点、创建数据库和编辑 webconfig 文件方面了解了这个过程。
管理进入设置 Umbraco 4.0 的第三阶段,它加载到 5%,然后我收到此错误:
“数据库初始化失败”
我在 SQL 中打开了混合身份验证,在 Web 配置中三次检查了我的数据库路径,但仍然无法将其访问连接。
Umbraco 似乎在连接服务器时遇到了问题,但实际上,对于这样的事情,它可能是任何事情。
欢迎所有建议!
谢谢
I am trying to st up a local instance of Umbraco using SQL Express. I know this procedure backwards in terms of setting up the site, creating the database and editing the webconfig file.
Manage get to stage three of setting up Umbraco 4.0 and it loads to 5% then I get this error:
"Database initialization failed"
I have mixed authentication turned on within SQL, triple checked my database path within the webconfig and still cannot get it to connect.
It seems as though Umbraco is having trouble connecting to the server but really with things like this it could be anything.
All suggestions welcome!
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
你的连接字符串是什么样的?如果它是 SQL Express 的默认实例,请确保连接字符串的数据源引用实例名称。尝试.\SQLEXPRESS 或 localhost\SQLEXPRESS。
What does your connection string look like? If it is the default instance of SQL Express make sure the connection string's data source is referencing the instance name. Try.\SQLEXPRESS or localhost\SQLEXPRESS.
经过对各种论坛的大量搜索后,我认为这可能是由于缺乏对 web.config 文件和其余文件的写入权限。由于用户将在安装时选择很多值,因此安装程序必须对 web.config 文件进行更改。但如果您看到整个文件夹结构的权限为只读。
我被困在这里..无法更改写入的只读权限..
任何建议将不胜感激
After lot of searching through various forums , i am thinking it could be due to the lack of write permissions to the web.config file and the rest of files. Because the user is going to choose a lot of values at install time the installer must make changes to the web.config file. But if you see the permissions for the entire folder structure its READ ONLY.
I'm stuck here.. Cannot change the read-only permission to write..
any suggestions will be appreciated
要解决此错误,我们需要更改 umbracoDbDSN 值。
当我们尝试安装 Umbraco 时,可能会出现以下错误“数据库连接初始化失败”。
此错误表明 Sql 服务器未连接。如果您有正确的凭据,则只需将其添加到 Umbraco 的 Web.Config 中即可。
输入 umbracoDbDSN 的值
,现在数据库将成功安装。
解决方案资源:http://xpode.com/ShowArticle.aspx?ArticleId=608
To solve this error we need to change umbracoDbDSN value.
When we try to install Umbraco, can get following error "Database connection initialisation failed."
This error shows that Sql server is not connecting. If you have right credentials then just add those in Web.Config of Umbraco.
Enter value of umbracoDbDSN
Now Database will install successfully.
Solution resource: http://xpode.com/ShowArticle.aspx?ArticleId=608
我找到了数据库初始化 5% 问题的解决方案。
尝试在 Chrome 浏览器中从 WebMatrix 运行解决方案。
经过几个小时的努力,尝试了以下所有操作:
1)将 Umbraco 文件夹设置为 IIS_users - 读/写/修改权限
2)创建数据库用户-DBOwner/DBWriter/DBReader
当问题仍然存在时,我在Chrome(而不是IE9)中打开Umbraco网站,发现它完成了数据库初始化。
祝你好运..巴斯卡
I found solution for database initialization 5% struck issue.
Try to run solution within Chrome browser from WebMatrix.
After struggling many hours, tryingout all the below:
1) Make the Umbraco folder IIS_users - read/write/modify permissions
2) Make the database user - DBOwner/DBWriter/DBReader
When the problem still persisted, I opened the Umbraco site in Chrome(instead of IE9) and realized that it completed database initialization.
Good Luck..Bhaskar