I have a simple web service that working and queries a simple .mdf
database.
I'm using IIS and making it an working application.
I can activate every function on this web service from anywhere.
But when I try to query the database I get this error:
System.Data.SqlClient.SqlException (0x80131904): Cannot open database "gateway" requested by the login. The login failed.
11-27 21:32:01.437: W/System.err(765): Login failed for user 'IIS APPPOOL\masn'.
My connection string is:
<add name="gatewayConnectionString"
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=gateway;Integrated Security=True"
providerName="System.Data.SqlClient"/>
So how can I make it work? Change my connection string? Change permissions somewhere?