![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have attached to an MDF file through my SQL 2000 enterprise manager. I fyou click on Users for this database in the MMC you see the following: Name Login Name DataBase Access --------- ------------------ -------------------------- Administrator permit d_xxxxx permit dbo sa permit When I run my web application through my com+ object I am getting the following error [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'd_xxxxx' The question is why there is no login name for d_xxxxx user? does it have a significance? I am new to this and I do not see anywhere in the web application where I can set the password. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thank you very much for your great post. It was quite informative. as you mentioned I detached and copy the MDF file to the new machine and attached it. I have read the documents and I am still a bit confused. I have removed d_xxxxx from the users in the instance. Then I have added d_xxxx in the logins in master. Then I have changed the d_xxxx server roles to System Administrators and have assigned the database access with the roles public and db_owner for the database. Is this the wrong process? Currenlty under logins I have d_xxxxx as user and under users in the instace I have: Name Login Name DataBase Access --------- ------------------ ------------------------- d_xxxx d_xxxx permit I still get login failed for user d_xxxx. Can this be just a case of bad password? |
![]() |
| Thread Tools | |
| Display Modes | |
| |