Does SQL Server 2008 R2 recognize only system-generated session identifiers,

As part of the locking down of our system we are doing the Security Technical Implementation Guide (STIG) and one of the questions it asks is "The DBMS must recognize only system-generated session identifiers."
I have looked at the STIG version for SQL Server 2012 and this is not a finding on it, since it supports the requirement and cannot be configured out of compliance.
If anyone can help confirm that this is also the case with SQL Server 2008 R2 that would be very helpful.
Thank you, Darren
The discussion of it is:
This requirement focuses on communications protection at the application session, versus network packet level. The intent of this control is to establish grounds for confidence at each end of a communications session in the ongoing identity of the other
party and in the validity of the information being transmitted.
Unique session IDs are the opposite of sequentially generated session IDs which can be easily guessed by an attacker. Unique session identifiers help to reduce predictability of said identifiers. 
Unique session IDs address man-in-the-middle attacks including session hijacking or insertion of false information into a session. If the attacker is unable to identify or guess the session information related to pending application traffic, they will have
more difficulty in hijacking the session or otherwise manipulating valid sessions.
The DBMS must only recognize only system generated session identifiers. If an attacker was able to generate a session with a non-system generated session identifier and have it be recognized by the system, the attacker could potentially gain access to the
system without passing through access controls designed to limit database sessions to authorized users.

Hi Darren,
From your description, do you mean the session_id from DMV sys.dm_exec_sessions? If so, the session_id(s) are all created and handled by SQL Server. When session_id <= 50 , it belongs to a system session, and when session_id > 50, it belongs to a user
session.
Below query could help you generate system sessions in SQL Server 2008 R2. Refer to :
Explore the secrets of session- sys.dm_exec_sessions.
SELECT
S.SESSION_ID,
S.STATUS,
S.HOST_NAME,
C.CLIENT_NET_ADDRESS,
CASE WHEN S.LOGIN_NAME = S.ORIGINAL_LOGIN_NAME THEN S.LOGIN_NAME ELSE S.LOGIN_NAME + ' (' +S.ORIGINAL_LOGIN_NAME + ')' END AS LOGIN_NAME,
S.PROGRAM_NAME,
C.CONNECT_TIME, -- DIFFRENT BETWEEN CONNECT & LOGIN TIME IS TIME TAKEN BY PRELOGON ACTIVITIES
S.LOGIN_TIME,
CASE S.TRANSACTION_ISOLATION_LEVEL
WHEN 0 THEN 'UNSPECIFIED'
WHEN 1 THEN 'READUNCOMITTED'
WHEN 2 THEN 'READCOMMITTED'
WHEN 3 THEN 'REPEATABLE'
WHEN 4 THEN 'SERIALIZABLE'
WHEN 5 THEN 'SNAPSHOT'
ELSE CAST(S.TRANSACTION_ISOLATION_LEVEL AS VARCHAR(32))
END AS TRANSACTION_ISOLATION_LEVEL_NAME,S.LAST_SUCCESSFUL_LOGON, -- REQUIRES 'COMMON CRITERIA COMPLIANCE ENABLED' OPTION VIA SP_CONFIGURE.
S.LAST_UNSUCCESSFUL_LOGON, -- REQUIRES 'COMMON CRITERIA COMPLIANCE ENABLED' OPTION VIA SP_CONFIGURE.
S.UNSUCCESSFUL_LOGONS, --REQUIRES 'COMMON CRITERIA COMPLIANCE ENABLED' OPTION VIA SP_CONFIGURE.
S.CPU_TIME AS CPU_TIME_MS,
S.MEMORY_USAGE AS MEMORY_USAGE_PAGES,
S.ROW_COUNT,
S.PREV_ERROR,
S.LAST_REQUEST_START_TIME,
S.LAST_REQUEST_END_TIME,
C.NET_TRANSPORT,
C.PROTOCOL_TYPE,
S.LANGUAGE,
S.DATE_FORMAT,
ST.TEXT AS QUERY_TEXT
FROM
SYS.DM_EXEC_SESSIONS S
FULL OUTER JOIN SYS.DM_EXEC_CONNECTIONS C ON C.SESSION_ID = S.SESSION_ID
CROSS APPLY SYS.DM_EXEC_SQL_TEXT(C.MOST_RECENT_SQL_HANDLE) ST
WHERE
S.SESSION_ID IS NULL
OR S.SESSION_ID < = 50
ORDER BY
S.SESSION_ID
Thanks,
Lydia Zhang

