In this Article, I have Describe how to resolve network path not found in asp.net mvc. Already I solved this kind of problem when I go through the project I have faced like this. This was solved by changing connection string in web.config file.
In runtime its shows the underlying provider failed to open problem while I build the project. Kindly provide valid sql server connection.
<connectionStrings>
<addname="models" connectionString="metadata=res://*/Models.Shopping.csdl|res://*/Models.Shopping.ssdl|res://*/Models.Shopping.msl;provider=System.Data.SqlClient;providerconnection string="data source=*****;initialcatalog=****;persist security info=True;user id=sa;password=****;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
</connectionStrings>
Post your comments / questions
Recent Article
- How to use if else statement in c++?
- How to use godaddy domain name with another godaddy hosting account?
- Restore of database 'DATABASE' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)
- How to programmatically modifying the AppSetting value in web.config using c#?
- TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
- How to calculate the age from jQuery ui datepicker using c#?
- How to calculate days difference between two dates in c#?
- Changing date format in jQuery ui datepicker
Related Article