This project is read-only.

"Invalid object name" error

Topics: ASP.NET 2.0
Feb 10, 2010 at 5:00 PM

Hi to everyone,

I run BlogEngine with XML content without any problems.

Now I am trying to run it with defaultProvider="DbBlogProvider", but I'm getting the following error:


Server Error in '/BlogEngine' Application.

Invalid object name 'be_Settings'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'be_Settings'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

[stack trace log]


I deleted all the files, and uploaded a clean installation but without any success.

Any ideas on the error? Maybe some SQL needs to be executed first?

Thank you anyway :)


Feb 10, 2010 at 10:48 PM

Yes, there's a SQL script in the Setup\SQLServer folder (or Setup\MySql if you're using MySql) that needs to be executed to create the tables and put in some initial data.

Feb 11, 2010 at 7:10 PM

Everything is OK now :)

Thank you