Hello All,
I have created two pages one is working fine but why I am getting the above error on my second page. I googled it and found solution that may be your machine.config doesn't have provider details in that, but one of my page is working fine. I can not understand what the problem is.
Following is my connection string in web.config:
<add name="GovPrjConnectionString" connectionString="Data Source=DDD\PR;Initial Catalog=abc;Persist Security Info=True;User ID=sa;Password=****" providerName="System.Data.SqlClient"/>
Thanx