'GenericADOException: could not execute query' when trying to run Orchard CMS for the first time

206 Views Asked by At

I opened Orchard CMS 1.9.2 (solution) in Visual Studio 2017 (Community version), compiled it, set the "Orchard.Web" as a Startup Project in the Properties of the solution and then pressed F5 to start debugging in Firefox 58.0.1 (64-bit). The browser gave me HTTP 404 Error and in Orchard's log I've found this (written three times):

... Orchard.Environment.DefaultOrchardHost - (null)
- A tenant could not be started: Default
NHibernate.Exceptions.GenericADOException: could not execute query
[ select shelldescr0_.Id as Id7_, shelldescr0_.SerialNumber
as SerialNu2_7_ from dbo_Settings_ShellDescriptorRecord shelldescr0_ where > shelldescr0_.Id is not null ]
[SQL: select shelldescr0_.Id as Id7_, shelldescr0_.SerialNumber
as SerialNu2_7_ from dbo_Settings_ShellDescriptorRecord shelldescr0_ where > shelldescr0_.Id is not null] ---> System.Data.SqlClient.SqlException: >
Invalid object name 'dbo_Settings_ShellDescriptorRecord'.
in Orchard.Environment.DefaultOrchardHost. >
b__31_1(ShellSettings settings) in D:\...

How to run it successfully to get to the first page where I setup the database connection etc.?

0

There are 0 best solutions below