Restoring a .bak file to a SQL Server database
This is for my own benefit… when restoring a .bak file to a SQL Server database where the .bak file was not originally backed up from, right click –> All Tasks –> Restore Database –> From device –> Select Devices –> Add your .bak file. Click OK. Click the Options tab. Now on the left side you should see the Logical file name of the database from the .bak file. On the right side under the lable ‘Move to physical file name’, should be the path that the .bak file originally existed as. This field needs to be changed to the path & file name of the database you’re restoring too. After modifying those two fields, check the ‘Force restore over existing database’ and click ‘OK’.
Tuesday, March 20, 2012
Thursday, December 09, 2010
Wednesday, May 12, 2010
Friday, February 05, 2010
Friday, October 30, 2009
Thursday, October 08, 2009
My test project will not build and it indicates that the proper reference is not set. So where is "Microsoft.VisualStudio.QualityTools.UnitTestFrameWork.dll" and how do I get it? You already have it.
...%VSINSTALLDIR%\Common7\IDE\PublicAssemblies
Add the reference to the bin directory and you're all set.
...%VSINSTALLDIR%\Common7\IDE\PublicAssemblies
Add the reference to the bin directory and you're all set.
Tuesday, October 06, 2009
If you get this error message "Only one instance of a ScriptManager can be added to the page.", make sure you have a .aspx page set as "start page" before wasting a lot of valuable time searching for an answer. I unfortunately did waste the time to look up the error with no one knowing the cause.
At first glance, it appears that you put a "ScriptManager" control on two pages like master page as well as .aspx page. After seaching high and low, I figured out the problem. Cheers!
At first glance, it appears that you put a "ScriptManager" control on two pages like master page as well as .aspx page. After seaching high and low, I figured out the problem. Cheers!
Subscribe to:
Posts (Atom)