Connection string works in VS but in ISS getting exception : “The ConnectionString property has not been initialized.”
I am using ASP.NET Web API to read data from SQL Server. After publishing the API to IIS, I get this error:
I am using ASP.NET Web API to read data from SQL Server. After publishing the API to IIS, I get this error: