Quantcast
Viewing all articles
Browse latest Browse all 4871

SQL 2008 R2 Windows Authentication no longer works after restoring script

Hello Spiceworks Community,

My SQL 2008 R2 Server no longer works with Windows Authentication. This issue started to appear after I have performed these steps:

* SQL Server has database A

* I have restored a backup of database A and created a new database but with a different name (for example: database A.1)

* I've used Generate Scripts option on database A.1

* I've used the following advanced settings when I've generated the script:

Image may be NSFW.
Clik here to view.

* Once the script was completed I've used SQLCMD to restore the script on database A

* The command used in SQLCMD was similar to the below example:

sqlcmd -S domain\SQL2008 -d Central -i D:\test\large.sql -U sa –P sqladmin

* The script didn't restored the database successfully (table does no exist errors were displayed in cmd)

* Tried to reconnect to SQL Management Studio using Windows Authentication and the...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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