2
Answers

Help I got a strange problem

Administrator

Administrator

21y
1.6k
1
I got a weird problem that I hope can be fixed. Im creating an ASP.Net page which will allow users to create a game account for a Game Server that I'm planning to build within the following year. The game accounts will be stored on a database on my computer. I have already written a windows version of the Account manager which allows people to create/edit/or get a password reminder. The problem is that when I try to open an sqlConnection it gives the following error System.Data.SqlClient.SqlException: Login failed for user 'BRANDON\ASPNET'. at System.Data.SqlClient.SqlConection.Open() ... The connection strings for the windows version and the ASP.NET version are identical so what could be the problem. Here is what the connection string is for both versions this.m_sqlConnection.ConnectionString = "data source=(local)\\NetSDK;initial catalog=Game Server;integrated security=SSPI;persist security info=False;workstation id=BRANDON;packet size=4096"; Does anyone have any idea what could be causing this problem?!!
Answers (2)