C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config

There’s a connection string in the above file. By default it should be accessing SQL Express instance.

Change the <connectionStrings> tabe to something like this:

<connectionStrings>
 <add name=”LocalSqlServer” connectionString=”server=localhost;database=RiteMusic;uid=sa;pwd=pw” providerName=”System.Data.SqlClient” />
</connectionStrings>

or you can also do this in web.config file by removing the connection string and redefining it.

Advertisements