I am working on asp.net web api, when I run my project on micro soft visual studio built in server every thing work fine, but when i host it on local iis server, I got the following error
The underlying provider failed on Open
I am using entity framework, my connection string in web.config is
<add name="Entities" connectionString="metadata=res://*/Models.School.csdl|res://*/Models.School.ssdl|res://*/Models.School.msl;provider=System.Data.SqlClient;provider connection string="data source=.\sqlexpress;initial catalog=DBName;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />