尝试设置Orchard CMS项目时出现错误消息

时间:2013-06-26 10:21:53

标签: orchardcms orchardcms-1.6

从基于网络的“使用入门”页面,使用带有此连接字符串的SQL Server Express(这是正确的):

Data Source=.;Integrated Security=True;Initial Catalog=Orchard

数据库存在&是空白的。

我收到此错误:

Setup failed: An exception was thrown while invoking the constructor 'Void .ctor(Orchard.Environment.Configuration.ShellSettings, Orchard.Data.ISessionFactoryHolder)' on type 'SqlCeCommandInterpreter'.

我只是按照O'Reilly的书“Orchard CMS启动并运行”中的教程。

我该如何解决这个问题?

2 个答案:

答案 0 :(得分:1)

您的数据源可能应为.\SQLExpress,因为这是您安装时的默认实例

另外 - 看起来您选择了“使用内置存储”选项“ - 因为它抱怨SQLCe。如果您想使用SQL Express,您需要选择”使用现有的SQL Server,SQL Express数据库“< / p>

您可以查看http://www.connectionstrings.com/以验证字符串的其他详细信息

答案 1 :(得分:0)

对我来说,事实证明我的连接字符串不完整。我实际上并没有复制整件事

相关问题