问题描述:

From the web based 'Get Started' page, using SQL Server Express with this connection string (it is correct):

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

The database exists & is blank.

I get this error:

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

I am just following the tutorial in the O'Reilly book 'Orchard CMS up and running'.

How can I fix this?

网友答案:

Your Data source should likely be .\SQLExpress as this is the default instance if you install it

Also - it looks like you selected the "Use built in storage" option" - as it is complaining about SQLCe. If you want to use SQL express you need to choose "Use an existing SQL Server, SQL Express database"

you can look on http://www.connectionstrings.com/ to verify other details of the string

相关阅读:
Top