Solved

restore MS SQL Server backup error - specified cast is not valid (SqlManagerUI)

Posted on 2010-08-25
3
7,508 Views
Last Modified: 2012-08-13
I'm trying to restore a backup into a blank database i.e. no tables. I get the following error

Specified cast is not valid (SqlManagerUI)

Is this because there are no tables in the database?
0
Comment
Question by:gerrymac1943
3 Comments
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 33522482
Try applying SQL Server 2008 SP1 which might help sometimes.
As a faster fix, try restoring backup directly using TSQL statement which would work:

http://social.msdn.microsoft.com/Forums/en/sqldisasterrecovery/thread/9f29c16b-d783-406e-94f2-22720b8993b4
0
 
LVL 7

Accepted Solution

by:
lundnak earned 500 total points
ID: 33525003
SSMS is causing the issue.

Instead of hitting OK in the input window, click the Script Action to New Query Window button in the upper left hand corner of the window.

Try running this script from the command link instead.
0
 

Author Closing Comment

by:gerrymac1943
ID: 33590358
thanks
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

After restoring a Microsoft SQL Server database (.bak) from backup or attaching .mdf file, you may run into "Error '15023' User or role already exists in the current database" when you use the "User Mapping" SQL Management Studio functionality to al…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now