?
Solved

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

Posted on 2010-08-25
3
Medium Priority
?
7,677 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
[X]
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
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 2000 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

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 we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

741 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