G
Guest
Hello All,
I'm trying to connect to a SQL server, on my domain. During my
troubleshooting I came across this error.
""Cannot open database requested in login 'IMSmidwest'. Login fails. Login
failed for user 'LOCALHOST\ASPNET'.""
Just a quick explantion of what I got going on, basicly for troubleshooting.
My DB 'IMSmidwest' in on my Domain server, Domain name STMBL, server name
SBSERVER.
My DB on my developer computer is called 'IMS' on my computer name
LOCALHOST, on the same domain. Both DB's are exact.
My original problem is when I change my connection string to look at
SBSERVER, it tells me "USER (null) NOT A TRUSTED SQL CONNECTION", something
like that.
So for the error that I have now, IMSmidwest makes sence, because that is
the database on my domain computer, but I put down the server as Localhost.
But for user LOCALHOST\ASPNET, I do have that user, but how does that get
changed. I did make a user to have access to both SQL servers, but how can I
change a user when I'm testing my application, so I can connect to the other
SQL server.
My localhost cpu was only for developing my website, but now I want to
launch the website, but I want to use SQL on the domain. I didn't think this
would be a big deal to move my database to another server, and change my
connection strings, but I guess I was wrong.
Am I approaching this all wrong, should have I always worked with the SQL
server I intended to use for the website. If somebody can point me in the
right direction or some kind of how to move your DB to another server.
I think my problem is just a permmision thing, and not actually connecting.
Thanks as always!
Rudy
I'm trying to connect to a SQL server, on my domain. During my
troubleshooting I came across this error.
""Cannot open database requested in login 'IMSmidwest'. Login fails. Login
failed for user 'LOCALHOST\ASPNET'.""
Just a quick explantion of what I got going on, basicly for troubleshooting.
My DB 'IMSmidwest' in on my Domain server, Domain name STMBL, server name
SBSERVER.
My DB on my developer computer is called 'IMS' on my computer name
LOCALHOST, on the same domain. Both DB's are exact.
My original problem is when I change my connection string to look at
SBSERVER, it tells me "USER (null) NOT A TRUSTED SQL CONNECTION", something
like that.
So for the error that I have now, IMSmidwest makes sence, because that is
the database on my domain computer, but I put down the server as Localhost.
But for user LOCALHOST\ASPNET, I do have that user, but how does that get
changed. I did make a user to have access to both SQL servers, but how can I
change a user when I'm testing my application, so I can connect to the other
SQL server.
My localhost cpu was only for developing my website, but now I want to
launch the website, but I want to use SQL on the domain. I didn't think this
would be a big deal to move my database to another server, and change my
connection strings, but I guess I was wrong.
Am I approaching this all wrong, should have I always worked with the SQL
server I intended to use for the website. If somebody can point me in the
right direction or some kind of how to move your DB to another server.
I think my problem is just a permmision thing, and not actually connecting.
Thanks as always!
Rudy