SQL Server AlwaysOn- Service Restart Sequence

Team,
Most of our SQL databases are configured on AlwaysON Availability group. I was looking at best practices in restarting a SQL service. Ex: If we change any port details/windows patching etc.
I am particularly looking at the right sequence in which we restart the services.
All our databases are configured in Synchronous Failover mode. 
Regards,
Sharath

In addition to what Sean has already mentioned, for asynchronous secondaries, you need to convert them to synchronous first and wait for the status to be synchronized before failing over to avoid data loss. Once all of the replicas have
been upgraded, switch it back to asynchronous. The process is outlined
here
Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
Blog |
Twitter | LinkedIn
SQL Server High Availability and Disaster Recover Deep Dive Course

Similar Messages

  • DPM 2010 installation failure (SQL-server Reporting Services Problem)

    Hi everyone,
    The last 2 days I have been trying to get DPM 2010 installed on a DC. I know this is not recommended, but for our company with the current setup it's the only way to do it.
    I have been reading some Microsoft articles (http://technet.microsoft.com/en-us/library/ff399416.aspx) about doing this but I fail to do so.
    I have made all of the right service accounts (I guess) and am doing everything in the guide but still get the same error message over and over again:
    Setup has detected that the installation of Reporting Services is not correctly configured or no instance of Reporting Services is linked to DPM2010 of SQL Server
    I just can't get my head around it. This is the error message when I try to install DPM 2010 using an existing SQL-database which I have configured in the SQL 2008-server sp1 installation.
    I have enclosed some screenshots so you could maybe check some things that are not correct? Hopefully we can get this issue resolved, because it's driving me crazy to be honest!
    Physical server which is ADC and where I need to install SQL-server and DPM: VMBACKUP
    The service account for DPM is: DPMSQLSvcsAcct
    Also have another service account: DPMR$VMBACKUP
    I have also enclosed the error log located in C:\DPMLogs\

    This is the DOM error log:
    MSI (s) (D0:4C) [14:59:59:626]: Windows Installer reconfigured the product. Product Name: Microsoft Application Error Reporting. Product Version: 12.0.6015.5000. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 0.
    MSI (s) (D0:4C) [14:59:59:627]: Deferring clean up of packages/files, if any exist
    MSI (s) (D0:4C) [14:59:59:628]: MainEngineThread is returning 0
    MSI (s) (D0:D8) [14:59:59:631]: RESTART MANAGER: Session closed.
    MSI (s) (D0:D8) [14:59:59:631]: No System Restore sequence number for this installation.
    === Logging stopped: 27/03/2012 14:59:59 ===
    MSI (s) (D0:D8) [14:59:59:632]: User policy value 'DisableRollback' is 0
    MSI (s) (D0:D8) [14:59:59:632]: Machine policy value 'DisableRollback' is 0
    MSI (s) (D0:D8) [14:59:59:632]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (D0:D8) [14:59:59:632]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (D0:D8) [14:59:59:633]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (D0:D8) [14:59:59:633]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
    MSI (s) (D0:D8) [14:59:59:634]: Restoring environment variables
    MSI (s) (D0:D8) [14:59:59:634]: Destroying RemoteAPI object.
    MSI (s) (D0:90) [14:59:59:635]: Custom Action Manager thread ending.
    MSI (c) (9C:04) [14:59:59:636]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
    MSI (c) (9C:04) [14:59:59:637]: MainEngineThread is returning 0
    === Verbose logging stopped: 27/03/2012 14:59:59 ===
    [27/03/2012 14:59:59] Information : MsiInstallProduct returned 0.
    [27/03/2012 14:59:59] Information : End install.
    [27/03/2012 14:59:59] Information : **************************************************************************************
    [27/03/2012 14:59:59] Information : **************************************************************************************
    [27/03/2012 14:59:59] Information : Start Inspect.
    [27/03/2012 14:59:59] Information : Check processor configuration.
    [27/03/2012 14:59:59] Information : Query WMI provider for configuration of processor. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 14:59:59] Information : Query for WMI class. (Query : SELECT * FROM Win32_Processor).
    [27/03/2012 15:00:00] Data : Clock speed of processor = 2500
    [27/03/2012 15:00:00] Data : Manufacturer of processor = GenuineIntel
    [27/03/2012 15:00:00] Information : Check the amount of RAM.
    [27/03/2012 15:00:00] Information : Query WMI provider for configuration of memory. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 15:00:00] Information : Query for WMI class. (Query : SELECT * FROM Win32_OperatingSystem).
    [27/03/2012 15:00:00] Data : Found memory = 14677964
    [27/03/2012 15:00:00] Data : Total amount of memory = 14677964
    [27/03/2012 15:00:00] Information : Check the version of Microsoft Management Console on the machine.
    [27/03/2012 15:00:00] Data : Version of Microsoft Management Console on the machine = 6.1.7600.16385
    [27/03/2012 15:00:00] Data : Required version of Microsoft Management Console = 5.2.3790.2560
    [27/03/2012 15:00:00] Information : MMC correct version is detected.
    [27/03/2012 15:00:00] Information : Check if this machine is part of active directory.
    [27/03/2012 15:00:00] Data : Looking for Active Directory node = LDAP://RootDSE
    [27/03/2012 15:00:00] Information : Active Directory is detected on this machine.
    [27/03/2012 15:00:00] Information : Check if the machine role is Domain Controller.
    [27/03/2012 15:00:00] Information : Query for WMI class. (Query : SELECT * FROM Win32_ComputerSystem).
    [27/03/2012 15:00:00] Data : Localhost in Computer role = 4
    [27/03/2012 15:00:00] * Warning : DPM Setup has detected that this computer is a domain controller.Make sure that you have followed the steps given in the link below before proceeding with the DPM Setup.
    [27/03/2012 15:00:00] Information : The machine role is a Domain Controller.
    [27/03/2012 15:00:00] Information : Check if Volsnap QFE is applied.
    [27/03/2012 15:00:00] Information : Volsnap QFE is applied on this system.
    [27/03/2012 15:00:00] Information : Check if Logical Disk Manager (LDM) QFE is applied.
    [27/03/2012 15:00:00] Information : LDM QFE is applied on this system.
    [27/03/2012 15:00:00] Information : Check if KB962975 QFE is applied.
    [27/03/2012 15:00:00] Information : KB962975 QFE is applied on this system.
    [27/03/2012 15:00:00] Information : Check if KB975759 QFE is applied.
    [27/03/2012 15:00:00] Information : KB975759 QFE is applied on this system.
    [27/03/2012 15:00:00] Information : Check if KB955543 QFE is applied.
    [27/03/2012 15:00:00] Information : KB955543 QFE is applied on this system.
    [27/03/2012 15:00:00] Information : Detect if Powershell is installed.
    [27/03/2012 15:00:00] Data : Installed Version of Windows Powershell. = 6.1.7600.16385
    [27/03/2012 15:00:00] Data : Minimum Required version of Windows Powershell. = 6.0.6002.18111
    [27/03/2012 15:00:00] Information : Required version of Powershell software is installed on this system.
    [27/03/2012 15:00:00] Information : Check if reboot is required because of Dot Net installation.
    [27/03/2012 15:00:00] Information : Reading the registry key Software\Microsoft\Microsoft Data Protection Manager\Setup\DotNetRequiredReboot.
    [27/03/2012 15:00:00] Information : Registry Key Software\Microsoft\Microsoft Data Protection Manager\Setup\DotNetRequiredReboot is absent.
    [27/03/2012 15:00:00] Information : Reboot is not required.
    [27/03/2012 15:00:00] Information : Detect if SIS Service is running.
    [27/03/2012 15:00:00] Information : Detect if SIS Filter service SIS is running.
    [27/03/2012 15:00:00] Information : SIS Service SIS is running on this system.
    [27/03/2012 15:00:00] Information : Check the version of Windows Installer on the machine.
    [27/03/2012 15:00:00] Data : Version of Windows Installer on the machine = 5.0.7601.17514
    [27/03/2012 15:00:00] Data : Required version of Windows Installer = 4.5.6001.18000
    [27/03/2012 15:00:00] Information : Windows Installer correct version is detected.
    [27/03/2012 15:00:00] Information : Check if Removable Storage Service (Rsm) is disabled or not.
    [27/03/2012 15:00:00] Information : Query WMI provider for Service Details. (Namespace : \\VMBACKUP\root\cimv2).
    [27/03/2012 15:00:00] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='NtmsSvc').
    [27/03/2012 15:00:01] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ServiceNotFoundException: NtmsSvc : Service not found
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetServiceConfig(String serviceName, String machineName, ConnectionOptions wmiConnectionOptions)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectConfigs.CheckRsmServiceConfig(InspectContext context)
    [27/03/2012 15:00:01] Information : Check if reboot is required.
    [27/03/2012 15:00:01] Information : Reading the registry key Software\Microsoft\Microsoft Data Protection Manager\Setup\RebootRequired.
    [27/03/2012 15:00:01] Information : Registry Key Software\Microsoft\Microsoft Data Protection Manager\Setup\RebootRequired is absent.
    [27/03/2012 15:00:01] Information : Reboot is not required.
    [27/03/2012 15:00:01] Information : Check if SQL Server 2008 is installed.
    [27/03/2012 15:00:01] Information : Query WMI provider for SQL Server 2008. (Namespace : \\VMBACKUP\root\Microsoft\SqlServer\ComputerManagement10).
    [27/03/2012 15:00:01] Information : Query for WMI class. (Query : Select * from SqlServiceAdvancedProperty where ServiceName='{0}' and PropertyName='Version').
    [27/03/2012 15:00:01] Information : SQL Server 2008 MSDPM2010 instance is not present on this system.
    [27/03/2012 15:00:01] *** Error : Setup has detected that the instance provided is not a SQL Server 2008 instance. Please provide a SQL Server 2008 instance having Service Pack 1 installed.
    [27/03/2012 15:00:01] Information : Check if SQL Server 2008 Tools is installed.
    [27/03/2012 15:00:01] Information : SQL Server 2008 Tools is installed
    [27/03/2012 15:00:01] Information : Check if SQL Server 2008 SP1 is applied.
    [27/03/2012 15:00:01] Information : Query WMI provider for SQL Server 2008 SP1. (Namespace : \\VMBACKUP\root\Microsoft\SqlServer\ComputerManagement10).
    [27/03/2012 15:00:01] Information : Query for WMI class. (Query : Select * From SqlServiceAdvancedProperty Where ServiceName='MSSQL$MSDPM2010' AND PropertyName = 'SPLEVEL').
    [27/03/2012 15:00:02] Information : Sql Server 2008 Service Pack Level is 0
    [27/03/2012 15:00:02] Information : SQL Server 2008 SP1 is not present on MSDPM2010 instance of this system.
    [27/03/2012 15:00:02] *** Error : Setup has detected that SQL Server 2008 Service Pack 1 has not been installed on the VMBACKUP\MSDPM2010 instance.Install SQL Server 2008 Service Pack 1 or higher and try again.
    [27/03/2012 15:00:02] Information : Check SQL Server Agent service configuration.
    [27/03/2012 15:00:02] Data : SQL Server instance name = MSDPM2010
    [27/03/2012 15:00:02] Information : Query WMI provider for Service Details. (Namespace : \\VMBACKUP\root\cimv2).
    [27/03/2012 15:00:02] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='SQLAgent$MSDPM2010').
    [27/03/2012 15:00:02] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ServiceNotFoundException: SQLAgent$MSDPM2010 : Service not found
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetServiceConfig(String serviceName, String machineName, ConnectionOptions wmiConnectionOptions)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectConfigs.CheckSqlAgentServiceConfig(InspectContext context)
    [27/03/2012 15:00:02] *** Error : Service SQLAgent$MSDPM2010 is not installed. The SQL Server 2008 installation is not valid.Uninstall SQL Server 2008 and then run DPM Setup again.
    [27/03/2012 15:00:02] Information : SQL Server Agent service configuration is not correct.
    [27/03/2012 15:00:02] Information : Check SQL Server service configuration.
    [27/03/2012 15:00:02] Data : SQL Server instance name = MSDPM2010
    [27/03/2012 15:00:02] Information : Query WMI provider for Service Details. (Namespace : \\VMBACKUP\root\cimv2).
    [27/03/2012 15:00:02] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='MSSQL$MSDPM2010').
    [27/03/2012 15:00:02] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ServiceNotFoundException: MSSQL$MSDPM2010 : Service not found
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetServiceConfig(String serviceName, String machineName, ConnectionOptions wmiConnectionOptions)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectConfigs.CheckSqlServerServiceConfig(InspectContext context)
    [27/03/2012 15:00:02] *** Error : Service MSSQL$MSDPM2010 is not installed. The SQL Server 2008 installation is not valid.Uninstall SQL Server 2008 and then run DPM Setup again.
    [27/03/2012 15:00:02] Information : SQL Server service configuration is not correct.
    [27/03/2012 15:00:02] Information : Detect if SQL Server is evaluation edition
    [27/03/2012 15:00:02] Information : Check for existing database.
    [27/03/2012 15:00:02] Information : Starting service
    [27/03/2012 15:00:02] Data : Service name = MSSQL$MSDPM2010
    [27/03/2012 15:00:02] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ServiceNotFoundException: MSSQL$MSDPM2010 ---> System.InvalidOperationException: Service MSSQL$MSDPM2010 was not found on computer 'VMBACKUP'. ---> System.ComponentModel.Win32Exception: The specified service does not exist as an installed service
    --- End of inner exception stack trace ---
    at System.ServiceProcess.ServiceController.GenerateNames()
    at System.ServiceProcess.ServiceController.get_ServiceName()
    at System.ServiceProcess.ServiceController.GenerateStatus()
    at System.ServiceProcess.ServiceController.get_Status()
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.StartService(String serviceName, String machineName, Boolean restart)
    --- End of inner exception stack trace ---
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.CheckServiceStartError(String serviceName, InvalidOperationException invalidOperationException)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.StartService(String serviceName, String machineName, Boolean restart)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.StartSqlService(String instanceName, String sqlServerMachineName)
    [27/03/2012 15:00:02] Information : Dpmdb does not exist on this system.
    [27/03/2012 15:00:02] Information : Check if SQL Server 2008 Reporting Services is installed.
    [27/03/2012 15:00:02] Information : Query WMI provider for path of configuration file for SQL Server 2008 Reporting Services. (Namespace : \\VMBACKUP\root\Microsoft\SqlServer\ReportServer\RS_MSDPM2010\v10\admin).
    [27/03/2012 15:00:02] Information : Query for WMI class. (Query : SELECT * FROM MSReportServer_ConfigurationSetting WHERE InstanceName='MSDPM2010').
    [27/03/2012 15:00:02] * Exception : => System.Management.ManagementException: Invalid namespace
    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
    at System.Management.ManagementScope.InitializeGuts(Object o)
    at System.Management.ManagementScope.Initialize()
    at System.Management.ManagementObjectSearcher.Initialize()
    at System.Management.ManagementObjectSearcher.Get()
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetRosettaConfigFilePath(String sqlServerMachineName, String sqlInstanceName, ConnectionOptions connectionOptions)
    [27/03/2012 15:00:02] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ReportServerNotInstalledException: Report server is not installed ---> System.Management.ManagementException: Invalid namespace
    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
    at System.Management.ManagementScope.InitializeGuts(Object o)
    at System.Management.ManagementScope.Initialize()
    at System.Management.ManagementObjectSearcher.Initialize()
    at System.Management.ManagementObjectSearcher.Get()
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetRosettaConfigFilePath(String sqlServerMachineName, String sqlInstanceName, ConnectionOptions connectionOptions)
    --- End of inner exception stack trace ---
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetRosettaConfigFilePath(String sqlServerMachineName, String sqlInstanceName, ConnectionOptions connectionOptions)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectReportingPrerequisites.CheckSqlServerReportingServices(InspectContext context)
    [27/03/2012 15:00:02] Information : SQL Server 2008 Reporting Services MSDPM2010 instance is not installed.
    [27/03/2012 15:00:02] *** Error : Setup has detected that the installation of Reporting Services is not correctly configured or no instance of Reporting Services is linked to MSDPM2010 of SQL Server.1)To use the local dedicated MSDPM2010 instance with DPM, uninstall SQL Server and run setup again.
    2)To use the option of installing DPM with an existing instance of SQL Server, make sure that the Reporting Services instance is also installed and linked correctly. For details, refer to DPM Setup Help.
    [27/03/2012 15:00:02] Information : Check SQL Server 2008 Reporting Services report server service configuration.
    [27/03/2012 15:00:02] Information : Query WMI provider for Service Details. (Namespace : \\VMBACKUP\root\cimv2).
    [27/03/2012 15:00:02] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='ReportServer$MSDPM2010').
    [27/03/2012 15:00:02] * Exception : Expecting the following exception. Ignoring intentionally. => Microsoft.Internal.EnterpriseStorage.Dls.Setup.Exceptions.ServiceNotFoundException: ReportServer$MSDPM2010 : Service not found
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectHelper.GetServiceConfig(String serviceName, String machineName, ConnectionOptions wmiConnectionOptions)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectReportingPrerequisites.CheckRosettaServicesConfig(InspectContext context)
    [27/03/2012 15:00:02] *** Error : Service ReportServer$MSDPM2010 is not installed. The SQL Server 2008 Reporting Services installation is not valid.Uninstall SQL Server 2008 Reporting Services and then run DPM Setup again.
    [27/03/2012 15:00:02] Information : Report Server service configuration is not correct.
    [27/03/2012 15:00:02] Information : End Inspect.
    [27/03/2012 15:00:02] Information : **************************************************************************************
    [27/03/2012 15:00:02] Information : Instantiating inspect component.
    [27/03/2012 15:00:02] Data : Path of output xml = \PostInstallInspect.xml
    [27/03/2012 15:00:03] Information : <<< Dialog >>> Inspect Page : Leaving
    [27/03/2012 15:00:03] Information : <<< Dialog >>> User Information Page : Entering
    [27/03/2012 15:00:03] Data : Purchased Client Agent Licenses = 0
    [27/03/2012 15:00:03] Data : Purchased Standard Agent Licenses = 0
    [27/03/2012 15:00:03] Data : Purchased Enterprise Agent Licenses = 0
    [27/03/2012 15:00:09] Information : <<< Dialog >>> User Information Page : Leaving
    [27/03/2012 15:00:09] Data : Purchased Client Agent Licenses = 0
    [27/03/2012 15:00:09] Data : Purchased Standard Agent Licenses = 0
    [27/03/2012 15:00:09] Data : Purchased Enterprise Agent Licenses = 0
    [27/03/2012 15:00:09] Information : <<< Dialog >>> Install location Page : Entered
    [27/03/2012 15:00:09] Information : Check if the media is removable
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:09] Data : Drive Name = C:\
    [27/03/2012 15:00:09] Data : Drive Type = 3
    [27/03/2012 15:00:09] Information : Check attributes of the directory
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:09] * Exception : Ignoring the following exception intentionally => System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Microsoft DPM'.
    File name: 'C:\Program Files\Microsoft DPM'
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.File.GetAttributes(String path)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [27/03/2012 15:00:09] Information : Query free disk space
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:09] Data : Free Space = 2373
    [27/03/2012 15:00:09] Information : Query free disk space
    [27/03/2012 15:00:09] Data : Folder Path = C:\Windows\system32
    [27/03/2012 15:00:09] Data : Free Space = 2373
    [27/03/2012 15:00:09] Information : Check if the media is removable
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:09] Data : Drive Name = C:\
    [27/03/2012 15:00:09] Data : Drive Type = 3
    [27/03/2012 15:00:09] Information : Check attributes of the directory
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:09] * Exception : Ignoring the following exception intentionally => System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Microsoft DPM\DPM\DPMDB'.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.File.GetAttributes(String path)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [27/03/2012 15:00:09] Information : Query free disk space
    [27/03/2012 15:00:09] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:09] Data : Free Space = 2373
    [27/03/2012 15:00:11] Information : Check if the media is removable
    [27/03/2012 15:00:11] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:11] Data : Drive Name = C:\
    [27/03/2012 15:00:11] Data : Drive Type = 3
    [27/03/2012 15:00:11] Information : Check attributes of the directory
    [27/03/2012 15:00:11] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:11] * Exception : Ignoring the following exception intentionally => System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Microsoft DPM'.
    File name: 'C:\Program Files\Microsoft DPM'
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.File.GetAttributes(String path)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [27/03/2012 15:00:11] Information : Query free disk space
    [27/03/2012 15:00:11] Data : Folder Path = C:\Program Files\Microsoft DPM
    [27/03/2012 15:00:11] Data : Free Space = 2373
    [27/03/2012 15:00:11] Information : Query free disk space
    [27/03/2012 15:00:11] Data : Folder Path = C:\Windows\system32
    [27/03/2012 15:00:11] Data : Free Space = 2373
    [27/03/2012 15:00:17] Information : Check if the media is removable
    [27/03/2012 15:00:17] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:17] Data : Drive Name = D:\
    [27/03/2012 15:00:17] Data : Drive Type = 3
    [27/03/2012 15:00:17] Information : Check attributes of the directory
    [27/03/2012 15:00:17] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:17] Data : File Attributes = Directory
    [27/03/2012 15:00:17] Information : Query free disk space
    [27/03/2012 15:00:17] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:17] Data : Free Space = 786513
    [27/03/2012 15:00:17] Information : Query free disk space
    [27/03/2012 15:00:17] Data : Folder Path = C:\Windows\system32
    [27/03/2012 15:00:17] Data : Free Space = 2373
    [27/03/2012 15:00:18] Information : Check if the media is removable
    [27/03/2012 15:00:18] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:18] Data : Drive Name = D:\
    [27/03/2012 15:00:18] Data : Drive Type = 3
    [27/03/2012 15:00:18] Information : Check attributes of the directory
    [27/03/2012 15:00:18] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:18] Data : File Attributes = Directory
    [27/03/2012 15:00:18] Information : Check if the media is removable
    [27/03/2012 15:00:18] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:18] Data : Drive Name = C:\
    [27/03/2012 15:00:18] Data : Drive Type = 3
    [27/03/2012 15:00:18] Information : Check attributes of the directory
    [27/03/2012 15:00:18] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:18] * Exception : Ignoring the following exception intentionally => System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\Microsoft DPM\DPM\DPMDB'.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.File.GetAttributes(String path)
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Wizard.InstallLocationValidation.CheckForDirectoryAttributes(String path)
    [27/03/2012 15:00:18] Information : Check the filesystem on which DPM and prerequisites are installed
    [27/03/2012 15:00:18] Information : D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:18] Information : C:\Windows\system32
    [27/03/2012 15:00:18] Information : Query free disk space
    [27/03/2012 15:00:18] Data : Folder Path = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:18] Data : Free Space = 786513
    [27/03/2012 15:00:18] Information : Query free disk space
    [27/03/2012 15:00:18] Data : Folder Path = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:18] Data : Free Space = 2373
    [27/03/2012 15:00:18] Information : Query free disk space
    [27/03/2012 15:00:18] Data : Folder Path = C:\Windows\system32
    [27/03/2012 15:00:18] Data : Free Space = 2373
    [27/03/2012 15:00:18] Data : Location of program files = D:\Program Files\Microsoft DPM
    [27/03/2012 15:00:18] Data : Location of database files = C:\Program Files\Microsoft DPM\DPM\DPMDB
    [27/03/2012 15:00:18] Information : <<< Dialog >>> Install location Page : Leaving
    [27/03/2012 15:00:27] Data : Path of inspection output xml = C:\\DPMLogs\RemoteDbInspectReport.xml
    [27/03/2012 15:00:27] Information : Instantiating inspect component.
    [27/03/2012 15:00:27] Data : Path of output xml = C:\\DPMLogs\RemoteDbInspectReport.xml
    [27/03/2012 15:00:27] Information : **************************************************************************************
    [27/03/2012 15:00:27] Information : Start Inspect.
    [27/03/2012 15:00:27] Information : Check if SQL Server 2008 is installed.
    [27/03/2012 15:00:27] Information : Query WMI provider for SQL Server 2008. (Namespace : \\localhost\root\Microsoft\SqlServer\ComputerManagement10).
    [27/03/2012 15:00:27] Information : Query for WMI class. (Query : Select * from SqlServiceAdvancedProperty where ServiceName='{0}' and PropertyName='Version').
    [27/03/2012 15:00:28] Information : SQL Server 2008 DPM2010 instance is present on this system.
    [27/03/2012 15:00:28] Information : Check if SQL Server 2008 SP1 is applied.
    [27/03/2012 15:00:28] Information : Query WMI provider for SQL Server 2008 SP1. (Namespace : \\localhost\root\Microsoft\SqlServer\ComputerManagement10).
    [27/03/2012 15:00:28] Information : Query for WMI class. (Query : Select * From SqlServiceAdvancedProperty Where ServiceName='MSSQL$DPM2010' AND PropertyName = 'SPLEVEL').
    [27/03/2012 15:00:28] Information : Sql Server 2008 Service Pack Level is 3
    [27/03/2012 15:00:28] Information : SQL Server 2008 SP1 is present on DPM2010 instance of this system.
    [27/03/2012 15:00:28] Information : Check SQL Server Agent service configuration.
    [27/03/2012 15:00:28] Data : SQL Server instance name = DPM2010
    [27/03/2012 15:00:28] Information : Query WMI provider for Service Details. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 15:00:28] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='SQLAgent$DPM2010').
    [27/03/2012 15:00:29] Data : Credentials of the service = MANAGEMENT\DPMSQLSvcsAcct
    [27/03/2012 15:00:29] Information : SQL Server Agent service configuration is correct.
    [27/03/2012 15:00:29] Information : Check SQL Server service configuration.
    [27/03/2012 15:00:29] Data : SQL Server instance name = DPM2010
    [27/03/2012 15:00:29] Information : Query WMI provider for Service Details. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 15:00:29] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='MSSQL$DPM2010').
    [27/03/2012 15:00:29] Data : Credentials of the service = MANAGEMENT\DPMSQLSvcsAcct
    [27/03/2012 15:00:29] Information : SQL Server service configuration is correct.
    [27/03/2012 15:00:29] Information : Detect if SQL Server is evaluation edition
    [27/03/2012 15:00:29] Information : Check the disk space for remote database.
    [27/03/2012 15:00:29] Information : Remote Db disk space required : 900 MB disk space available = 786513 MB
    [27/03/2012 15:00:29] Information : Check the Named Pipes protocol for remote database.
    [27/03/2012 15:00:29] Information : Query WMI provider for Service Details. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 15:00:29] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='MSSQL$DPM2010').
    [27/03/2012 15:00:29] Information : Check for existing database.
    [27/03/2012 15:00:29] Information : Starting service
    [27/03/2012 15:00:29] Data : Service name = MSSQL$DPM2010
    [27/03/2012 15:00:29] Data : Current status of service = Running
    [27/03/2012 15:00:29] Information : Service is already running
    [27/03/2012 15:00:29] Data : Database connection string = Pooling = false;Integrated Security=SSPI;database=master;server=np:localhost\DPM2010
    [27/03/2012 15:00:29] Information : Dpmdb does not exist on this system.
    [27/03/2012 15:00:29] Information : DPM database DPMDB is missing or corrupt.If you are performing a clean installation of DPM, you must delete the DPM database before you run Setup. If you are upgrading or repairing an existing installation of DPM, you must restore a valid DPM database, and then proceed with Setup.
    [27/03/2012 15:00:29] Information : Check whether the remote db msi has been installed.
    [27/03/2012 15:00:29] Information : Check DPM Database Version.
    [27/03/2012 15:00:29] Data : Database connection string = Pooling = false;Integrated Security=SSPI;database=DPMDB;server=localhost\DPM2010
    [27/03/2012 15:00:29] * Exception : Expecting the following exception. Ignoring intentionally. => System.Data.SqlClient.SqlException: Cannot open database "DPMDB" requested by the login. The login failed.
    Login failed for user 'MANAGEMENT\DPMSQLSvcsAcct'.
    at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
    at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
    at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
    at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
    at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
    at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
    at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
    at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
    at System.Data.SqlClient.SqlConnection.Open()
    at Microsoft.Internal.EnterpriseStorage.Dls.DB.SqlContext.Open()
    at Microsoft.Internal.EnterpriseStorage.Dls.Setup.Inspect.InspectDls.CheckDBVersion(InspectContext context)
    [27/03/2012 15:00:29] Information : detectResult = DPMDBAbsent
    [27/03/2012 15:00:29] *** Error : DPM Setup has detected that the DPM database files are missing from the selected instance of SQL Server 2008.Make sure that the correct database files are attached to the selected instance of SQL Server and then install DPM 2010 again.
    [27/03/2012 15:00:29] Information : Checking if DPM db backup is needed.
    [27/03/2012 15:00:29] Information : This is not upgrade path, so no DB Backup needed
    [27/03/2012 15:00:29] Information : DPM DB Backup is not needed.
    [27/03/2012 15:00:29] Information : Check if SQL Server 2008 Reporting Services is installed.
    [27/03/2012 15:00:29] Information : Query WMI provider for path of configuration file for SQL Server 2008 Reporting Services. (Namespace : \\localhost\root\Microsoft\SqlServer\ReportServer\RS_DPM2010\v10\admin).
    [27/03/2012 15:00:29] Information : Query for WMI class. (Query : SELECT * FROM MSReportServer_ConfigurationSetting WHERE InstanceName='DPM2010').
    [27/03/2012 15:00:29] Data : Path of configuration file for SQL Server 2008 Reporting Services = D:\Program Files\Microsoft SQL Server\MSRS10.MSRS10\Reporting Services\ReportServer\RSReportServer.config
    [27/03/2012 15:00:29] Information : Query WMI provider for instance linked to SQL Server 2008 Reporting Services. (Namespace : \\localhost\root\Microsoft\SqlServer\ReportServer\RS_DPM2010\v10\admin).
    [27/03/2012 15:00:29] Information : Query for WMI class. (Query : SELECT * FROM MSReportServer_ConfigurationSetting WHERE InstanceName='DPM2010').
    [27/03/2012 15:00:29] Data : Database server for SQL Server 2008 Reporting Services = VMBACKUP\DPM2010
    [27/03/2012 15:00:29] Information : SQL Server 2008 Reporting Services DPM2010 instance is installed and linked to SQL Server VMBACKUP\DPM2010.
    [27/03/2012 15:00:29] *** Error : Setup has detected that the installation of Reporting Services is not correctly configured or no instance of Reporting Services is linked to DPM2010 of SQL Server.1)To use the local dedicated DPM2010 instance with DPM, uninstall SQL Server and run setup again.
    2)To use the option of installing DPM with an existing instance of SQL Server, make sure that the Reporting Services instance is also installed and linked correctly. For details, refer to DPM Setup Help.
    [27/03/2012 15:00:29] Information : Check SQL Server 2008 Reporting Services report server service configuration.
    [27/03/2012 15:00:29] Information : Query WMI provider for Service Details. (Namespace : \\localhost\root\cimv2).
    [27/03/2012 15:00:29] Information : Query for WMI class. (Query : SELECT * FROM Win32_Service WHERE Name='ReportServer$DPM2010').
    [27/03/2012 15:00:29] Data : Credentials of the service = MANAGEMENT\DPMSQLSvcsAcct
    [27/03/2012 15:00:29] Information : Report Server service configuration is correct.
    [27/03/2012 15:00:29] Information : Check Reporting SecureConnectionLevel.
    [27/03/2012 15:00:29] Information : Getting the reporting secure connection level for localhost/DPM2010
    [27/03/2012 15:00:29] Information : Setup detected that the Reporting SecureConnectionLevel is 0.
    [27/03/2012 15:00:29] Information : End Inspect.
    [27/03/2012 15:00:29] Information : **************************************************************************************

  • Unable to start SQL server agent service

    hi,
    We have 2 Node SQL Cluster that was working fine. Then We migrated the Linux DNS to Windows DNS successfully.Now restarted the SQL Server after it when we try to start the SQL Server Agent service its says the below msg while machine name and cluster
    entries are in windows dns and resolving the IP to name and name to IP
    Error msg: The MSSQLSERVER service on Local Computer started and then stopped.  Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service." error message.
    But whenever we set the Linux DNS Server ip in SQL Servers then it successfully starts the service. Now i want to know why its happening and what are the requirements or DNS entries/SPN which we missing when we migrated the linux DNS to windows
    dns
    Sagar

    I was experiencing this issue or one just like it on one of our SQL clusters (SQL Server 2008 R2, two node).
    The fix for us was the database Security Login for: NT SERVICE\SQLAgent$<instancename>  was missing.  The actual service account assigned to the SQL Agent service was a valid domain account and we had the credentials correct in the service
    configuration, so no changes were needed there.
    Using SQL Server Management Studio we manually added this BUILT IN account ( NT SERVICE\SQLAgent$<instancename> ) to the instance, and then assigned it user role = sysadmin (to go along with the default role = public).
    Once this was done, we tried to restart the clustered SQL Agent service and it started and remained started.
    Hope this helps someone, we spent over a day pouring over the installation trying to find the cause.
    This worked for me, thanks:-)

  • I cannot start the "SQL Server Reporting Services (SCE)" service

    Attempts to run any of the Windows Computer Reports fail with an error:
    Date: 10/29/2008 10:19:30 AM
    Application: System Center Essentials
    Application Version: 6.0.1251.0
    Severity: Error
    Message: Cannot initialize report.
    Microsoft.Reporting.WinForms.ReportServerException: The Report Server Windows service 'ReportServer$SCE' is not running. The service must be running to use Report Server. (rsReportServerServiceUnavailable)
       at Microsoft.Reporting.WinForms.ServerReport.GetExecutionInfo()
       at Microsoft.Reporting.WinForms.ServerReport.GetParameters()
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.Parameters.ReportParameterBlock.Initialize(ServerReport serverReport)
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ReportForm.SetReportJob(Object sender, ConsoleJobEventArgs args)
    My attempts to start the "SQL Server Reporting Services (SCE)" service fail with an error:
    Could not start the SQL Server Reporting Service (SCE) service on Local Computer.
    Error 1053: The service did  not respond to the start or control request in a timely fashion.
    The application log in the event viewer has hundreds of instances of Event ID 107:
    Event Type: Error
    Event Source: Report Server (SCE)
    Event Category: Management
    Event ID: 107
    Date:  10/29/2008
    Time:  10:36:25 AM
    User:  N/A
    Computer: DC
    Description:
    Report Server (SCE) cannot connect to the report server database.  For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Please help.

    Thanks for the link to the Reporting Services forum.  I found the fix in this thread:
    https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3644545&SiteID=1
    I had to create a registry key and reboot:
    1.
    Click Start, click Run, type regedit, and then click OK.
    2.
    Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
    3.
    In the right pane, locate the ServicesPipeTimeout entry.
    Note If the ServicesPipeTimeout entry does not exist, you must create it. To do this, follow these steps:
    a.
    On the Edit menu, point to New, and then click DWORD Value.
    b.
    Type ServicesPipeTimeout, and then press ENTER.
    4.
    Right-click ServicesPipeTimeout, and then click Modify.
    5.
    Click Decimal, type 60000, and then click OK.
    This value represents the time in milliseconds before a service times out.
    6.
    Restart the computer.
    After the reboot, the service was running.  Thanks for your help with this.

  • MS SQL Server Analysis Services (SSAS) OLAP Connection - Dimension descriptions

    Hello,
    We are trying to create some reports on BO 4.0 on top of BPC 10 MS information.
    In order to overcome some issues related to standard connector between BO and BPC (XMLA Planning and consolidation 10 for Microsoft platform), we created a new connection based on discussion MS SQL Server Analysis Services (SSAS) OLAP Connection - Business Intelligence (BusinessObjects) - SCN Wiki
    However we have a major issue with this approach. We cannot see on BO dimension member descriptions.
    Is there anything that we missed?
    Could you help?
    Regards,
    Vitor Ramalho

    Bill,
    So, what you need is a model like SQL Server failover cluster instances. (before sql server 2012)
    In SQL Server 2012, AlwaysOn replaces SQL Server failover cluster, and it has been seperated to
    AlwaysOn Failover Cluster Instances (SQL Server) and
    AlwaysOn Availability Groups (SQL Server).
    Since your requirement is not in database level, I think the best option is to use AlwaysOn Failover Cluster Instances (SQL Server).
    As part of the SQL Server AlwaysOn offering, AlwaysOn Failover Cluster Instances leverages Windows Server Failover Clustering (WSFC) functionality to provide local high availability through redundancy at the server-instance level—a
    failover cluster instance (FCI). An FCI is a single instance of SQL Server that is installed across Windows Server Failover Clustering (WSFC) nodes and, possibly, across multiple subnets. On the network, an FCI appears to be an instance of SQL
    Server running on a single computer, but the FCI provides failover from one WSFC node to another if the current node becomes unavailable.
    It is similar to SQL Server failover cluster in SQL 2008 R2 and before.
    Please refer to these references:
    Failover Clustering in Analysis Services
    Installing a SQL Server 2008 R2 Failover Cluster
    Iric Wen
    TechNet Community Support

  • SQL Server Analysis Services (SSAS) 2012 High Availability Solution in Azure VM

    I have been testing an AlwaysOn high availability failover solution in SQL Server Enterprise on an Azure VM, and this works pretty well as a failover for SQL Server Databases, but I also need a high availability solution for SQL Server
    Analysis Server, and so far I haven't found a way to do this.  I can load balance it between two machines, but this isn't working as a failover and because of the restriction of not being able to use shared storage in a Failover Cluster in Azure
    VM's, I can't set it up as a cluster which is required for AlwaysOn in Analysis Services. 
    Anyone else found a solution to use an AlwaysOn High Availability for SQL Analysis Services in Azure VM?  As my databases are read-only, I would be satisfied with even just a solution that would sync the OLAP databases and switch
    the data connection to the same server as the SQL databases.
    Thanks!
    Bill

    Bill,
    So, what you need is a model like SQL Server failover cluster instances. (before sql server 2012)
    In SQL Server 2012, AlwaysOn replaces SQL Server failover cluster, and it has been seperated to
    AlwaysOn Failover Cluster Instances (SQL Server) and
    AlwaysOn Availability Groups (SQL Server).
    Since your requirement is not in database level, I think the best option is to use AlwaysOn Failover Cluster Instances (SQL Server).
    As part of the SQL Server AlwaysOn offering, AlwaysOn Failover Cluster Instances leverages Windows Server Failover Clustering (WSFC) functionality to provide local high availability through redundancy at the server-instance level—a
    failover cluster instance (FCI). An FCI is a single instance of SQL Server that is installed across Windows Server Failover Clustering (WSFC) nodes and, possibly, across multiple subnets. On the network, an FCI appears to be an instance of SQL
    Server running on a single computer, but the FCI provides failover from one WSFC node to another if the current node becomes unavailable.
    It is similar to SQL Server failover cluster in SQL 2008 R2 and before.
    Please refer to these references:
    Failover Clustering in Analysis Services
    Installing a SQL Server 2008 R2 Failover Cluster
    Iric Wen
    TechNet Community Support

  • Sql server 2008 service accounts.

    For Sql server agent and Sql Server Database engine a dedicated low privileged
    separate accounts are assigned while installing  Sql  Server 2008 R2.But when
    I am specifying Sql Server feature installation in the setup role and in feature
    selection I am selecting all ,what should be the nature of accounts that I should
    provide for Sql Server Analysis Service and Sql Server Reporting Services?
    If I install Sqlserver 2008R2 in my local machine running under windows-7
    and use a local standard user account to run my DB engine, would I be
    able to access the databases in Sql Server 2008 installed in a remote
    server in the same domain?

    I agree with Erland.
    SQL Service account is used while performing any OS level operation by SQL Server process (sqlservr.exe). On the other hand, the account which is connecting to SQL Server will have it's own permission in Server/Database provided via Logins/Users.
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • SQL Server Analysis Services Filter web part.

    Hi all
    In a NTLM farm with 1 SharePoint and 1 SQL server, I am using clamis based authentication for Excel Services app in SharePoint Server 2010.
    While all Excel documents work, I get error on "SQL Server Analysis Services Filter" web part.
    The filter works when I am logged on the sharepoint server and open the Intranet to use it, but doesn't work if I reach the Intranet by not logging on the SharePoint server.
    The error I get is on the filter web part:
    "An error occured while retrieving filter values (The connection either timed out or was lost).
    Anyone else that have had the same problem?
    Any ideas to troubleshoot? :)
    Regards

    OK, I solved this problem with the following workaround: (Notice that the problem may be solved when you have completed just one of the steps, so be sure you make a test everytime you have completed one).
    First:
    Try changing your Excel Services Application File Access Method to
    IMPERSONATE, that can be achieved in SharePoint Central Administration
    -> Manage Service Applications -> Excel Services Application Settings ->
    Global Settings. (Make sure the option for Allow Cross Domain Access is unchecked if you don't have a security certificate installed on the server, also in the most cases you don't need this option). Please take note of your Excel Services
    Application ID.
    Then modify your performance point data connection file in Excel, by oppening Connection Properties and in the Definitions tab, click on Authentication, set Authentication Type to Use a Stored Account and then write your excel services application ID in
    the textbox labeled "Application ID", by default the excel services application ID is
    "Excel Services Application" (no quotes), now click OK. Then click Export Connection File and overwrite current connection file in SharePoint.
    (You may need to restart the Excel Calculations Service on Manage Services in this Farm page).
    Second: (If before step doesn't solved the problem already)
    Change the service account for the SQL Server Analysis Service to an account that have Delegation permission or change the current account to LocalSystem.
    Third (If the other two steps doesn't solved the problem).
    Check in SharePoint Central Administration if the service Claims To Windows Token is started, if not, just start it.
    I solved the connection problem, but now When I get the hierarchies in the filter, I can not drill more than 2 levels down, in the third level it throws the following exception: "There was an error in the callback"

  • HADR Solution for SQL Server Analysis Services (SSAS) 2014 on Azure Iaas

    Hi All
    I am required to build a HA/DR solution for SQL Server and SSAS 2014 on Azure. So far I could build AlwaysOn high availability solution for SQL Server on Azure but haven't found any solution for SSAS.
    Failover Clustering is not an option on azure because of the restriction of not been able to use shared storage. We also determined that the cost savings of using SQL + the cost of the 3rd Party replication tool was a wash (ie no real cost savings).
    Any lead on this would be appreciated.
    Thanks,
    Viral Shah
    Thanks - Viral

    Hi Viral,
    A clustered implementation of SSAS can be configured in Microsoft Azure. Such a configuration would need to meet all the requirements stated in the following document including Active Directory and storage.
    How to Cluster SQL Server Analysis Services
    http://download.microsoft.com/download/D/2/0/D20E1C5F-72EA-4505-9F26-FEF9550EFD44/SSAS_Failover_Cluster_V4.docx
    Thanks,
    Lydia Zhang

  • Is there any way to add SQL Server 2008 R2 "SQL Authentication" logins to SQL Server Integration Services

    Hi Experts, 
    We have a way to add the Windows Authentication-logins /OS users  in SSIS
    Component Services -> Computers -> My Computer -> DCOM Config -> MSDTSServer
    Right click on MSDTSServer
    Click properties
    Click on the Security tab
    Select Customize and add the users/groups to the Launch/Activation and Access tabs accordingly
    Add the user to the local Distributed COM Users group
    Restart the SSIS service
    +++But do we have a way to add SQL Server Authetication logins to SSIS, Please clarify me 
    Prem Gokull

    Hi PREM,
    If I understand correctly, you want to use SQL Server Authentication log to SQL Server Integration Services.
    Based on my research, only Microsoft Windows Authentication is available for SSIS. So we cannot use SQL Server Authentication log to SQL Server Integration Services. Besides, we can only add OS users in the DCOM Config permission area.
    Reference:
    Connect to Server (Integration Services)
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • QSUF (Query string url filter) and SQL Server reporting services report viewer parameters

    Hi,
    this is my issue:
    I have a SQL Server reporting services web part on a page with a report with 1 parameter, lets say it's a client list
    Then i have a QSUF that will be used to filter the clients list through the URL
    However, once i connect the filter and the report viewer web part, the parameter goes away and is no longer accessible
    I'd like to somehow keep the parameter visible, in case there is no parameter sent through the URL, i would like the user to be able to choose a client from the parameter drop down list
    I saw that there is a "send empty if no values are passed" option, but i can't seem to get this working properly and i don't know if this option will make the parameter visible again
    Any help would be appreciated
    Thanks.

    Hi,
    According to your post, my understanding is that the query string url filter web part not worked well with SQL server reproting services web part.
    Did you use the Wiki page layout in your environment?
    You can change the page to a web part page, then check whether it work.
    There is a similar thread for your reference.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/4d7584e3-8e1a-48bf-9346-32f8cb480dd1/query-string-url-filter-web-part?forum=sharepointgeneralprevious
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Unable to insert sql server reporting services report viewer webpart

    Hello,
    We are trying to add a SQL Server Reporting Services Report Viewer and when we click add we get the following error message
    The file you imported is not valid. Verify that the file is a Web Part description file (*.webpart or *.dwp) and that it contains well-formed XML.
    Does anyone know what the fix to this is?

    Hi,
    The Report Viewer Web Part is a custom Web Part that is installed by the Reporting Services Add-in for SharePoint Products and associated with report definition (.rdl) files that are processed by a Microsoft SQL Server Reporting Services report
    server.
    To install the Web Part, you must run Setup for the Reporting Services Add-in. You should not install or uninstall the Web Part independently. It is part of the add-in and can only be installed through the add-in setup package. The Report Viewer Web Part
    file name is ReportViewer.dwp. It is located in the Program Files\Common Files\Microsoft Shared\web server extensions\15\template\features\reportserver folder and should not be moved to other folders.
    To use the Web Part, you must have installed and configured the Reporting Services Add-in and configured the report server for SharePoint integration.
    For more information,you can have a look at the blog:
    http://msdn.microsoft.com/en-us/library/jj219068.aspx
    http://msdn.microsoft.com/en-us/library/aa905871.aspx
    http://msdn.microsoft.com/en-us/library/bb522800.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Unable to start SQL Server Browser service in Sql server 2005

    we are unable to start the SQL browser service on one of our machine with below error.
    I believe this to be the reason, why we could not connect to the instance with below error
    I tried troubleshooting as mentioned here, by changing
    value in registry from 1 to 0, but still no luck.
    SQLservices are also running.
    Please help on how to resolve this!

    Hello,
    You say that SQL Server Browser Service belongs to a SQL Server 2005, but based on the name of the instance is a SQL Server
    2012 instance.
    Do you have any issues installing/uninstalling SQL Server 2005 or 2012? One of them 32-bit and the other 64-bit?
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • [Forum FAQ] How do I create calculated measure using AMO in SQL Server Analysis Services?

    Introduction
    In SQL Server Analysis Services (SSAS), you can create a calculated measure in SQL Server Data Tool (SSDT)/Boniness Integrated Development Studio (BIDS). Sometimes you may need to create calculated measure by using AMO in a C# or VB project.
    In this article, I will demonstrate so how to create calculated measure using AMO in SSAS?
    Prerequisites
    Before create calculated measure using AMO, you need to ensure that the following components were installed in your server.
    The multidimensional database AdventureWorks Multidimensional Model 2012
    A SQL Server with SSIS and SSAS installed
    The AMO libraries installed:
    X86 Package (SQL_AS_AMO.msi)
    X64 Package (SQL_AS_AMO.msi)
    Solution
    Here is the detail steps to create calculated measure using AMO in SSAS.
    Open SSDT and create a new SSIS project.
    Drag Script Task to the design surface.
    Click SSIS-> Variables to open the Variables window and add two variables that used to connect to the server and database.
    Create a connection to connect to SSAS server.
    Rename the connection name to ssas.
    Double click the Script Task to open Script Task Editor.
    Add Connection and Database variables to ReadWriteVariables textbox and then click Edit Script button.
    Add AMO reference in the Solution Explore window.
    Copy the script below and paste it into the script.
    Dim objServer As Server
    Dim objDatabase As Database
    Dim strDataBaseID As String
    Dim objCube As Cube
    Dim objMdxScript As MdxScript
    Dim objCommand As Command
    Dim strCommand As String
    objServer = New Server
    objServer.Connect("localhost")
    objDatabase = objServer.Databases("AdventureWorksDW2012Multidimensional-EE2")
    strDataBaseID = objDatabase.ID
    If objDatabase.Cubes.Count > 0 Then
    objCube = objDatabase.Cubes("Adventure Works")
    If objCube.MdxScripts.Count > 0 Then
    objMdxScript = objCube.MdxScripts("MdxScript")
    objMdxScript = objCube.MdxScripts(0)
    Else
    objCube.MdxScripts.Add("MdxScript", "MdxScript")
    objMdxScript = objCube.MdxScripts("MdxScript")
    End If
    objCommand = New Command
    strCommand = "CREATE MEMBER CURRENTCUBE.[Measures].[Multipy Measures By 3]"
    strCommand = strCommand & " AS [Measures].[Internet Sales Amount] * 3, "
    strCommand = strCommand & " VISIBLE = 1 ; "
    objCommand.Text = strCommand
    objMdxScript.Commands.Add(objCommand)
    objMdxScript.Update()
    objCube.Update()
    End If
    objServer.Disconnect()
    Then you can run this SSIS package to create the calculated measure.
    Applies to
    Microsoft SQL Server 2005
    Microsoft SQL Server 2008
    Microsoft SQL Server 2008 R2
    Microsoft SQL Server 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • How do I post to SQL Server Reporting services

    Hi
    I have been using MS forums for almost 20 years but in the current incarnation I find it utterly imnpossible to post to anywhere useful.
    I have a serious issue I need to resolve with SQL Server reporting services but cannot find how to get this message posted because the options I get when trying to post in "FORUM CATEGORY" seem utterly unrelated to what I am doing.
    What can I do?
    Kind regards
    Jonathan
    jc

    Looks like you figured it out. Let us know if not.
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

Maybe you are looking for

  • Audio tracks missing when doing automate to sequence.

    Using PMW200 with 4 audio tracks. When dragging single file to timeline I get the 4 audio tracks. But when I do an automate to sequence, I only get 1 audio track, plus, the default audio transition is not going on. I have all the tracks highlighted a

  • File Save As Issue...

    Greetings Captivate Community, After trying to backup my Captivate 5.5 project and clicking "Save As" and renaming my Captivate file, my original Captivate project file no longer displays any of the pictures that are included on each slide, except fo

  • Install: can't resolve service name during db cache install

    Has anyone else had this problem? Any resolution or advice?

  • Do SAP have a process modeling tool included on one of their solutions ?

    Hello, I'm new in this blog.  I would like to post the question Do SAP have a process modeling tool included on one of their solutions ? I appreciate if somebody answers.  JCT

  • Can't write in input field in my webmail

    I use webmail (Netfirms). Things were fine until Firefox wanted to use certain fonts, to which I declined. Now, when I need to email someome through this webmail account, I can't type in the input field. When I tab down through the CC BCc etc. it end