Installation and deployment
Version 7.x > Installation and deployment > Website not Recognised View modes: 
User avatar
Member
Member
usmaan.dad-controlf1.co - 5/16/2013 8:58:38 AM
   
Website not Recognised
I have copied the Database and the .Web contents of one of our live websites and pasted it into our Dev server.

After setting everything up and configuring IIS, when I navigate to the URL, Kentico's New Installation web-page pops up instead of the website that we created.

What could be the problem in this scenario?

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 5/16/2013 10:24:30 AM
   
RE:Website not Recognised
Did you change your connection strings in your web.config?

When you copied your code base, did you copy all the files?

Is there any custom .NET code or .dll's with your install?

When you navigate to your site instead of loading the default page, try going to http://www.yourdomain.com/CMSSiteManager/Default.aspx, typically you can log in without issue. You might also check the server event logs. You could also query the Kentico event log directly and see if there are any errors/issues being reported you can't see
select * 
from CMS_EventLog
order by EventTime desc

User avatar
Member
Member
usmaan.dad-controlf1.co - 5/16/2013 10:45:12 AM
   
RE:Website not Recognised
Hi, yes. I changed the connection string, I copied all of the files including all of the CMS folders and the bin folder.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 5/17/2013 1:06:32 AM
   
RE:Website not Recognised
Hi,

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)?
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.

Best regards,
Juraj Ondrus

User avatar
Member
Member
usmaan.dad-controlf1.co - 5/17/2013 2:43:55 AM
   
RE:Website not Recognised
I have made dummy changes to the web.config but the error is still present, i.e. Kentico isn't recognising the restored database.

After attempting to connect to an existing database via the installation process, the following error occured:

User avatar
Member
Member
usmaan.dad-controlf1.co - 5/17/2013 2:58:44 AM
   
RE:Website not Recognised
Image is here: User image

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 5/17/2013 3:31:27 AM
   
RE:Website not Recognised
Hi,

what about the owner/schema settings for given DB? If they are different, the application does not see the objects in the DB.

Best regards,
Juraj Ondrus