Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 5760

Login failed for the user 'abc' reason: failed to open the explicitly specified database

$
0
0

Hello

I have created a backup of the blank database (empty tables, no data) on my system and copied the same to another system. I am using this database in my .net application when the user wants to create an new database.

To do so i am restoring the blank database to a new database. The restore is being done successfully but  when i am trying to login i get an error as 'Login failed for the user 'abc' reason: failed to open the explicitly specified database'

I dont get this error on my system. The user 'abc' exists on the client system as well.

In the client's system i have noticed that the user doesn't have mapping for the database, but i my system the user is assigned as owner of the database when the database is created.

plz help


Viewing all articles
Browse latest Browse all 5760

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>