Moving database from mssql server 2008 R2 to mssql server 2012
Dear Guru!
I am trying to move a database from mssql server 2008 R2 on mssql server 2012. Made a backup in mssql server management studio, tried to
make a restore in mssql 2012 management studio. But get an error
'The operating system returned the error '5 (Access denied) '. How can I solve the problem?
Use ALTER TDATABASE MODIFY if you want to rename files and sp_renamedb if you want to rename the db itself
see
http://www.madeira.co.il/renaming-database-and-database-files-in-sql-server/
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
Similar Messages
-
How to change backend databases sql server 2008 R2 to Sql server 2012 datacenter
Hi
i have current sharepoint 2010 form has backend database is sql server 2008 R2 on windows server 2008 R2 Enterprise
and this form has
1 application server
1 Search server (index server)
1 wfe server ( all web applications are running)
1 databse server
here how i change this form back end to new windows server 2012 and sql server 2012 datacenter
adilInformation on SQL Aliases (using cliconfg.exe):
http://sqlandme.com/2011/05/05/create-sql-server-alias-cliconfg-exe/
You need to migrate content back into the database prior to migration:
http://technet.microsoft.com/en-us/library/ff628255(v=office.14).aspx
http://technet.microsoft.com/en-us/library/ff628257(v=office.14).aspx
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Migration of the database from Microsoft SQL 2014 Express to Microsoft SQL 2012 Server
I posted a similar thread yesterday, and I realized that there was a serious typo.
Link: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b3e201ea-6c7c-43a4-8908-842b714ea451/migration-of-the-database-from-microsoft-sql-2014-express-to-microsoft-sql-2012-server?forum=sqlservermigration
Therefore, I made a decision to post another thread right now.
I am
writing to ask if there are any known issues when migration from MS SQL 2014 Express to MS SQL 2012 Server version. Are there any step-by-step instruction on how I can go about doing this?
Looking forward to your response. Thank you for your time.
Regards,
Jeff YooHello,
SQL Server 2012 setup program won’t allow you to perform a downgrade from SQL Server 2014 Express Edition. Backup/Restore
and Detach/Attach won’t help you either.
One option you have left is using SQL Server Import/Export Wizard as explained on the following article.
http://www.mytechmantra.com/LearnSQLServer/Downgrade_SQL_Server_Database_P1.html
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Unable to upgrade SQL Server 2008 R2 to SQL Server 2012 SP1
I'm encountering error after error, after successfully installing the upgrade advisor (which took some doing) and running it with essentially no warnings/errors (the one warning was on the connection strings, as I recall -- and all of the warnings had a
"fix after" status.
First failure involved SSRS and the inability to create the "managed account". Backed out the upgrade using http://sqldbanotes.blogspot.com/2013/10/how-to-fix-failed-in-place.html
Now the failure involves SSAS and unable to connect to analysis services with name MSSQLServerOLAPService. That is the logical name for the service, although it shows up as just MSSQLServer when looking at it in the services list. I tried
setting the service account to a local account as well as to Local System -- did not make a difference, the upgrade couldn't apparently find it regardless.
Has anybody successfully done an in place upgrade from SQL Server 2008 R2 to SQL Server 2012?Hi Bob,
Thanks for your post and I am glad to hear that the issue is resolved. Thanks for you posting a reply to share your solution and I had marked it as answer. That way, other community members could benefit from your sharing.
Regards,
Sofiya Li
If you have any feedback on our support, please click here.
Sofiya Li
TechNet Community Support -
Replicate win server 2008 r2 with win server 2012 r2
I have AD on win server 2008 R2
Can I replicate it with win server 2012 R2
Nagy AnwarHello,
there is no problem to add a new Windows Server 2012 R2 into the existing domain.
http://blogs.msmvps.com/mweber/2012/07/27/upgrading-an-active-directory-domain-from-windows-server-2008-or-windows-server-2008-r2-to-windows-server-2012/
Best regards
Meinolf Weber
MVP, MCP, MCTS
Microsoft MVP - Directory Services
My Blog: http://blogs.msmvps.com/MWeber
Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
Twitter: -
I installed Crystal Reports server 2008, i'm geting server not started erro
Hi,
I'm getting error with server not started or not available error (FWM 01003). If i check in CCM, i don't see any entry for CMS server entry. How to start CMS server??? Please advise me. i installed trail version of crystal reports server 2008.
thanks in advance!!!
Ben.I am a consultant for Business Object products and experienced the same exact problem. We were installing Business Objects Edge, which is similar to Crystal Reports Server 2008, with MS SQL Server 2000 SP4 for the CMS System Database on a server that was named <Numbers>-<Letters>.
We discovered that some scripts that the installation and CMS run fail when the Server Name of the Business Objects Edge Server start with a number. When the CMS System Database is setup, a table called CMS_IdNumbers6 is created. It should have three columns, NameId, IdName and third column that is named after the server where you are installing Crystal Reports Server 2008, Business Objects Edge or Business Objects Enterprise. This column is called <ServerName>_iad_intensive_int_6400.
This column fails to get created when your server name starts with a number and subsequent scripts that insert records into this column fail. Renaming the server where we were installing Business Objects Edge to <Letters><Numbers> (no dashes either to be safe) solved the problem. We were successfully able to install Business Objects Edge. Please note: This is the server where you are installing Crystal Reports Server 2008 that needs to be renamed and NOT the MS SQL Server--just making a note because we had to go back and forth with our server team a couple of times on this point. -
How to upgrade Windows Server 2008 Foundation to Windows Server 2008 Standard
I have a Dell server with Windows Server 2008 Foundation installed. I am now on a larger network which has their own servers for authentication and the Windows Server 2008 Foundation will not let join a domain with more than 15 users. I was told that I needed
to upgrade Windows server 2008 foundation to Windows server 2008 Standard and that process can be done "in place" but I can't find how do do it. I called Dell and they said they basically said they didn't know what I was talking about.
How do I do this?According to the first one you can perform an in-place upgrade.
Introduction to Windows Server 2008 Foundation
http://technet.microsoft.com/en-us/library/dd459191(WS.10).aspx
How to Perform an In-Place Upgrade on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
http://support.microsoft.com/kb/2255099
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows] -
Moving databases from SQL Server 2012 to SQL Server 2014
Hi
I need to move all my SP 2013 databases from a SQL Server 2012 to a SQL Server 2014. I have read these articles:
http://technet.microsoft.com/en-us/library/cc512725(v=office.15).aspx
http://sharepointpromag.com/sharepoint-administration/simple-guide-moving-sharepoint-content-databases-new-server
The TechNet article says:
The new database server must run either the same version of Windows Server and SQL Server as the existing database server or one of the following versions:
SQL Server 2008
SQL Server 2012
SQL Server 2014
And the article in SharePoint Pro Magazine says:
Obviously you’ll need your target SQL server (or instance) installed and configured. It should use the same version and patch level of SQL Server as the source SQL server
So I'm a bit confused. Which article is right?
Thanks
Jakobit is fully supported and a simple process to move to a new sql server (anything 2008+ works). just don't go back in versions. you can go 2008-2012, 2008-2014, 20120-2014, just not 2012-2008, etc.
just be sure not to detach/attach the databases in sql, do a sql database backup, then a sql database restore on the new server and point sharepoint (hopefully using aliases, as it makes this all much smoother) to point to the new server.
Also, be sure to put SP1 and the April 2014 CU or newer on the farm BEFORE moving the databases. 2014 is "supported before the April CU, but there are several compatibility issues prior to april CU. one example is that user profile sync doesn't
work properly with sql 2014 if sharepoint is not at least april 2014 CU.
hope that all is clear and helps you out, let me know if there are more questions.
Christopher Webb | Microsoft Certified Master: SharePoint 2010 | Microsoft Certified Solutions Master: SharePoint Charter | Microsoft Certified Trainer| http://tealsk12.org Volunteer Teacher | http://christophermichaelwebb.com -
Dear all,
we currently have a single Exchange server, 2010, current patchlevel, 2008R2 OS
9 Mailbox Databases, Size about 3 TB, about 1 TB (!) Public folder.
Mailbox Databases and Public Folder are stored on a netapp, attached via ISCSI. We are replacing the ISCSI device and have to move the databases to a new ISCSI Device.
Plan is also to have a DAG with 2 mailbox servers and a third server as CAS/Hub Transport.
Currently I see 3 options:
1. Connecting the "old" Exchange to the new ISCSI device, moving the Databases offline, adding a second and a third server, creating a dag, replicating the DBs to the new servers, removing the old server from the dag, remove the Mailbox role from
the old server and use it as CAS/Hub Transport.
2. Adding a second Mailbox Server, moving the databases to the second server, remove the Mailbox role from the old server and use it as CAS/Hub Transport, add a third mailbox server, create a dag.
3. Adding a second and a third Mailbox server, configuring a DAG, replicating the Databases to the new servers, removing the "old" server from the DAG
Do you have any recommendations about that?
Best
MarkusHi,
Agree with Nothing 123. The option 3 can be a simple and effective method to achieve your goal.
One thing we need to note is that all DAG members should use the same operation system. And it is recommended to have two NICs for DAG, one for MAPI, one for Replication.
Best regards,
Belinda Ma
TechNet Community Support -
Whenever I upgrade database from sharepoint foundation 2010 to 2013 using powershell ( stsadm.exe -o addcontentdb -url http://.....) I get this error when i try to navigate in Sharepoint Central administration
Help (new window) Go back to site Error Error
core.js
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 194f2b9c-628b-a018-f40a-c1b1772f2763
Date and Time: 7/3/2013 12:22:50 AM
Go back to site Go back to site
ULS viewer from log shows
System.ArgumentException: core.js
at Microsoft.SharePoint.WebControls.ScriptLink.AssertLocalizableCompatibility(String strFile, Boolean localizable)
at ASP._admin_admin_master.__BuildControl__control15()
at ASP._admin_admin_master.__BuildControl__control2()
at ASP._admin_admin_master.__BuildControlSPHtmlTag()
at ASP._admin_admin_master.__BuildControlTree(_admin_admin_master __ctrl)
at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
at System.Web.UI.Page.ApplyMasterPage()
at System.Web.UI.Page.PerformPreInit()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any help would be appreciatedI have got the same error when using 2010 compatibility mode in my application when displaying a page. Following are error logs I got.
Area : SharePoint Foundation
Category : Web Controls
Level : High
EventID : aikzh
Message : core.js is should be localized in o14, call with attribute
Localizable = "true".
Area : SharePoint Foundation
Category : General
Level : Medium
EventID : 8nca
Message : Application error when access /_layouts/SP_CMN_Message.aspx,
Error=core.js at Microsoft.SharePoint.WebControls.ScriptLink.Asser
tLocalizableCompatibility(String strFile, Boolean localizable)
at ASP._layouts_15_simplev4_master.__BuildControl__control11()
at ASP._layouts_15_simplev4_master.__BuildControl__control3()
at ASP._layouts_15_simplev4_master.__BuildControl__control2()
at ASP._layouts_15_simplev4_master.__BuildControlTree(_layouts_15_si
mplev4_master __ctrl) at
System.Web.UI.MasterPage.CreateMaster(TemplateControl owner,
HttpContext context, VirtualPath masterPageFile, IDictionary
contentTemplateCollection) at
System.Web.UI.Page.ApplyMasterPage() at
System.Web.UI.Page.PerformPreInit() at
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBe...
Area : SharePoint Foundation
Category : Runtime
Level : Unexpected
EventID : tkau
Message : System.ArgumentException: core.js at Microsoft.SharePoint.WebCont
rols.ScriptLink.AssertLocalizableCompatibility(String strFile,
Boolean localizable) at
ASP._layouts_15_simplev4_master.__BuildControl__control11() at
ASP._layouts_15_simplev4_master.__BuildControl__control3() at
ASP._layouts_15_simplev4_master.__BuildControl__control2() at AS
P._layouts_15_simplev4_master.__BuildControlTree(_layouts_15_simplev
4_master __ctrl) at
System.Web.UI.MasterPage.CreateMaster(TemplateControl owner,
HttpContext context, VirtualPath masterPageFile, IDictionary
contentTemplateCollection) at
System.Web.UI.Page.ApplyMasterPage() at
System.Web.UI.Page.PerformPreInit() at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAs...
Area : SharePoint Foundation
Category : General
Level : High
EventID : ajlz0
Message : Getting Error Message for Exception
System.Web.HttpUnhandledException (0x80004005): Exception of type
'System.Web.HttpUnhandledException' was thrown. --->
System.ArgumentException: core.js at Microsoft.SharePoint.WebCon
trols.ScriptLink.AssertLocalizableCompatibility(String strFile,
Boolean localizable) at
ASP._layouts_15_simplev4_master.__BuildControl__control11() at
ASP._layouts_15_simplev4_master.__BuildControl__control3() at
ASP._layouts_15_simplev4_master.__BuildControl__control2() at AS
P._layouts_15_simplev4_master.__BuildControlTree(_layouts_15_simplev
4_master __ctrl) at
System.Web.UI.MasterPage.CreateMaster(TemplateControl owner,
HttpContext context, VirtualPath masterPageFile, IDictionary
contentTemplateCollection) at
System.Web.UI.Page.ApplyMasterPage()...
Area : SharePoint Foundation
Category : General
Level : Monitorable
EventID : aat87
Message : An unexpected error has occurred.
The error appeared while Applying Master Page..
I have managed to fix that removing "15" from MasterPageFile="~/_layouts/15/simple.master", so the path is
MasterPageFile="~/_layouts/simple.master".
Otherwise, it could be fixed changing attribute "Localizable" to true in <SharePoint:ScriptLink language="javascript" name="core.js" OnDemand="true" EnableCustomActions="false" Localizable="false"
runat="server" /> in simplev4.master MasterPage, however this way is not desirable.
hope that could help.. -
"URl has already been reserved".
Reporting services for port 80 and 443 works fine both for reports and reportingserver on SQL server 2008 R2. But when I try to upgrade from SQL server 2008 R2 to 2012 this error pops up. How to make sure before upgrading regarding reporting services that
URL reserves and SSL are fine or how to fix reporting services are upgrade like repair install.
ThanksHi yashmitl,
In your case, please running the following command to check the current URL reservations on http.sys.
netsh http show urlacl
Then, please delete the URL reservation by executing the following command try to resolve the issue.
netsh http delete urlacl <url>
There is a similar issue, you can refer to it.
http://social.technet.microsoft.com/Forums/en-US/d5204dd3-e26d-4592-8ef0-a94005fc46a5/the-url-has-already-been-reserved?forum=sqlreportingservices
Hope this helps.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Problems upgrading database from 2005 to 2008 R2
I have backed up my databases, uninstalled SQL Server 2005 and installed SQL Server 2008 R2.
Then restored databases into that.
Problem is compatibility level of the databases is still 2005, it won't let me change it to 100 either as a query or in the properties, the highest level available in properties is 90.
I see the server it's connected to is 9.0.5000 which is 2005, so maybe that's why but how on earth can I make the databases version 2008?
I want to do this to take advantage of the 10GB databases limit, as 2005 databases only have a 4GB limit.
Thanks.
summary.txt:
Overall summary:
Final result: Passed
Exit code (Decimal): 0
Exit message: Passed
Start time: 2014-05-11 15:43:44
End time: 2014-05-11 15:49:51
Requested action: Patch
Machine Properties:
Machine name: TSDIALLER
Machine processor count: 2
OS version: Windows Server 2003
OS service pack: Service Pack 2
OS region: United Kingdom
OS language: English (United States)
OS architecture: x86
Process architecture: 32 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID Feature
Language Edition Version Clustered
Sql Server 2008 R2 Management Tools - Basic
1033 Express Edition 10.50.1617.0 No
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL2008
Type: RTM
Version: 10
SPLevel: 1
KBArticle: KB2528583
KBArticleHyperlink: http://support.microsoft.com/?kbid=2528583
PatchType: SP
AssociateHotfixBuild: 0
Platform: x86
PatchLevel: 10.51.2500.0
ProductVersion: 10.50.1600.1
GDRReservedRange: 10.0.1000.0:10.0.1099.0;10.0.3000.0:10.0.3099.0
PackageName: SQLServer2008-KB2528583-x86.exe
Installation location: c:\f76288dca3b4da3b29e59ceae4be17c0\x86\setup\
User Input Settings:
ACTION: Patch
ALLINSTANCES: True
CLUSTERPASSIVE: False
CONFIGURATIONFILE:
ENU: False
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
HELP: False
INDICATEPROGRESS: False
INSTANCEID: <empty>
INSTANCENAME: <empty>
PASSPHRASE: *****
QUIET: True
QUIETSIMPLE: False
UIMODE: Normal
X86: False
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140511_154324\SystemConfigurationCheck_Report.htm
Discovery report: -
CR 2008 on Server 2008 R2 vs Windows Server 2003
I have posted a similar question before but have not beeen able to come up with a solution.
We recently purchased cr2008 designer sp5 and installed it on server 2008 r2 and server 2003. We have web pages where CR is embedded in the code showing the report. This works fine on server 2003, also works fine on development desktop BUT does not work on server 2008 r2.
The application works but when time to show the CR itsself there is just a blank page with no error messages. I have replcated the code both using vs2005 and vs2008 and none of them are working when it comes to show report.
IIS is configured to run 32bit mode and classic (on server 2008 r2). Applications are comiled with x86 target.
We also have windows applications (without user interfaces) that loops through data base and saves crystal report as .pdf documents to folders to folders and they do work either.
I have been working on this for the last couple fof weeks and I am clueless.
Any ideas where to start looking and what to try? Any any help will be greatly appreciated. Thank you.That could be the discovery we're looking for...
The message re. Database Vendor Code 1540 is coming from the database client without any modifications in the CR engine. E.g.; sometimes searching for the error in the database documentation helps. Google is often pretty good also. E.g.;
Crystal: Failed to open Connection : The Official Forums for Microsoft ASP.NET
http://download.tigerpawsoftware.com/download/v10/Errors%20That%20Can%20Occur%20When%20You%20Run%20a%20Report%20from%20T…
From SAP documentation:
Failed to retrieve data from the database. Details: [Database Vendor Code: <vendor code number>].
Cause
The report SQL queries that have been sent to the server cannot be executed, because an error was returned by the database server after it processed the queries. For example, a field/table/procedure required by the report is missing, or the queries contain syntax errors.
Action
Ensure the report is using the correct connection information. For example, the data source name, server name, database name, and user name are correct. In a database-client test tool, ensure that the fields, tables, and procedures used by the report exist and that SQL queries can be executed against them. In the Crystal Reports designer, verify that the SQL query, as shown under the Database menu Show SQL Query option, does not contain syntax errors. If the SQL query shown in Crystal Reports is valid, execute the same SQL query through a database-client test tool.
- Ludek -
Install SQL Server 2008 R2 in Windows Server 2012 using SQL4SAP Script
Hi guys,
Since we are performing a SAP System Migration from older releases of Windows/SQL Server, as detailed on SAP Note
1780433 - System copy of SAP systems on Windows 2012 : SQL Server
We need to install SQL Server 2008 R2 before upgrading the system
When running SQL4SAP Script it states the following
17/03/2014 08:13:44 p.m.
Message Box "Windows version error"
OS Family "WindowsNT6.3" is not supported by this script.
Result: vbOK
On Windows 2012 should i run the SETUP instead the script?
Thanks!Hi Sunny
Im following SAP Note 1780433 - System copy of SAP systems on Windows 2012 : SQL Server
in order to migrate a SAP 640 system from Windows 2003/SQL Server 2005 to Windows 2012/ SQL Server 2012
Reason and Prerequisites
This note describes how to migrate the mentioned SAP products to Windows 2012/SQL Server 2008 R2,
in order to prepare an upgrade to SAP releases based on NW 7.0 and higher.
Note, that only SAP upgrade paths are supported, that are supported by the SUM tool. For more
information about the upgrade paths supported by SUM, read the Central SUM Note referred to at
http://www.service.sap.com/SLToolset.
Immediately after the SAP upgrade, your database has to be upgraded to SQL Server 2012. SAP does in general not support SQL Server releases prior to SQL Server 2012 on Windows 2012.
I understand this is not supported from Productive system, we are performing this on a Development system for test purposes.
Nevertheless on the note says Install First SQL Server 2008 R2 and after SAP upgrade, perform upgrade of SQL Server Upgrade, so there is misleasing information.
Im not sure if a 640 System would be able to copied and upgraded in Windows 2012/SQL Server 2012
It doesnt mention that 640_EX2 Kernel Support SQL Server 2012 to install the system.
How would yo recommend a system copy restoring database on these conditions?
640 System (SQL Server 2005,Win 2003) --> 640 System (SQL Server 2012, Win 2012)
(and then Upgrading to 740)
Thanks -
How to install SQL server 2008 express on Windows server 2008 R2 standard OS
Hi,
I have Windows server 2008 R2 Standard edition (64-bit) and trying to install SQL server 2008 express edition since I do not have SQL server 2008. When I install it I am unable to see Management Studio so I am trying to install management studio as well
but still I am facing issue. Please let me know whether SQL server 2008 express edition is compatible with Windows server 2008 R2 Standard. If not then pls let me know the proper steps to install it.
RegdsHello,
Service Pack 1 for SQL Server 2008 is required to be compatible with Windows Server 2008 R2.
Please download QL Server 2008 Express with SP1 included from the following link:
http://www.microsoft.com/en-us/download/details.aspx?id=25052
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com
Maybe you are looking for
-
Available OLAP connection list not showing in Query browser
Hi all, Hope everyone is doing great. I tried using query browser to consume BEx queries in dashboard. But I am not able to see the available connection list after choosing BEx query as my source in query browser. Attaching a screenshot of the same.
-
Use of profit center in Material master
Hello Consultants, Kindly explain me the use of Profit center in material master in Sales General/Plant and Cisting 1 view? Thanks, SK
-
How does on add a photo gallery to a web site in Dreamweaver CS5 and have the file folder which contains the photos, recognized as the "go to location" for the link up?
-
TS4168 i can't export my project the menu is in gray?
i can't export my project the menu is gray and can select any thing.there is no problem with the project it edited just fine and had no problem with the clips too. thank you..
-
Disk Utility doesn't play on PCs
I recently used disk Utility to burn PDF files and movie files. The files were such that they would open on a PC normally if sent in an email or on a webpage. However, when I gave the disk to my friend, it appeared as a blank disk when she used it in