Subby
Subby

Reputation: 5480

Kentico Forcing New Website

I have backed up the Kentico Database and website from one of our Live servers and placed it within our Dev server and configured the website in IIS.

When I navigate to the website, it currently asks for New installation.. Whereas it should just show me the current website.

How do I get it to show the website?

EDIT

The following error occurs when going ahead and creating a new instance with the restored Database:

enter image description here

Upvotes: 1

Views: 164

Answers (2)

jurajo
jurajo

Reputation: 995

Who or what is set as the DB objects owner/schema in the DB? Does this match the setting in Site Manager (or, CMS_SettingsKey table)? I would make sure these two match. Another option is that the connection string was not initialized by .Net - I would do a dummy change in the web.config file to force the app restart and/or also clearing the .Net cache.

Upvotes: 2

rocky
rocky

Reputation: 7696

Restore the backed up database and add database connection string to the web.config of the application. Simple as that :)

Upvotes: 2

Related Questions