cant connect to sql2000 db.  login failed for user - this is a new domain install upgrade from workgroup

Posted on 2007-03-23
Last Modified: 2008-02-01
We just moved our sql 2000 database to a new server, new instance of sql and migrated from a workgroup to a domain.  I went into the workstation, xp-pro, and in admistrative tools, data sources, and changed the database location to the new instance of sql. the connectivity test there succeeded (but not on antoher machine for reasons i dont understand).  now, when in crystal reports, trying to access the databse (the database is fine, working and accessed by everyone on the timematters system we use) I get the following: Logon failed.  Details ado error code :0x80040e4d Source: Microsoft OLE DB Provider for sql server Description Login Failed for user “tm7user” sql state : 42000  Native Error: 18456 (database vendor code: 18456)   What can i check to fix this?  the new sql instance is the default, local instance and all users are domain users in the new domain.
thanks, experts
Question by:195ecentralave
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 101

Expert Comment

ID: 18779933
DId you open the reports and change the dtat source?

How are you running the reports?

LVL 25

Expert Comment

ID: 18779961
Transfering databases to another server could orphin the users.

Check out doc about sp_change_users_login.
LVL 16

Accepted Solution

rboyd56 earned 250 total points
ID: 18780469
This error indicates that the login information is incorrect:

Login Failed for user “tm7user”

Either the login does not exist or the password is wrong. Verify that the login exists in SQL Server. This is a standard SQL login, not an NT authentication.

Also check to see if SQL Server is set for mixed authentication. If it is set for NT only then SQL authenticated connections will fail. You can check this under the properties of the SQL Server instance under the Security tab in Enterprise Manager

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users


Author Comment

ID: 18785345
mlmcc, how do i change the data source in the report?
LVL 101

Assisted Solution

mlmcc earned 250 total points
ID: 18785879
To change the data source
Open the report in Crystal
Follow the prompts


Author Comment

ID: 18786057
I also had to change all the login info, as suggested by rboyd 56, so it really took two answers.
LVL 101

Expert Comment

ID: 18786406
Glad i could help


Featured Post

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question