Possible Duplicate:
Connecting to Database mdf without SQL Server
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.
I'm running SQL Server 2005 Express.
I gave all the permissions needed to run this.
But when I try to query the database I get this error:
*Cannot open database "gateway" requested by the login. The login failed.
11-28 15:22:58.464: W/System.err(762): Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.
This is my connection string:
<add name="gatewayConnectionString"
connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=gateway;Integrated Security=True"
providerName="System.Data.SqlClient"/>