Setup log shipping, can't view Reports on secondary DB

  • I setup Microsoft standard native log shipping for a small database. When I right click > Reports, I get an error saying:

    Unhandled exception has occurred in a component in your application. If you click Continue, the application will ignore this error and attempt to continue.

    Property IsManagementDataWarehouse is not available for Database '[DBName]'. This property may not exist for this object or may not be retrievable due to insufficient access rights.'

    Odd error since I'm sysadmin on all of our SQL servers.

    Detailed error:

    See the end of this message for details on invoking

    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************

    Microsoft.SqlServer.Management.Smo.PropertyCannotBeRetrievedException: Property IsManagementDataWarehouse is not available for Database '[TF90]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights.

    at Microsoft.SqlServer.Management.Smo.PropertyCollection.HandleNullValue(Int32 index)

    at Microsoft.SqlServer.Management.Smo.PropertyCollection.GetValueWithNullReplacement(String propertyName, Boolean throwOnNullValue, Boolean useDefaultOnMissingValue)

    at Microsoft.SqlServer.Management.Smo.PropertyCollection.GetValueWithNullReplacement(String propertyName)

    at Microsoft.SqlServer.Management.Smo.Database.get_IsManagementDataWarehouse()

    at Microsoft.SqlServer.Management.Reports.ReportContext.ProcessConnection()

    at Microsoft.SqlServer.Management.Reports.ReportContext.get_Version()

    at Microsoft.SqlServer.Management.Reports.ReportsManager.OnReportsDropDownOpening(Object sender, EventArgs e)

    at System.Windows.Forms.ToolStripDropDownItem.OnDropDownShow(EventArgs e)

    at System.Windows.Forms.ToolStripMenuItem.OnDropDownShow(EventArgs e)

    at System.Windows.Forms.ToolStripDropDownItem.ShowDropDownInternal()

    at System.Windows.Forms.ToolStripDropDownItem.ShowDropDown(Boolean mousePush)

    at System.Windows.Forms.ToolStripMenuItem.OnMouseButtonStateChange(MouseEventArgs e, Boolean isMouseDown)

    at System.Windows.Forms.ToolStripMenuItem.OnMouseDown(MouseEventArgs e)

    at System.Windows.Forms.ToolStripItem.HandleMouseDown(MouseEventArgs e)

    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

    at System.Windows.Forms.ToolStrip.OnMouseDown(MouseEventArgs mea)

    at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)

    at System.Windows.Forms.Control.WndProc(Message& m)

    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

    at System.Windows.Forms.ToolStrip.WndProc(Message& m)

    at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

    at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)

    at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)

    at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Loaded Assemblies **************

    mscorlib

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

    ----------------------------------------

    AppIDPackage

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/AppIDPackage.DLL

    ----------------------------------------

    System

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    Microsoft.SqlServer.SqlTools.VSIntegration

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.SqlTools.VSIntegration.DLL

    ----------------------------------------

    Microsoft.VisualStudio.Shell.Interop

    Assembly Version: 7.1.40304.0

    Win32 Version: 7.10.6071

    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.VisualStudio.Shell.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.Interop.dll

    ----------------------------------------

    Microsoft.VisualStudio.OLE.Interop

    Assembly Version: 7.1.40304.0

    Win32 Version: 7.10.6070

    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.VisualStudio.OLE.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.OLE.Interop.dll

    ----------------------------------------

    System.Windows.Forms

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

    ----------------------------------------

    System.Drawing

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    ----------------------------------------

    SqlWorkbench.Interfaces

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/SqlWorkbench.Interfaces.DLL

    ----------------------------------------

    Microsoft.SqlServer.SqlTDiagM

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.SqlTDiagM/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SqlTDiagM.dll

    ----------------------------------------

    Microsoft.SqlServer.Instapi

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Instapi/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Instapi.dll

    ----------------------------------------

    EnvDTE

    Assembly Version: 8.0.0.0

    Win32 Version: 8.0.50727.1826 (QFE.050727-1800)

    CodeBase: file:///C:/Windows/assembly/GAC/EnvDTE/8.0.0.0__b03f5f7f11d50a3a/EnvDTE.dll

    ----------------------------------------

    Microsoft.VisualStudio.Shell

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.1826 (QFE.050727-1800)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Shell/2.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.dll

    ----------------------------------------

    Microsoft.VisualStudio.Shell.Interop.8.0

    Assembly Version: 8.0.0.0

    Win32 Version: 8.0.50727.1826 (QFE.050727-1800)

    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.VisualStudio.Shell.Interop.8.0/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.Interop.8.0.dll

    ----------------------------------------

    Microsoft.SqlServer.Management.SDK.SqlStudio

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.SDK.SqlStudio.DLL

    ----------------------------------------

    Microsoft.DataWarehouse.SQM

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.DataWarehouse.SQM.DLL

    ----------------------------------------

    Microsoft.SqlServer.Management.SqlStudio.Explorer

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.SqlStudio.Explorer.DLL

    ----------------------------------------

    Microsoft.SqlServer.Management.Controls

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.Controls.DLL

    ----------------------------------------

    System.Configuration

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

    ----------------------------------------

    System.Xml

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

    ----------------------------------------

    ObjectExplorer

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/ObjectExplorer.DLL

    ----------------------------------------

    System.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll

    ----------------------------------------

    Microsoft.SqlServer.Management.UserSettings

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.UserSettings.DLL

    ----------------------------------------

    SqlMgmt

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/SqlMgmt.DLL

    ----------------------------------------

    Microsoft.SqlServer.Management.Sdk.Sfc

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Management.Sdk.Sfc/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.Sdk.Sfc.dll

    ----------------------------------------

    ConnectionDlg

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/ConnectionDlg.DLL

    ----------------------------------------

    Microsoft.VisualStudio

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.1826 built by: QFE

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio/2.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.dll

    ----------------------------------------

    System.Drawing.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll

    ----------------------------------------

    Microsoft.VisualStudio.Designer.Interfaces

    Assembly Version: 1.0.5000.0

    Win32 Version: 1.1.4322.573

    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.VisualStudio.Designer.Interfaces/1.0.5000.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Designer.Interfaces.dll

    ----------------------------------------

    Microsoft.SqlServer.RegSvrEnum

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.RegSvrEnum/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.RegSvrEnum.dll

    ----------------------------------------

    Microsoft.SqlServer.Management.Reports

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.Reports.DLL

    ----------------------------------------

    Microsoft.SqlServer.Management.SqlStudio.Migration

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.SqlStudio.Migration.DLL

    ----------------------------------------

    Microsoft.SqlServer.Smo

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Smo/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Smo.dll

    ----------------------------------------

    Microsoft.NetEnterpriseServers.ExceptionMessageBox

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.NetEnterpriseServers.ExceptionMessageBox/10.0.0.0__89845dcd8080cc91/Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll

    ----------------------------------------

    System.Data

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

    ----------------------------------------

    Microsoft.SqlServer.Management.SqlStudio

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.SqlStudio.DLL

    ----------------------------------------

    Accessibility

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

    ----------------------------------------

    Microsoft.SqlServer.ConnectionInfo

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.ConnectionInfo/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.ConnectionInfo.dll

    ----------------------------------------

    Microsoft.SqlServer.Management.RegisteredServers

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Management.RegisteredServers/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.RegisteredServers.dll

    ----------------------------------------

    Microsoft.SqlServer.SqlClrProvider

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.SqlClrProvider/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SqlClrProvider.dll

    ----------------------------------------

    cf7rjulj

    Assembly Version: 10.0.0.0

    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    Microsoft.SqlServer.SString

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.SString/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SString.dll

    ----------------------------------------

    atgunpm5

    Assembly Version: 10.0.0.0

    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    Microsoft.SqlServer.Diagnostics.STrace

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Diagnostics.STrace/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Diagnostics.STrace.dll

    ----------------------------------------

    System.Transactions

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll

    ----------------------------------------

    System.EnterpriseServices

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll

    ----------------------------------------

    Microsoft.SqlServer.SqlEnum

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.SqlEnum/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SqlEnum.dll

    ----------------------------------------

    Microsoft.SqlServer.BatchParserClient

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.BatchParserClient/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.BatchParserClient.dll

    ----------------------------------------

    Microsoft.SqlServer.BatchParser

    Assembly Version: 10.0.0.0

    Win32 Version: 2009.0100.1600.01 ((KJ_RTM).100402-1540 )

    CodeBase: file:///C:/Windows/assembly/GAC_32/Microsoft.SqlServer.BatchParser/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.BatchParser.dll

    ----------------------------------------

    msvcm80

    Assembly Version: 8.0.50727.4940

    Win32 Version: 8.00.50727.4940

    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_d08cc06a442b34fc/msvcm80.dll

    ----------------------------------------

    System.Management

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll

    ----------------------------------------

    Microsoft.SqlServer.Dmf

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Dmf/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Dmf.dll

    ----------------------------------------

    Microsoft.SqlServer.PolicyEnum

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.PolicyEnum/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.PolicyEnum.dll

    ----------------------------------------

    ObjectExplorerReplication

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/ObjectExplorerReplication.DLL

    ----------------------------------------

    Microsoft.SqlServer.Sqm

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Sqm.DLL

    ----------------------------------------

    vnabteub

    Assembly Version: 10.0.0.0

    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    SQLEditors

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/SQLEditors.DLL

    ----------------------------------------

    SqlManagerUI

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/SqlManagerUi.DLL

    ----------------------------------------

    Microsoft.SqlServer.Management.SqlStudio.Controls

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.SqlStudio.Controls.DLL

    ----------------------------------------

    Microsoft.AnalysisServices

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.AnalysisServices/10.0.0.0__89845dcd8080cc91/Microsoft.AnalysisServices.dll

    ----------------------------------------

    Microsoft.SqlServer.DlgGrid

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.DlgGrid/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.DlgGrid.dll

    ----------------------------------------

    Microsoft.SqlServer.GridControl

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )

    CodeBase: file:///C:/Windows/assembly/GAC_32/Microsoft.SqlServer.GridControl/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.GridControl.dll

    ----------------------------------------

    Microsoft.SqlServer.DataStorage

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.DataStorage/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.DataStorage.dll

    ----------------------------------------

    Microsoft.SqlServer.Management.Scripting

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.Scripting.DLL

    ----------------------------------------

    Microsoft.SqlServer.Management.Dac

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Management.Dac/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.Dac.dll

    ----------------------------------------

    System.Core

    Assembly Version: 3.5.0.0

    Win32 Version: 3.5.30729.5420 built by: Win7SP1

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll

    ----------------------------------------

    Microsoft.SqlServer.Management.DacEnum

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Management.DacEnum/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.DacEnum.dll

    ----------------------------------------

    Microsoft.VisualStudio.TextManager.Interop

    Assembly Version: 7.1.40304.0

    Win32 Version: 7.10.6070

    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.VisualStudio.TextManager.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.TextManager.Interop.dll

    ----------------------------------------

    Microsoft.SqlServer.Management.MultiServerConnection

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Management.MultiServerConnection/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.MultiServerConnection.dll

    ----------------------------------------

    RadLangSvc

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///D:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/RadLangSvc.DLL

    ----------------------------------------

    Microsoft.VisualStudio.Package.LanguageService

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.1826 (QFE.050727-1800)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Package.LanguageService/2.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Package.LanguageService.dll

    ----------------------------------------

    Microsoft.SqlServer.Management.SqlParser

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Management.SqlParser/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.SqlParser.dll

    ----------------------------------------

    Microsoft.VisualStudio.TextManager.Interop.8.0

    Assembly Version: 8.0.0.0

    Win32 Version: 8.0.50727.1826 (QFE.050727-1800)

    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.VisualStudio.TextManager.Interop.8.0/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.TextManager.Interop.8.0.dll

    ----------------------------------------

    Microsoft.VisualStudio.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.1826 (QFE.050727-1800)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Design/2.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Design.dll

    ----------------------------------------

    Microsoft.VisualStudio.Shell.Design

    Assembly Version: 2.0.0.0

    Win32 Version: 2.0.50727.1826 (QFE.050727-1800)

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Shell.Design/2.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.Design.dll

    ----------------------------------------

    Microsoft.SqlServer.Management.SmoMetadataProvider

    Assembly Version: 10.0.0.0

    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Management.SmoMetadataProvider/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.SmoMetadataProvider.dll

    ----------------------------------------

    Microsoft.SqlServer.Types

    Assembly Version: 10.0.0.0

    Win32 Version: 2009.0100.4000.00 ((KJ_PCU_Main).120628-0827 )

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Types/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Types.dll

    ----------------------------------------

    ************** JIT Debugging **************

    To enable just-in-time (JIT) debugging, the .config file for this

    application or computer (machine.config) must have the

    jitDebugging value set in the system.windows.forms section.

    The application must also be compiled with debugging

    enabled.

    For example:

    <configuration>

    <system.windows.forms jitDebugging="true" />

    </configuration>

    When JIT debugging is enabled, any unhandled exception

    will be sent to the JIT debugger registered on the computer

    rather than be handled by this dialog box.

    Ideas? Google turned up nothing sadly enough.

  • Is it the Primary or a Secondary? And what's the compatibility level of the database.

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • Secondary, but I figured it out. It's in norecovery so I can't see reports. I have to view reports for this at the server level. Not thinking today. 🙂

  • You should be able to view them if you put it in Standby (which is normal for Log-shipping secondaries). I can, anyway. 🙂

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • I have a database with like 20 data files and a log file. Any idea how to use Microsoft native log shipping for that? Or is that not possible?

  • ahthomas (8/29/2012)


    I have a database with like 20 data files and a log file. Any idea how to use Microsoft native log shipping for that? Or is that not possible?

    Should work just the same.

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • In the GUI wizard, only getting two fields. One for data, one for log. I guess I just need to specify the parent directory of the directories containing the data files? We have 500 gig mount points for each data file due to the size of the database.

    File structure is like this:

    E:\PRDDATA[number]\whatever.mdf

    So I guess I just put E:\ for both fields?

  • Hmm, I almost never use the GUI ...

    I think that you should probably enter the primary MDF. It contains the locations of all of the other MDFs, so that should be sufficient.

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • I'm actually going to restore the DB manually and just say "No, the database is already initialized." And fill out the rest of the wizard. I assume it will just use the existing tlogs and bring the secondary DB up to date?

  • Yes, if you do it correctly.

    Hmm, I might have a procedure around here somewhere for doing that ...

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • OK, here's a template of the command that I use:

    RESTORE DATABASE [<YourDbName>]

    FROM DISK = N'D:\Database_Backups\<YourDbName>_copy.bak'

    WITH FILE = 1,

    MOVE N'<LogicalDataFile_1>' TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\<YourMDF_1>.mdf',

    MOVE N'<LogicalDataFile_2>' TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\<YourMDF_2>.mdf',

    --< ... >

    MOVE N'<LogicalLogFile>' TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\<YourLDF>.ldf',

    STANDBY = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Backup\<YourDbName>_Standby.BAK',

    NOUNLOAD, REPLACE, STATS = 10

    GO

    Note that anything in angle brackets ("< .. >") is something that you have to fill in the correct names for. You can get the Logical (internal) MDF and LDF names either by inspecting the Backup file or by looking at the properties of the Primary (its the first column of the "Files" page).

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • Note also, that whatever account you execute the Restore under will become the Owner (and thus, DBO) of the Secondary. This cannot be changed later on, it can only be set by the Restore command.

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

  • Just one more question to clear up a concern of mine...

    When I'm applying a long sequence of tlogs to a database, it's not restoring pages anywhere except the log file. Is that cause for concern? See below for one RESTORE LOG example (censored out the DB name from the original to just DB):

    Processed 0 pages for database 'DB', file 'DBDATA1' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA10' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA11' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA12' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA2' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA3' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA4' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA5' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA6' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA7' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA8' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA9' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA13' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA22' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA23' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA24' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA14' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA15' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA16' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA17' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA18' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA19' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA20' on file 1.

    Processed 0 pages for database 'DB', file 'DBDATA21' on file 1.

    Processed 22895 pages for database 'DB', file 'DBLOG1' on file 1.

  • I don't think that's a problem, but I cannot remember for sure. I think that those are the log file pages that were backed-up (and now restored) by the Log Backups used in Log Shipping. The data file pages should be recovered by the roll-forward part of the recovery process.

    Anyway, just try it and see if the data is changed afterwards. If it is, then things should be coming out correctly.

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

Viewing 14 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic. Login to reply