Similar Messages

  • Analysis Server for sql server 2008 r2 express?

    Not sure if this is a forum where I could ask about how I could obtain analysis server for sql server 2008 R2 express - only for academic purposes (not doing any production stuff - just getting up to speed on OLAP, creating fact tables, star schema,
    snowflake schema, ...).   Suggestions appreciated how I may obtain a version of analysis server for sql server 2008 R2 Express -- or if this is not a good forum to ask that question then I would be grateful for being pointed to the proper forum.
    Thanks
    Rich P

    SQL Express Edition Doesn't support analysis services. 
    http://msdn.microsoft.com/en-us/library/cc645993(v=sql.105).aspx#SSAS
    As Li said, you need to go with the developer edition.
    -Prashanth

  • SQL Server 2008 Installation on Windows 7

    I tried to install SQL Server 2008 on a Windows 7 Home Premium 64 bit (Enterprise Edition Trial Edition). The system check was ok and the installation started successfully but at the end there were some errors. In the logfile there were stacktraces describing failures trying write operations on the registry. What can I do to install SQL Server 2008 on my operating system?

    Hello ChunSong Feng,
    thanks for your advice. Herewith I send you the text parts from detail.txt with the detailed error description. The whole file is too big to send as content.
    Thanks in advance:
    2009-11-17 21:05:10 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;CI;KR;;;S-1-5-21-2556463381-1186548668-390171815-1028)
    2009-11-17 21:05:10 Slp: Prompting user if they want to retry this action due to the following failure:
    2009-11-17 21:05:10 Slp: ----------------------------------------
    2009-11-17 21:05:10 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
    2009-11-17 21:05:10 Slp: Inner exceptions are being indented
    2009-11-17 21:05:10 Slp:
    2009-11-17 21:05:10 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
    2009-11-17 21:05:10 Slp:     Message:
    2009-11-17 21:05:10 Slp:         Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:05:10 Slp:     Data:
    2009-11-17 21:05:10 Slp:       WatsonData = Microsoft SQL Server
    2009-11-17 21:05:10 Slp:       DisableRetry = true
    2009-11-17 21:05:10 Slp:     Inner exception type: System.UnauthorizedAccessException
    2009-11-17 21:05:10 Slp:         Message:
    2009-11-17 21:05:10 Slp:                 Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:05:10 Slp:         Stack:
    2009-11-17 21:05:10 Slp:                 bei System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
    2009-11-17 21:05:10 Slp:                 bei System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
    2009-11-17 21:05:10 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections)
    2009-11-17 21:05:10 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key)
    2009-11-17 21:05:10 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
    2009-11-17 21:05:10 Slp: ----------------------------------------
    2009-11-17 21:05:28 Slp: User has chosen to cancel this action
    2009-11-17 21:05:30 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
    2009-11-17 21:05:30 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2009-11-17 21:05:30 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
    2009-11-17 21:05:30 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_
    2009-11-17 21:05:30 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2009-11-17 21:05:30 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
    2009-11-17 21:05:44 Slp: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:05:45 Slp: Watson bucket for exception based failure has been created
    2009-11-17 21:05:45 SQLBrowser: SQL Server Browser Install for feature 'SQL_Browser_Redist_SqlBrowser_Cpu32' failed with cancel exception: Microsoft.SqlServer.Configuration.Sco.ScoException: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen. ---> System.UnauthorizedAccessException: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
       bei System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
       bei System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
       bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections)
       bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key)
       bei Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
       --- Ende der internen Ausnahmestapelüberwachung ---
       bei Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
       bei Microsoft.SqlServer.Configuration.Sco.SqlRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
       bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfigBase.SetSecurityDescriptorByLocation(String sRegLocation, RegistryView regView, String sSddl, Boolean bOptional)
       bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfigBase.ApplyRegPermissions(XmlNodeList xmlNodeListRegPermissions, Dictionary`2 dictionaryGroups, Dictionary`2 dicLocationFragments)
       bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfig.ApplyRegCommonPermissions(XmlElement xmlRootPermissions, Dictionary`2 dictionaryGroups, Dictionary`2 dicLocationFragments)
       bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfig.ApplyPermissions(String sXmlPermissionsFile, String sBrowserPrincipal)
       bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfig.ConfigStaticProperties(SqlBrowserPublicConfig publicConfigSqlBrowser)
       bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfig.ExecConfigNonRC(SqlBrowserPublicConfig publicConfigSqlBrowser)
       bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfig.SelectAndExecTiming(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcbPublicConfig)
       bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfigBase.ExecWithRetry(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcbPublicConfig).
    2009-11-17 21:05:45 SQLBrowser: The last attempted operation: Der '(A;CI;KR;;;[SQLServer2005SQLBrowserUser$UTAS-URMEL])'-Zugriffssteuerungseintrag wird dem Registrierungsschlüssel 'SOFTWARE\Microsoft\Microsoft SQL Server' in der 'Wow6432'-Sicht hinzugefügt, um den SQL Server Browser-Dienst zu konfigurieren..
    2009-11-17 21:05:45 Slp: Fehler bei der Konfigurationsaktion für Feature SQL_Browser_Redist während der Zeitangabe ConfigNonRC und Szenario ConfigNonRC.
    2009-11-17 21:05:45 Slp: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:05:45 Slp: Fehler bei der Konfigurationsaktion für Feature SQL_Browser_Redist während der Zeitangabe ConfigNonRC und Szenario ConfigNonRC.
    2009-11-17 21:05:45 Slp: Microsoft.SqlServer.Configuration.Sco.ScoException: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen. ---> System.UnauthorizedAccessException: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:05:45 Slp:    bei System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
    2009-11-17 21:05:45 Slp:    bei System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
    2009-11-17 21:05:45 Slp:    --- Ende der internen Ausnahmestapelüberwachung ---
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.Sco.SqlRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfigBase.SetSecurityDescriptorByLocation(String sRegLocation, RegistryView regView, String sSddl, Boolean bOptional)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfigBase.ApplyRegPermissions(XmlNodeList xmlNodeListRegPermissions, Dictionary`2 dictionaryGroups, Dictionary`2 dicLocationFragments)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfig.ApplyRegCommonPermissions(XmlElement xmlRootPermissions, Dictionary`2 dictionaryGroups, Dictionary`2 dicLocationFragments)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfig.ApplyPermissions(String sXmlPermissionsFile, String sBrowserPrincipal)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfig.ConfigStaticProperties(SqlBrowserPublicConfig publicConfigSqlBrowser)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfig.ExecConfigNonRC(SqlBrowserPublicConfig publicConfigSqlBrowser)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfig.SelectAndExecTiming(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcbPublicConfig)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfigBase.ExecWithRetry(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcbPublicConfig)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.SqlBrowser.SqlBrowserPrivateConfig.Install(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcbPublicConfig)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)
    2009-11-17 21:05:45 Slp:    bei Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)
    2009-11-17 21:05:45 Slp: Ausnahme: Microsoft.SqlServer.Configuration.Sco.ScoException.
    2009-11-17 21:05:45 Slp: Quelle: Microsoft.SqlServer.Configuration.Sco.
    2009-11-17 21:05:45 Slp: Meldung: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen..
    2009-11-17 21:05:45 Slp: Innere Ausnahme:
    2009-11-17 21:05:45 Slp:  Ausnahme: System.UnauthorizedAccessException.
    2009-11-17 21:05:45 Slp:  Quelle: mscorlib.
    2009-11-17 21:05:45 Slp:  Meldung: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen..
    2009-11-17 21:05:45 Slp: Completed Action: SqlBro
    2009-11-17 21:05:50 Slp: Prompting user if they want to retry this action due to the following failure:
    2009-11-17 21:05:50 Slp: ----------------------------------------
    2009-11-17 21:05:50 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
    2009-11-17 21:05:50 Slp: Inner exceptions are being indented
    2009-11-17 21:05:50 Slp:
    2009-11-17 21:05:50 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
    2009-11-17 21:05:50 Slp:     Message:
    2009-11-17 21:05:50 Slp:         Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:05:50 Slp:     Data:
    2009-11-17 21:05:50 Slp:       WatsonData = 100
    2009-11-17 21:05:50 Slp:       DisableRetry = true
    2009-11-17 21:05:50 Slp:     Inner exception type: System.UnauthorizedAccessException
    2009-11-17 21:05:50 Slp:         Message:
    2009-11-17 21:05:50 Slp:                 Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:05:50 Slp:         Stack:
    2009-11-17 21:05:50 Slp:                 bei System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
    2009-11-17 21:05:50 Slp:                 bei System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
    2009-11-17 21:05:50 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections)
    2009-11-17 21:05:50 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key)
    2009-11-17 21:05:50 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
    2009-11-17 21:05:50 Slp: ----------------------------------------
    2009-11-17 21:05:57 Slp: User has chosen to cancel this action
    2009-11-17 21:05:58 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
    2009-11-17 21:05:59 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2009-11-17 21:05:59 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
    2009-11-17 21:05:59 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_
    2009-11-17 21:05:59 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2009-11-17 21:05:59 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
    2009-11-17 21:06:17 Slp: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:06:17 Slp: Watson bucket for exception based failure has been created
    2009-11-17 21:06:17 SSIS: Failed to set registry permission on key 'SOFTWARE\Microsoft\Microsoft SQL Server\100' to SID 'S-1-5-21-2556463381-1186548668-390171815-1029'. Error: 'Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.'
    2009-11-17 21:06:17 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;OICI;KR;;;S-1-5-21-2556463381-1186548668-390171815-1029)
    2009-11-17 21:06:17 Slp: Prompting user if they want to retry this action due to the following failure:
    2009-11-17 21:06:17 Slp: ----------------------------------------
    2009-11-17 21:06:17 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
    2009-11-17 21:06:17 Slp: Inner exceptions are being indented
    2009-11-17 21:06:17 Slp:
    2009-11-17 21:06:17 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
    2009-11-17 21:06:17 Slp:     Message:
    2009-11-17 21:06:17 Slp:         Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:06:17 Slp:     Data:
    2009-11-17 21:06:17 Slp:       WatsonData = SSIS
    2009-11-17 21:06:17 Slp:       DisableRetry = true
    2009-11-17 21:06:17 Slp:     Inner exception type: System.UnauthorizedAccessException
    2009-11-17 21:06:17 Slp:         Message:
    2009-11-17 21:06:17 Slp:                 Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:06:17 Slp:         Stack:
    2009-11-17 21:06:17 Slp:                 bei System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
    2009-11-17 21:06:17 Slp:                 bei System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
    2009-11-17 21:06:17 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections)
    2009-11-17 21:06:17 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key)
    2009-11-17 21:06:17 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
    2009-11-17 21:06:17 Slp: ----------------------------------------
    2009-11-17 21:06:24 Slp: User has chosen to cancel this action
    2009-11-17 21:06:26 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
    2009-11-17 21:06:26 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2009-11-17 21:06:26 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
    2009-11-17 21:06:26 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_
    2009-11-17 21:06:26 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
    2009-11-17 21:06:26 Slp: Sco: Attempting to write hklm registry key SOFTWARE\Wow6432Node\Microsoft\MSSQLServer to file C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091117_204850\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
    2009-11-17 21:06:47 Slp: Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:06:47 Slp: Watson bucket for exception based failure has been created
    2009-11-17 21:06:47 SSIS: Failed to set registry permission on key 'SOFTWARE\Microsoft\Microsoft SQL Server\100\SSIS' to SID 'S-1-5-21-2556463381-1186548668-390171815-1029'. Error: 'Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.'
    2009-11-17 21:06:47 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib
    2009-11-17 21:06:47 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;OICI;KR;;;S-1-5-21-2556463381-1186548668-390171815-1029)(A;CI;KR;;;LU)(A;CI;KR;;;MU)
    2009-11-17 21:06:47 Slp: Prompting user if they want to retry this action due to the following failure:
    2009-11-17 21:06:47 Slp: ----------------------------------------
    2009-11-17 21:06:47 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
    2009-11-17 21:06:47 Slp: Inner exceptions are being indented
    2009-11-17 21:06:47 Slp:
    2009-11-17 21:06:47 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
    2009-11-17 21:06:47 Slp:     Message:
    2009-11-17 21:06:47 Slp:         Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:06:47 Slp:     Data:
    2009-11-17 21:06:47 Slp:       WatsonData = Perflib
    2009-11-17 21:06:47 Slp:       DisableRetry = true
    2009-11-17 21:06:47 Slp:     Inner exception type: System.UnauthorizedAccessException
    2009-11-17 21:06:47 Slp:         Message:
    2009-11-17 21:06:47 Slp:                 Es wurde versucht, einen nicht autorisierten Vorgang auszuführen.
    2009-11-17 21:06:47 Slp:         Stack:
    2009-11-17 21:06:47 Slp:                 bei System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
    2009-11-17 21:06:47 Slp:                 bei System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
    2009-11-17 21:06:47 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections)
    2009-11-17 21:06:47 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key)
    2009-11-17 21:06:47 Slp:                 bei Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
    2009-11-17 21:06:47 Slp: ----------------------------------------
    2009-11-17 21:06:52 Slp: User has chosen to cancel this action

  • SQL Server 2008 Profiler--Templates Missing

    For some reason (even after an uninstall, reinstall and updating the the Community Update) there are no templates visible in the Profiler for SQL Server 2008. On another system it works fine but the Trace Provider Type shows "Microsoft SQL Server 2008". On the problem system it shows "Microsoft SQL Server 10.0".
    What's up?

    For some reason (even after an uninstall, reinstall and updating the the Community Update) there are no templates visible in the Profiler for SQL Server 2008. On another system it works fine but the Trace Provider Type shows "Microsoft SQL Server
    2008". On the problem system it shows "Microsoft SQL Server 10.0".
    What's up?
    Here is the actual answer you were all looking for:
    The server you are connecting to is a 10.50 sql server and your machine doesnt have a folder for that. So to fix it, copy your 100 folder (found: C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Profiler\Templates\Microsoft SQL Server\100) making a
    new folder in the same location named 1050.
    Everything will work fine now.

  • How to stop SQL Server 2008 R2 generating SQLDump.mdmp files constantly?

    Something went wrong with local SQL Server 2008 R2 and it constantly generates SQLDump.mdmp files. It generated 40Gb(!) of SQLDump.mdmp this morning. Server rebooted, but didn't help.
    Any ideas what happened with SQL Server and how to stop SQLDump.mdmp files generation?
    SharePoint 2007 - 2010 Tips & Tricks Portal | Microsoft MVP |
    My Blog about Information Management |
    My twitter

    Memory Dumps are generated automatically by the SQL Server under various circumstances - most of which indicate potential problems in the Instance or the machine. Some that I can recall right now are:
    Database Corruption
    Non-yielding scheduler
    Non-yielding resource monitor
    AV (Access Violation)
    There can be several other reasons as well. SQL Server generates the dumps, so that these dumps can be analyzed to find out potential problems in the SQL Server.
    IMHO, rather than trying to find out ways to stop the dumps from being generated, please try to find out potential problems in the Instance or the machine and fix that. This will stop the dump generation anyway.
    In case you need any assistance in analyzing the Dumps, please feel free to engage Microsoft Support.
    Suhas De
    Please mark solved if your question is completely answered; vote it as helpful to help others find a solution quicker.
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog: http://blogs.msdn.com/b/suhde

  • Is it possible to have two or more virtual machines point to a shared instance of SQL Server 2008 R2 for systems administration?

    Hello All,
    I am the Systems Admin for a production box running SQL Server 2008 R2.  I have been ask to do the following and and trying to figure out if it's even possible.
    1. The Production Server is named ProductionA
    2. Create 3 Administrator accounts on ProductionA each with access to the SQL Server instance on ProductionA.  Use Standard SQL Server login for credentials. i.e. Username/Password and assign the role sysadmin.
    3. Install 3 Virtual Machines on ProductionA each with Windows 2008 R2 64 bit operating system.
    4. For each Virtual Machine, Install SQL Management Studio and write down the IP Address assigned to each VM.
    5. Using Remote Desktop Connection, connect to each virtual machine to be able to manage the SQL Server.
    Is this possible?  And, why am i doing it?  Because I DO NOT want the three people who will be having access to the production SQL Server to also have access to the primary host ProductionA.  Since I have to allow them to RDC into the box
    to manage the SQL Server, I figure why not create a separate VM for each one of them and they can RDC into those instead.
    Does this make any sense?
    Any tips are greatly appreciated.  The main reason for doing this is because the three people who will be accessing the box, I need to isolate each one of them and at the same time keep them off of the primary ProductionA.
    Thanks for your help.
    M

      Because I DO NOT want the three people who will be having access to the production SQL Server to also have access to the primary host ProductionA.  Since I have to allow them to RDC into the box to manage the SQL Server, I figure why not create
    a separate VM for each one of them and they can RDC into those instead.
    Does this make any sense?
    Any tips are greatly appreciated.  The main reason for doing this is because the three people who will be accessing the box, I need to isolate each one of them and at the same time keep them off of the primary ProductionA.
    Thanks for your help.
    M
    Hello M,
    Since you dont want the 3 guys to have access to Production machine A.You can install SQL Server client .By client i mean SQL server management studio(SSMS) on there local desktop and then create login for them in SQL Server.Open port on which your SQL server
    is running for three of the machines so that they can connct.Now with SSMS installed on each machine each can connect to SQL server from there own machine.
    I would also like you to be cautious with giving Sysadmin privilege to all three of them ,first please note down what task they would do and then decide what rights to be provided.
    Your option will also work but you need to create 3 VM for that .Which is more tedious task.
    Hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Add does not run with sql server 2008

    Hi all,
    My add on in the development environment does not run with SQL SERVER 2008. It ran well with SQL Server 2005 and sap b1 2207 B.
    On executing the project file system throws an error "YOU ARE NOT CONNECTED TO THE COMPANY"
    we are trying this scenario on a test machine where SAP B1 2007B with temporary license for one month and SQL server 2008
    is installed.
    Help needed.
    Thanking you
    Pradnya

    Hi Use this
    Dim i as integer
    i=oCompany.Connect()
    if i<> 0 Then
    msgbox(ocompany.GetLastErrorDescription ())
    end if
    the you will get the error description also use try catch wherever necessary
    Alternatively you can use
    Dim SboGuiApi As SAPbouiCOM.SboGuiApi
    Dim sConnectionString As String
    Set SboGuiApi = New SAPbouiCOM.SboGuiApi
    sConnectionString = Command
    SboGuiApi.Connect sConnectionString
    Set SBO_Application = SboGuiApi.GetApplication()
    Set ocompany = New SAPbobsCOM.Company 'initialate DI company object
      ocompany = SBO_Application.Company.GetDICompany
    HTH,
    Atul

  • Transact-SQL debugger not working in SQL Server 2008: "...debugger does not support SQL Server 2005 or earlier..."

    I have recently installed SQL Server 2008. When I try to execute a query against an Access database, I receive this debugging error:
    "Unable to start Transact-SQL debugger. The Transact-SQL debugger does not support SQL Server 2005 or earlier versions of SQL Server. (SQLEditors)"
    Nor will the query execute; I get a transport-level error 0. Any thoughts?

    Hi Davidmhjr,
    >>Unable to start the Transact-SQL Debugger. The Transact-SQL Debugger does not support SQL Server 2005 or earlier versions of SQL Server. (SQLEditors).
    Have you tried to restart the server once you have installed SQL Server 2008? As Naomi N mentioned please check the version of SQL Server you are using.
    If you tried to connect to SQL Server 2005 from SQL Server 2008 SSMS, you would not be able to debug and get this error, it happens because T-SQL debugger includes both server-side and client-side components. The server-side debugger components are installed
    with each instance of the SQL Server 2008 Database Engine. The client-side components are installed when you install the SQL Server 2008 client-side tools.
    So it works with SQL Server 2008 only so far. Another way is you can triy to use SQL Server 2005 SSMS to connect to SQL Server 2005.
    More information about configuration requirement to run T-SQL debugger as below, please refer:
    There are no configuration requirements to run the Transact-SQL debugger when SQL Server Management Studio is running on the same computer as the instance of the SQL Server Database Engine. However, to run the Transact-SQL debugger when SQL Server Management
    Studio is running on a different computer from the instance of the Database Engine, you must enable program and port exceptions by using the Windows Firewall Control Panel application on both computers.
    On the computer that is running the instance of the Database Engine, in Windows Firewall, specify the following information:
    •Add TCP port 135 to the exceptions list.
    •Add the program sqlservr.exe to the exceptions list. By default, sqlservr.exe is installed in C:\Program Files\Microsoft SQL Server\MSSQL10.InstanceName\MSSQL\Binn, where InstanceName is MSSQLSERVER for the default instance, and the instance name for
    any named instance.
    •If the domain policy requires network communications to be done through IPsec, you must also add UDP port 4500 and UDP port 500 to the exception list.
    On the computer that is running SQL Server Management Studio, in Windows Firewall, specify the following information:
    •Add TCP port 135 to the exceptions list.
    •Add program ssms.exe (SQL Server Management Studio) to the exceptions list. By default, ssms.exe is installed in C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE.
    Hope it is helpful.
    Regards, Amber zhang

  • SQL Server Usage Summary page, the count of user/device: does not show for SQL Server 2008

    Does MAP tool capture User Summary  (count of users, their details) for SQL Server 2008? 
    At my end, its working for SQL Server 2012 but not showing User Summary for SQL Server 2008..
    Does the User Summary only works for SQL Server 2008 Enterprise edition as one of the thread points out?

    This is from the
    Wiki article:
    SQL Server 2008 Enterprise and Datacenter Editions introduced audit event configuration for Windows security logging, which enabled SQL Server 2008 to log logon events to the Windows Security log. The table below shows which versions and editions have the Audit
    feature that is needed to record the logon events. MAP cannot obtain user and device access information for any other editions or any older versions of SQL Server.
    Datacenter
    Enterprise
    Business Intelligence
    Standard
    Workgroup
    Web
    Express
    SQL Server 2008
    N/A
    Yes
    N/A
    No
    No
    No
    No
    SQL Server 2008 R2
    Yes
    Yes
    N/A
    No
    No
    No
    No
    SQL Server 2012
    N/A
    Yes
    Yes
    Yes
    N/A
    Yes
    Yes
    Please remember to click "Mark as Answer" on the post that helps you, and to click
    "Unmark as Answer" if a marked post does not actually answer your question. Please
    VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.

  • "SQL Server 2008 Reporting Services does not support map report items"

    Hi,
    I am trying some new feature that are introduced in SQL Server 2008 R2 version. While I try to use "Map" control within it, it threw the following error:-
    "Error 1 The map, Map1, was removed from the report. SQL Server 2008 Reporting Services does not support map report items. "
    -Also, similar kind of error I am getting for "Indicator" control.

    Hi Tej,
    I think you get this error message when you are deploying a report to report server using BIDS, correct?  If not, please provide more details on your scenario :-)
    If I guessed correctly, then this message is a result of trying to deploy a map report (a SSRS 2008 R2 feature) to a non-R2 2008 report server.  When deploying a report of RDL2010 format to a non-R2 report server, BIDS will downgrade the file to RDL2008 format, so that the non-R2 report server can process it.  Any report elements using features not supported in RDL2008 will be dropped during this downgrade process.
    BIDS gets the server version from a report project property called TargetServerVersion:
    http://technet.microsoft.com/en-us/library/ee635898(SQL.105).aspx
    If your report server is indeed the 2008 R2 version, then the TargetServerVersion property should be set to "SQL Server 2008 R2 Reporting Services."  The project property page also has a "Auto Detect..." option if you are uncertain about the version of your report server.
    Hope this helps!
    Cheers,
    LawrenceThis posting is provided "AS IS" with no warranties, and confers no rights.

  • Need clear steps for doing performance tuning on SQL Server 2008 R2 (DB Engine, Reporting Services and Integration Services)

    We have to inverstigate about a reporting solution where things are getting slow (may be material, database design, network matters).
    I have red a lot in MSDN and some books about performance tuning on SQL Server 2008 R2 (or other) but frankly, I feel a little lost in all that stuff
    I'am looking for practical steps in order to do the tuning. Someone had like a recipe for that : a success story...
    My (brain storm) Methodology should follow these steps:
     Resource bottlenecks: CPU, memory, and I/O bottlenecks
     tempdb bottlenecks
     A slow-running user query : Missing indexes, statistics,...
     Use performance counters : there are many, can one give us the list of the most important
    how to do fine tuning about SQL Server configuration
    SSRS, SSIS configuration ? 
    And do the recommandations.
    Thanks
    "there is no Royal Road to Mathematics, in other words, that I have only a very small head and must live with it..."
    Edsger W. Dijkstra

    Hello,
    There is no clear defined step which can be categorized as step by step to performance tuning.Your first goal is to find out cause or drill down to factor causing slowness of SQL server it can be poorly written query ,missing indexes,outdated stats.RAM crunch
    CPU crunch so on and so forth.
    I generally refer to below doc for SQL server tuning
    http://technet.microsoft.com/en-us/library/dd672789(v=sql.100).aspx
    For SSIS tuning i refer below doc.
    http://technet.microsoft.com/library/Cc966529#ECAA
    http://msdn.microsoft.com/en-us/library/ms137622(v=sql.105).aspx
    When I face issue i generally look at wait stats ,wait stats give you idea about on what resource query was waiting.
    --By Jonathan KehayiasSELECT TOP 10
    wait_type ,
    max_wait_time_ms wait_time_ms ,
    signal_wait_time_ms ,
    wait_time_ms - signal_wait_time_ms AS resource_wait_time_ms ,
    100.0 * wait_time_ms / SUM(wait_time_ms) OVER ( )
    AS percent_total_waits ,
    100.0 * signal_wait_time_ms / SUM(signal_wait_time_ms) OVER ( )
    AS percent_total_signal_waits ,
    100.0 * ( wait_time_ms - signal_wait_time_ms )
    / SUM(wait_time_ms) OVER ( ) AS percent_total_resource_waits
    FROM sys.dm_os_wait_stats
    WHERE wait_time_ms > 0 -- remove zero wait_time
    AND wait_type NOT IN -- filter out additional irrelevant waits
    ( 'SLEEP_TASK', 'BROKER_TASK_STOP', 'BROKER_TO_FLUSH',
    'SQLTRACE_BUFFER_FLUSH','CLR_AUTO_EVENT', 'CLR_MANUAL_EVENT',
    'LAZYWRITER_SLEEP', 'SLEEP_SYSTEMTASK', 'SLEEP_BPOOL_FLUSH',
    'BROKER_EVENTHANDLER', 'XE_DISPATCHER_WAIT', 'FT_IFTSHC_MUTEX',
    'CHECKPOINT_QUEUE', 'FT_IFTS_SCHEDULER_IDLE_WAIT',
    'BROKER_TRANSMITTER', 'FT_IFTSHC_MUTEX', 'KSOURCE_WAKEUP',
    'LAZYWRITER_SLEEP', 'LOGMGR_QUEUE', 'ONDEMAND_TASK_QUEUE',
    'REQUEST_FOR_DEADLOCK_SEARCH', 'XE_TIMER_EVENT', 'BAD_PAGE_PROCESS',
    'DBMIRROR_EVENTS_QUEUE', 'BROKER_RECEIVE_WAITFOR',
    'PREEMPTIVE_OS_GETPROCADDRESS', 'PREEMPTIVE_OS_AUTHENTICATIONOPS',
    'WAITFOR', 'DISPATCHER_QUEUE_SEMAPHORE', 'XE_DISPATCHER_JOIN',
    'RESOURCE_QUEUE' )
    ORDER BY wait_time_ms DESC
    use below link to analyze wait stats
    http://www.sqlskills.com/blogs/paul/wait-statistics-or-please-tell-me-where-it-hurts/
    HTH
    PS: for reporting services you can post in SSRS forum
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • I installed visual studio 2010 in my windows 8.1 system.during the installation sql server 2008 r2 features were installed.so which version of sql server i need to install(2008 or 2008 r2)?

    hi,
    I installed visual studio 2010 in my windows 8.1 system.during the installation sql server 2008 r2 features were installed.so which version of sql server i need to install(2008 or 2008 r2)?
    regards,
    harsha.

    My guess is SQL Server 2008 R2.
    Check the following KB article for details:
    http://support.microsoft.com/kb/2681562
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Problem with full backup with copy only in maintenance plan sql server 2008

    Hello
    I am starter DBA for sql server in general
    I have problem related to backup with maintenance plan in sql server 2008 and 2008 r2
    I created maintenance plan to take full back up  with copy only option checked, but when I check the back up in backupset table is_copy_only column it shows 0 for databases that I run job for.
    I did the same steps on sql server 2012 and I checked backupset table is_copy_only column it shows 1 for databases that I run job for .so it works as it should be
    Note: all the servers I mention here are production servers 

    Copy-only Backup  by using GUI ( SSMS) in SQL Server 2008 but it was not available in  Maintenance Plan "Back
    Up Database Task". Now in SQL Server 2012 It is included in "Back Up Database
    Task". 
    http://sqlage.blogspot.in/2013/06/dba-maintenance-plan-back-up-database.html

  • SQL Server reporting services error "URl has already been reserved" while doing upgrade from SQL server 2008 R2 to SQL server 2012

    "URl has already been reserved".
    Reporting services for port 80 and 443 works fine both for reports and reportingserver on SQL server 2008 R2. But when I try to upgrade from SQL server 2008 R2 to 2012 this error pops up. How to make sure before upgrading regarding reporting services that
    URL reserves and SSL are fine  or how to fix reporting services are upgrade like repair install.
    Thanks

    Hi yashmitl,
    In your case, please running the following command to check the current URL reservations on http.sys.
    netsh http show urlacl
    Then, please delete the URL reservation by executing the following command try to resolve the issue.
    netsh http delete urlacl <url>
    There is a similar issue, you can refer to it.
    http://social.technet.microsoft.com/Forums/en-US/d5204dd3-e26d-4592-8ef0-a94005fc46a5/the-url-has-already-been-reserved?forum=sqlreportingservices
    Hope this helps.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • This feature can only be installed on a server running SQL Server 2008 R2 SP1 or later ERROR

    Attempting to install MBAM 2.5, and the SQL Server I have available for the install is SQL Server 2008 R2 SP2; the databases installed correctly, but when I run the Reports install it suddenly doesn't like my SQL anymore. The error says I need to install
    SQL Server 2008 R2 SP1, SQL Server 2012 SP1, or later - and the server is already at that level.
    Any idea of how to progress without needing to wipe out SQL and upgrading everything to 2012 R2? I really need to get this running ASAP, so I'm hoping there's a tip that will allow me to get the install to complete.

    Added note: When I check the mbam setup logs in event viewer, I get the following error:
    IsSupportedSqlVersion: The SQL version is not supported - 10.50.1600.1.
    Checking the version in SQL Management Studio shows:
    select @@VERSION
    Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64)

Maybe you are looking for