I am trying to perform an upgrade and in order to do so, I need to restore my production site on a local machine, upgrade the site and deploy back to production.
The process for restoring the site sounds straightforward but I think there are some steps/configurations I am still missing. This is what I have done so far:
- Downloaded the website files, saved them on local under C:\inetpub\wwwroot
- Downloaded the database full backup (.bak file) and restored it in MS SQL Server Management Studio
- Changed the Connection Strings to:
<connectionStrings>
<add connectionString="Data Source=MSSQLSERVER;Database=MyDatabaseName;Integrated Security=False;providerName="System.Data.SqlClient" dbType="MsSql" name="Sitefinity" />
</connectionStrings>
But that didn't do it and I am getting a Server Error in '/' Application Runtime error.
What did I miss? My first guess is the Connection String not being setup properly. Do I need User ID and Password in the string if the database in local?
If integrated security is false you should provide userId and password so that the app can connect to the sql server.
This is a good place to start: https://www.connectionstrings.com/