Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN Restore IssueDNN Restore Issue
Previous
 
Next
New Post
6/27/2015 5:09 PM
 

I'm currently having an issue restoring a backup of a DotNetNuke site. I have the .bak file. Using Microsoft SQL Server Management Studio 2014, I try to restore the .bak file to a database. However, a message remains at the top of the window: "No backupset selected to be restored." When I attempt to check the contents of the .bak, I receive the following error: "Object cannot be cast from DBNull to other types. (mscorlib)"

After doing some research, the most common cause of this error is attempting to restore a newer version of SQL to an older version of SQL. The problem is that I am using SQL Server 2014, so this certainly cannot be the issue. Please help!!!

 
New Post
6/27/2015 8:48 PM
 

You may have a corrupted backup or hit a glitch in the restore software.   I think this link might be worth looking at if you have not already.  It seems to offer a TSQL solution if it's a version compatibility problem.  

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/2a812631-fb93-414c-aa9b-97198f07f376/restoring-database-from-bak-error-object-cannot-be-cast-from-dbnull?forum=sqldisasterrecovery

 
New Post
6/28/2015 10:05 AM
 
Also, be aware that SQL Server does not just look at the product Major Version, but also the build number - you should try to apply latest Service pack and eventually Cummulative Upgrade package.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN Restore IssueDNN Restore Issue


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out