I have a MVC Application ,it is my connection string.
<add name="BehkamContext" connectionString="Data Source=.;Initial Catalog=Behkam;Integrated Security=True;MultipleActiveResultSets=true" providerName="System.Data.SqlClient" />
Working with my project in debug I have no issues. However running it in IIS I am getting this error:
Cannot open database "Behkam" requested by the login. The login failed. Login failed for user 'WORKGROUP\DESKTOP-TFB5NSL$'.
I use <authentication mode="Windows"/> but get error.
I set Integrated Security=SSPI in connection sting but get error.