I have an ASP.NET application and it's working fine with Visual Studio IDE. I installed IIS and added a virtual directory. Now I get an error "login fail for user domain\computer name".
My connection string which is still working fine in ide run:
<add name="cricConnectionString"
connectionString="Data Source=AMDKLAPTOP031\RAMDEV;Initial Catalog=cric;Integrated Security=True"
providerName="System.Data.SqlClient" />
but I get an error when its run using IIS:
System.Data.SqlClient.SqlException: Login failed for user domain\computername$
When I tried to add new login in SQL Server, it can't find domain\computername shown in the error. domain\computername is not a valid name because it contains invalid characters. Error code is 15006