Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server validating user in the wrong database

Status
Not open for further replies.

derren

Programmer
Mar 22, 2001
500
GB
User myusername is not a valid user in the database not_the_database_I_am_connecting_to"

Here's a frustrating one: I have a new webhost with SQL server 2000 running my database. I have always used a DTS package to backup the database to my local SQL 2000 using "copy objects and data" as I am restricted from doing anything else.

However, when connecting to the remote database in Enterprise Manager the server connects but lists no databases, unless I am lucky when it lists them every now and then. When trying to run a saved DTS package It errors but the error is

"User myusername is not a valid user in the database notthedatabaseIamconnectingto"

And I get this sometimes when I try to edit a SP in query analyzer.

Has anyone come across this before?

Derren
[Mediocre talent - spread really thin]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top