I am using
VB.Net, and MSSQL 7.0 (not 100% sure about the sql server)
Ok, so I fixed this once before by add "<identity impersonate="true"/>" to my web.config file.
Now, I am able do everything from my computer (which happens to be the web server were
VB.Net is). But I get the "Login failed for user '(null)'" error from any other computer?!?
How would it be possible that everything works from one computer, and not another. I wouldn't be so confused if it was just other users who don't have access, but it's also me.
Here is the connection string I am using (don't know how much help it will be):
Dim cmdSelect As New SqlClient.SqlCommand(strSQL, New SqlClient.SqlConnection("server=dev-cite;database=LOGSPR;Trusted_Connection=True"))
cmdSelect.CommandType = CommandType.StoredProcedure
cmdSelect.Parameters.Add("@order_by", qsSort)
cmdSelect.Parameters.Add("@selected", selectvalue)
There is supposed to be a single group set up that has access to the stored procedures, which run on the tables, but even before I gave the group access to the stored procedures, I was able to run everything just fine (from the 1 computer). I'm guessing that's because I'm the owner of the db. Any help would be greatly appreciated. Thanks!