Requested Database PR Does Not Have Provider Name in ASP.net
July 14 2014
If you may get an error same as below on image,
You need to check your database connection string in web.conf file
I have forgot to add parameter providerName="System.Data.SqlClient" on connectionString
<connectionStrings>
<add name="PR" connectionString="server=50.28.66.8;database=Rakesh2010_GlobalEducation;uid=RSakti_2010;pwd=rakesh2010;pooling=false" />
</connectionStrings>
Change to below format,
<connectionStrings>
<add name="PR" connectionString="server=50.28.66.8;database=Rakesh2010_GlobalEducation;uid=RSakti_2010;pwd=rakesh2010;pooling=false" />
</connectionStrings>
Once you have updated the web.config file save it.
Comments (0)