1456 Error creating witness in SQL Server 2008 R2...

Setup is two 2008 R2 Standard servers with a mirrored database. All works fine without a witness - I can perform a manual failover and my test app works off the failover database. Trying to add 2008 R2 Express as a witness to enable automatic failover,
and getting error along the lines of:
The ALTER DATABASE command could not be sent to the remote server instance TCP://%witnesserver.fqdn.com:5022. Error 1456
Found a fairly recent fix for SQL 2008 (r1) for this, but not for R2. Is this still a known problem in R2 or am I missing something crucial?
All the servers use the same service account for all services (it's proof of concept, not production).
Thanks in advance,
Neil

In my case after spending several hours of troubleshooting/Googling, with none of the many posted/documented fixes working, I found the solution to my SQL 1456 error to be ROOTED in the SQL Server Configuration Manager\SQL Server Network configuration\Protocols
for MSSQLSERVER\IP Addresses.  There was an old IP address listed in the (Active) IP1 configuration.  Even though DNS was resolving to the new/correct IPaddress and Witness Name along with the local HOST file on the Pricipal/Mirror/Witness all
containing the correct IP/DNS entries, this old address still was embeded in the SQL Server Configuration Manager\SQL Server Network configuration\Protocols for MSSQLSERVER\IP Addresses.  Once I modified the IP entry to match the current Witness
IP address all was GOLDEN.  This may not be the solution for your 1456 Error, but it is one that can be added to the plethera of possible fixes for it.  I hope this saves someone some time and effort along the way.  - Lou

Similar Messages

  • Service-specific error code -2146885628- MS SQL Server 2008 r2 Express

    I have had no end of problems starting my MS SQL Server 2008 r2 Express.
    My database program (Sage ACT! Pro 2011) starts fine. However when it attempts to start my default database, I get the following error message:
    When I start my database within my application software (ACT Pro 2011) , I get the following error:
    I am not abler to open any database with in ACT 2011. This error tells me that I must manually start SQL Server. I am running Windows 7 Pro, SP1. So I go to Services, and right click on SQL Server (ACT7) and click start and get the following error:
    I have contacted Swiftpage and spent 2 hours on the phone with their technical support. They manually (via remote desktop connection) deleted ACT Pro 2011 and manually deleted SQL Server 2008 r2 Express (in registry and all files and folders).
    I decided to upgrade, so ACT Pro v16 was installed. SQL Server still would not start automatically or manually. The ACT technical support person, after two very long hours said: that it is not an ACT problem, that I would need to turn to Microsoft for
    a resolution as to why SQL Server will not start, and how to remedy this issue.
    I hope someone can offer help or point me in the direction to get this very bad problem resolved. I cannot work without my CRM! can someone help?
    Thanks!

    This is the sum total of an error log in: C:\Program Files\Microsoft SQL Server\MSSQL10_50.act7\MSSQL\Log. There are no error logs for June 23 to July 14. This is the closest
    date to the first time I experienced this SQL Server problem.
    2014-07-15 09:32:43.31 Server      Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64) 
    Jun 28 2012 08:36:30 
    Copyright (c) Microsoft Corporation
    Express Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
    2014-07-15 09:32:44.12 Server      (c) Microsoft Corporation.
    2014-07-15 09:32:44.12 Server      All rights reserved.
    2014-07-15 09:32:44.12 Server      Server process ID is 2276.
    2014-07-15 09:32:44.15 Server      System Manufacturer: 'TOSHIBA', System Model: 'Satellite L775D'.
    2014-07-15 09:32:44.27 Server      Authentication mode is MIXED.
    2014-07-15 09:32:44.27 Server      Logging SQL Server messages in file 'c:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\Log\ERRORLOG'.
    2014-07-15 09:32:44.63 Server      This instance of SQL Server last reported using a process ID of 6980 at 7/15/2014 9:13:22 AM (local) 7/15/2014 1:13:22 PM (UTC). This is an informational message only; no user action is required.
    2014-07-15 09:32:44.63 Server      Registry startup parameters: 
    -d c:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\DATA\master.mdf
    -e c:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\Log\ERRORLOG
    -l c:\Program Files\Microsoft SQL Server\MSSQL10_50.ACT7\MSSQL\DATA\mastlog.ldf
    2014-07-15 09:32:46.39 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
    2014-07-15 09:32:46.40 Server      Detected 4 CPUs. This is an informational message; no user action is required.
    2014-07-15 09:33:00.47 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
    2014-07-15 09:33:33.57 Server      Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational message
    only. No user action is required.
    2014-07-15 09:33:37.59 spid7s      Starting up database 'master'.
    2014-07-15 09:33:40.89 spid7s      FILESTREAM: effective level = 0, configured level = 0, file system access share name = 'ACT7'.
    2014-07-15 09:33:42.39 spid7s      SQL Trace ID 1 was started by login "sa".
    2014-07-15 09:33:42.56 spid7s      Starting up database 'mssqlsystemresource'.
    2014-07-15 09:33:42.86 spid7s      The resource database build version is 10.50.4000. This is an informational message only. No user action is required.
    2014-07-15 09:33:46.59 spid10s     Starting up database 'model'.
    2014-07-15 09:33:46.58 spid7s      Server name is 'Harold_Schultz\ACT7'. This is an informational message only. No user action is required.
    2014-07-15 09:33:46.59 spid10s     Error: 17204, Severity: 16, State: 1.
    2014-07-15 09:33:46.59 spid10s     FCB::Open failed: Could not open file e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\model.mdf for file number 1.  OS error: 3(The system cannot find the path specified.).
    2014-07-15 09:33:46.85 spid7s      Informational: No full-text supported languages found.
    2014-07-15 09:33:46.85 spid10s     Error: 5120, Severity: 16, State: 101.
    2014-07-15 09:33:46.85 spid10s     Unable to open the physical file "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\model.mdf". Operating system error 3: "3(The system cannot find the path specified.)".
    2014-07-15 09:33:46.85 spid7s      Starting up database 'msdb'.
    2014-07-15 09:33:46.85 spid7s      Error: 17204, Severity: 16, State: 1.
    2014-07-15 09:33:46.85 spid7s      FCB::Open failed: Could not open file e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBData.mdf for file number 1.  OS error: 3(The system cannot find the path specified.).
    2014-07-15 09:33:46.85 spid7s      Error: 5120, Severity: 16, State: 101.
    2014-07-15 09:33:46.85 spid7s      Unable to open the physical file "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBData.mdf". Operating system error 3: "3(The system cannot find the path specified.)".
    2014-07-15 09:33:47.04 Server      Warning: Support for the VIA protocol is deprecated and will be removed in a future version of Microsoft SQL Server. If possible, use a different network protocol and disable VIA.
    2014-07-15 09:33:47.33 Server      Virtual Interface Architecture protocol is not supported for this particular edition of SQL Server.
    2014-07-15 09:33:48.03 spid7s      Error: 17207, Severity: 16, State: 1.
    2014-07-15 09:33:48.03 spid7s      FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBLog.ldf'.
    Diagnose and correct the operating system error, and retry the operation.
    2014-07-15 09:33:48.04 spid10s     Error: 17207, Severity: 16, State: 1.
    2014-07-15 09:33:48.04 spid10s     FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\modellog.ldf'. Diagnose
    and correct the operating system error, and retry the operation.
    2014-07-15 09:33:48.08 spid7s      File activation failure. The physical file name "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBLog.ldf" may be incorrect.
    2014-07-15 09:33:48.08 spid10s     File activation failure. The physical file name "e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\modellog.ldf" may be incorrect.
    2014-07-15 09:33:48.15 spid10s     Error: 945, Severity: 14, State: 2.
    2014-07-15 09:33:48.15 spid10s     Database 'model' cannot be opened due to inaccessible files or insufficient memory or disk space.  See the SQL Server errorlog for details.
    2014-07-15 09:33:48.38 spid10s     Could not create tempdb. You may not have enough disk space available. Free additional disk space by deleting other files on the tempdb drive and then restart SQL Server. Check for additional errors in the event
    log that may indicate why the tempdb files could not be initialized.
    2014-07-15 09:33:48.39 spid10s     SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
    2014-07-15 09:33:48.38 Server      Error: 17190, Severity: 16, State: 1.
    2014-07-15 09:33:48.38 Server      Initializing the FallBack certificate failed with error code: 1, state: 1, error number: -2146893802.
    2014-07-15 09:33:48.42 Server      Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
    2014-07-15 09:33:48.44 Server      Error: 17182, Severity: 16, State: 1.
    2014-07-15 09:33:48.44 Server      TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
    2014-07-15 09:33:48.44 Server      Error: 17182, Severity: 16, State: 1.
    2014-07-15 09:33:48.44 Server      TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property.
    2014-07-15 09:33:48.44 Server      Error: 17826, Severity: 18, State: 3.
    2014-07-15 09:33:48.44 Server      Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
    2014-07-15 09:33:48.44 Server      Error: 17120, Severity: 16, State: 1.
    2014-07-15 09:33:48.44 Server      SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.

  • Error received when installing SQL Server 2008 R2 Express

    I receive the following error when I try to install SQL Server 2008 R2 Express-
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral,
    PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\Users\rhaas\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config line 5) ---> System.IO.FileNotFoundException:
    Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
    File name: 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
       at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
       at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory..ctor(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
       at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
       --- End of inner exception stack trace ---
       at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
       at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
       at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
       at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
       at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
       at System.Configuration.ConfigurationManager.GetSection(String sectionName)
       at System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
       at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
       at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
       at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
       at System.Configuration.SettingsBase.get_Item(String propertyName)
       at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
       at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
       at Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings.get_WindowPlacement()
       at Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    LandingPage
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
        CodeBase:
    file:///c:/976a3a4150b5ddedc8968e5dee63fa41/x86/LandingPage.exe
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    Microsoft.SqlServer.Configuration.Sco
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
        CodeBase:
    file:///c:/976a3a4150b5ddedc8968e5dee63fa41/x86/Microsoft.SqlServer.Configuration.Sco.DLL
    Microsoft.SqlServer.Chainer.Infrastructure
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
        CodeBase:
    file:///c:/976a3a4150b5ddedc8968e5dee63fa41/x86/Microsoft.SqlServer.Chainer.Infrastructure.DLL
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    Microsoft.SqlServer.Management.Controls
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
        CodeBase:
    file:///c:/976a3a4150b5ddedc8968e5dee63fa41/x86/Microsoft.SqlServer.Management.Controls.DLL
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
        CodeBase:
    file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    Does anyone have any ideas on how to proceed?  Installing will not complete.

    Hi Balmukund!
    Thanks for your help.  I did rename both folders to a generic name (rename_folder_1 & rename_folder_2) and the install failed again.  Did I rename the folders in a correct manner?  Below is a copy of the user.config file referenced in
    your post above.  Any additional direction would be very helpful.
    Thanks!
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
        <configSections>
            <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
                <section name="Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    allowExeDefinition="MachineToLocalUser" requirePermission="false" />
            </sectionGroup>
        </configSections>
        <userSettings>
            <Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings>
                <setting name="WindowPlacement" serializeAs="Xml">
                    <value>
                        <WINDOWPLACEMENT xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                            <showCmd>3</showCmd>
                            <ptMinPosition>
                                <x>-1</x>
                                <y>-1</y>
                            </ptMinPosition>
                            <ptMaxPosition>
                                <x>-1</x>
                                <y>-1</y>
                            </ptMaxPosition>
                            <rcNormalPosition>
                                <left>0</left>
                                <top>0</top>
                                <right>800</right>
                                <bottom>600</bottom>
                            </rcNormalPosition>
                        </WINDOWPLACEMENT>
                    </value>
                </setting>
            </Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings>
        </userSettings>
    </configuration>

  • Permission denied when creating database in Sql Server 2008 for SQLExpress

    I'm getting an permission error while restoring the database. I'm using SQL Server 2008 SQLEXPRESS
    I'm able to create the user using this script " CREATE LOGIN [darth\vader] FROM WINDOWS;
    GO;"
    But when I try to give role to the user it's still give me permission error.. SP_ADDSRVROLEMEMBER ‘darth\vader’, ‘sysadmin’
    Can someone guide me how to resolve this issue?

    http://msdn.microsoft.com/en-us/library/ms186858.aspx
    Permissions
    If the database being restored does not exist, the user must have CREATE DATABASE permissions to be able to execute RESTORE. If the database exists, RESTORE permissions default to members of the sysadmin and dbcreator fixed
    server roles and the owner (dbo) of the database (for the FROM DATABASE_SNAPSHOT option, the database always exists).
    RESTORE permissions are given to roles in which membership information is always readily available to the server. Because fixed database role membership can be checked only when the database is accessible and undamaged, which is not always the case when RESTORE
    is executed, members of the db_ownerfixed database role do not have RESTORE permissions.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • ODBC Error when migrating from SQL Server 2008 to SQL Anywhere 12

    Hello community,
    i have the following requirement:
    I need to migrate a Database with some Demo data into a SQL Anywhere 12 Database. The SQL Anywhere 12 Database is part of the SAP BusinessObjects Enterprise XI 3.1 SP7 installation and came with the same as OEM Product.
    The Environment looks like the following:
    DB1 is a MS SQL Server 2008 R2 64 Bit running on Windows Server 2008 R2 64 Bit.
    DB2 is the SAP BusinessObjects Enterprise XI 3.1 SP7 installation with the shipped SQL Anywhere 12 (12.0.1.3873) Database running on SLES 11.3 64 Bit
    CL1 is my Windows 7 64 Bit Client where Sybase Central is installed in 64 Bit. On CL1 i have a 64 Bit System ODBC Connection connecting to DB1 successfully.
    Basically i followed the following (pretty straight forward) tutorial:
    Migrating a SQL Server Database to SQL Anywhere White Paper-Technical: Mobile Enterprise, Database Management iAnywhere …
    When i want to test the connection from inside Sybase Central (During the migration process) i receive the following error:
    From inside Sybase Central my connection looks as follows:
    And from the ODBC Manager the connection looks as follows:
    Personally i found is strange that the Sybase ODBC Driver Manager drops the error. I would expect that the MS SQL ODBC Driver Manager pops the error it its related to the ODBC DSN to DB1.
    Any ideas?
    Thanks and Regards
    -Seb.

    Hi Sebastian,
    The data from the SQL Server database must be migrated to an existing SQL Anywhere database.  Could you please tell me where this SQL Anywhere database resides and how are you connecting to it?
    The error message is saying that the connection to the SQL Anywhere remote database server is failing, as opposed to the connection to the SQL Server database.

  • Upgrating SQL Server 2008 R2 SP2 to SQL Server 2014 Standard "UpgradeFeatureSpecificRules: KJRTMUpgradeBlockRule"

    I've been searching for HOURS how to resolve this issue:
    I am trying to upgrade SQL Server 2008 R2 (Express Edition with advanced services) to SQL SERVER 2014 Standard edition, my first issue was to update the 2008 R2 to Service pack 2 on the first FEATURE RULE TEST, at this time on it's keep saying this:
    ======================================================================================
    Rule Check Result
    Rule "SQL Server 2008 R2 Service pack 2 or later is requered for upgrade.: failed.
    This SQL Server 2008 R2 features that have been selected to be upgraded to SQL Server 2014 are not at the require service pack. To continue with this upgrade, install SQL Server 2008 Service Pack 2 or lager to the selected instance and the shared features.
    =====================================================================================
    This is the Configuration Report issue:
    Microsoft SQL Server 2014 - System Configuration Check Report
    UpgradeFeatureSpecificRules: SQL Server 2014 Setup configuration checks for rules group 'UpgradeFeatureSpecificRules'
        KJRTMUpgradeBlockRule     
    Checks if the currently selected SQL Server 2008 R2 features to upgrade are at the supported service pack.     Failed     The SQL Server 2008 R2 features that have been selected to be upgraded to SQL Server 2014 are not at the
    required service pack. To continue with this upgrade, install SQL Server 2008 Service Pack 2 or later to the selected instance and the shared features.
    ====================================================================================
    I try after hours and finally did install the Upgrade Advisor and got not issues, the last choice I was to uninstall the Management Studio because in other upgrade express versions got blocked, but in this new version of SQL Server 2014 I don't see any way
    out!!!
    Thanks.

    Hi again
    This is the scenario:
    -I have installed the SQL SERVER 2008 R2 With Advanced services (version 10.50.1600.1), and now my guest decide to upgrade to an STARNDARD version which nowadays Microsoft is offering the 2014 version.
    -As all IT Support and DBA I try to upgrade to SQL 2014 to check and see with requirements were missing or updates. The first check report only ask to upgrade to SQL SERVER 2008 R2 SP2 (version 10.51.2500.0) which I found in the optional update list and
    resolved immediately with the Windows Update service.
    -Finally, I realise doing the discovery report (suggested in the last post) is that Windows update only download the service pack 2 for SQL Server 2008 instead of the 2008 R2 (I downloaded manually) then the version was upgrade to 10.52.4000.0
    Next time I might download the updates manually and not loosing a lot hours with Windows Update, another point very important is that when SQL Server 2008 R2 is installed, create the Microsoft SQL Server 2008 folder at all programas in the Startup menu:
    with the SQL Server Installation Center, but there is not one R2, when you execute this one just show the 2008 installed features.
    Now we are on 12.0.2000.8
    Thanks anyway and all of you for your interest!!!

  • "Value cannot be null" error when trying to edit or create Maintenance Plan in SQL Server 2008

    I have SQL Server 2008 installed on Windows Server 2008 64bit, every time I try to open or create a new Maintenance Plan I receive the error:
    Value cannot be null.
    Parameter name: component (System.Design)
    Program Location:
       at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IDesignerHost.GetDesigner(IComponent component)
       at Microsoft.DataTransformationServices.VsIntegration.DtsDesignerService.OpenDesigner(String connectionString, Object connection, String objectUrn)
       at Microsoft.SqlServer.Management.DatabaseMaintenance.MaintDesignerMenuHandler.Invoke()
    And in the Design view screen
    "Microsoft SQL Server Management Studio is unable to load this document: Could not load type 'Microsoft.SqlServer.Dts.runtime.Wrapper.IDTSPackageSigning100' from assembly 'Microsoft.SqlServer.DTSRunTimeWrap, Version=10.0.0.0, Culture=neutral'. 
    I have searched for a possible solution and have tried some suggestions of registering the msxml6.dll but and have installed VS2008 SP1 but I'm not in a position where I can do a full reinstall of SQL Server right now. Any help is appreciated. My SQL server
    environment information is below. 
    Microsoft SQL Server Management Studio
    10.0.1600.22 ((SQL_PreRelease).080709-1414 )
    Microsoft Analysis Services Client Tools
    2007.0100.1600.022 ((SQL_PreRelease).080709-1414 )
    Microsoft Data Access Components (MDAC)
    6.0.6002.18005 (lh_sp2rtm.090410-1830)
    Microsoft MSXML 3.0 4.0 5.0 6.0 
    Microsoft Internet Explorer 8.0.6001.18943
    Microsoft .NET Framework 2.0.50727.4206
    Operating System 6.0.6002

    I digged a little deeper and figured out it was a missing directory/file in %TEMP%. Seems some CleaningTool removes all files/directories in %Temp% and after that SSMS was not working any longer. The missing file is actually not needed, but the
    missing directory causes the "Value cannot be null" error.
    My missing file name was:
    C:\Users\<username>\AppData\Local\Temp\2\6vvdaozf.tmp
    But the file name changes on every startup.
    So my missing directory name was:
    C:\Users\<username>\AppData\Local\Temp\2
    After creating a empty directory with the name "2" in %TEMP% all went back to work fine for me.
    I'm not sure the directory name is every time the same, but you can discover your missing file with the process monitor from Sysinternal Tools and filters to "Process Name is ssms.exe" and "Path contains AppData\Local\Temp"
    Hope this helps other people to solve their issues too.
    Thank you!! When I run %temp% it takes me to "C:\Users\Admin ...~\AppData\Local\Temp\some random number". At first the random number was 3, after I logged off and back on it was 2. My temp variable in enviromental variables is correct. I looked on another machine
    running SQL2008 and temp is correct there. If I try to rename the numbered folder SSMS stops working. Any idea?

  • Error creating GTC to Microsoft SQL Server 2008

    I have a table in a Microsoft SQL Server 2008 data base.
    When I set the configuration of the connector I get and error.
    com.thortech.xl.gc.exception.DBException: The schema sipec does not exist in the target database.
    In the database performed the following query " select * from sipec.dbo.TABLE" and throws me results. But if I performed the following query “select * from sipec.TABLE” this brings me no results.
    So if in the field “Parent Table/View Name” I put this “sipec.dbo.TABLE” in the log file I see this error
    com.thortech.xl.gc.exception.DBException: The table name must be specified in the form of [Schema].[Table] or [Table]
    I put the driver where the guide indicate

    What is the solution?
    I have the same thing with SQL Server 2008 64 bit. When i switch my datasource from SQL 2008 to SQL 2000 it works great otherwise it will not work. I have checked SQL Server 2008 that all the ports show 1433. I have been stuck on this for a while. I also checked the SQL Server Network Configuration / TCP/IP and i have nothing in the dynamic field and all the ports show 1433. If someone has allready figured this out it would be good to have a solution- Especially since coldfusion is supposed to connect to the database....
    Thanks for any help.

  • Creating the report in BI Publisher with SQL SERVER 2008

    Dear Team,
    I want to create report on BI Publisher....i am able to create report with the help of oracle database ...but i dont'nt know how to create DATA MODEL in sql server 2008 ...
    plz tell me the wright way....
    Thanks,
    Him..

    Hi Jin Chen,
    Thank you for your response. I have disabled all the Symantec End Point Protection Service, but problem persists..
    Further, I have checked through the ULS Log in SharePoint, there is more error reported there:
    11/03/2010 15:19:48.44 ReportingServicesService.exe (0x3510)  
    0x4064
    Windows SharePoint Services   Database                      
    6f8g Unexpected
    Unexpected query execution failure, error code 282. Additional error information from SQL Server is included below. "The 'proc_GetTpWebMetaDataAndListMetaData' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be
    returned instead." Query text (if available): "{?=call proc_GetTpWebMetaDataAndListMetaData(?,'F77D6A37-F8D2-492C-911C-923C8A135DEB',?,NULL,1,?,?,6187)}"
    11/03/2010 15:19:51.46 ReportingServicesService.exe (0x3510)  
    0x4064
    Windows SharePoint Services   General                      
    8e2s Medium  
    Unknown SPRequest error occurred. More information: 0x80020009
    11/03/2010 15:19:51.69 ReportingServicesService.exe (0x3510)  
    0x1EEC
    Windows SharePoint Services   General                      
    8e2s Medium  
    Unknown SPRequest error occurred. More information: 0x80020009
    Do you have any idea based on the error above?

  • Unable to Install SQL Server 2008 R2 64 Bit on clean install of Server 2008 R2 64 Bit Error CLR20r3

    Hi,
    I'm trying to install SQL Server 2008 R2 64  on a clean install of Server 2008 R2 64 Bit. Shortly after double clicking on the setup I get a Windows error message saying the installer has stopped working with the details below.
    Suggestions welcomed.
    Description:
    Stopped working
    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: setup100.exe
    Problem Signature 02: 10.50.1600.1
    Problem Signature 03: 4bb6742c
    Problem Signature 04: Microsoft.SqlServer.Chainer.Setup
    Problem Signature 05: 10.0.0.0
    Problem Signature 06: 4bb6742c
    Problem Signature 07: 4
    Problem Signature 08: 5
    Problem Signature 09: System.BadImageFormatException
    OS Version: 6.1.7600.2.0.0.272.7
    Locale ID: 3081
    Read our privacy statement online:
    If the online privacy statement is not available, please read our privacy statement offline:
    C:\Windows\system32\en-US\erofflps.txt
    Thanks,
    Adam

    Thanks for your reply Balmukund
    10/28/2010 12:53:23.448 ======================================================================
    10/28/2010 12:53:23.495 Setup launched
    10/28/2010 12:53:23.510 Attempting to determine media source
    10/28/2010 12:53:23.526 Media source value not specified on command line argument.
    10/28/2010 12:53:23.557 Setup is launched from media directly so default the value to the current folder.
    10/28/2010 12:53:23.573 Media source: D:\
    10/28/2010 12:53:23.604 Attempt to determine media layout based on file 'D:\mediainfo.xml'.
    10/28/2010 12:53:26.708 Media layout is detected as: Full
    10/28/2010 12:53:26.724 Not a slip stream media, so continuing to run setup.exe from media.
    10/28/2010 12:53:26.771 /? or /HELP or /ACTION=HELP specified: false
    10/28/2010 12:53:26.786 Help display: false
    10/28/2010 12:53:26.802 Checking to see if we need to install .Net version 3.5
    10/28/2010 12:53:26.817 Determining the cluster status of the local machine.
    10/28/2010 12:53:26.849 The local machine is not configured as a cluster node.
    10/28/2010 12:53:26.864 Attempting to find media for .Net version 3.5
    10/28/2010 12:53:27.083 .Net version 3.5 is installed
    10/28/2010 12:53:27.098 RedistMSI::GetExpectedBuildRevision - Setup expects MSI 4.5.6001.22159 at the minimum
    10/28/2010 12:53:27.114 Attempting to get Windows Installer version
    10/28/2010 12:53:27.129 Windows Installer version detected: 5.0.7600.16385
    10/28/2010 12:53:27.145 RedistMSI::IsVistaRTM - Not Vista RTM build
    10/28/2010 12:53:27.176 Required version of Windows Installer is already installed
    10/28/2010 12:53:27.192 Attempting to get Windows Installer version
    10/28/2010 12:53:27.223 Windows Installer version detected: 5.0.7600.16385
    10/28/2010 12:53:27.239 RedistMSI::IsVistaRTM - Not Vista RTM build
    10/28/2010 12:53:27.270 Required version of Windows Installer is already installed
    10/28/2010 12:53:27.285 Local setup.exe not found, so continuing to run setup.exe from media.
    10/28/2010 12:53:27.317 Attempt to initialize SQL setup code group
    10/28/2010 12:53:27.348 Attempting to determine security.config file path
    10/28/2010 12:53:27.379 Checking to see if policy file exists
    10/28/2010 12:53:27.395 .Net security policy file does exist
    10/28/2010 12:53:27.410 Attempting to load .Net security policy file
    10/28/2010 12:53:27.441 Processing entry ("MSVCM80", "Native")
    10/28/2010 12:53:27.441 Attempting to create .Net security code group node: MSVCM80
    10/28/2010 12:53:27.473 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP", "Native")
    10/28/2010 12:53:27.488 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.SETUP
    10/28/2010 12:53:27.504 Processing entry ("MICROSOFT.SQL.CHAINER.PACKAGE", "Native")
    10/28/2010 12:53:27.519 Attempting to create .Net security code group node: MICROSOFT.SQL.CHAINER.PACKAGE
    10/28/2010 12:53:27.535 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE", "Native")
    10/28/2010 12:53:27.551 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE
    10/28/2010 12:53:27.582 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION", "Native")
    10/28/2010 12:53:27.597 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION
    10/28/2010 12:53:27.613 Processing entry ("MICROSOFT.SQLSERVER.SETUP.CHAINER.WORKFLOW", "Native")
    10/28/2010 12:53:27.629 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.SETUP.CHAINER.WORKFLOW
    10/28/2010 12:53:27.644 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE", "Native")
    10/28/2010 12:53:27.660 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE
    10/28/2010 12:53:27.675 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC", "Native")
    10/28/2010 12:53:27.707 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SFC
    10/28/2010 12:53:27.722 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION", "Native")
    10/28/2010 12:53:27.738 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION
    10/28/2010 12:53:27.753 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION", "Native")
    10/28/2010 12:53:27.769 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION
    10/28/2010 12:53:27.785 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON", "Native")
    10/28/2010 12:53:27.800 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON
    10/28/2010 12:53:27.831 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO", "Native")
    10/28/2010 12:53:27.847 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SCO
    10/28/2010 12:53:27.863 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION", "Native")
    10/28/2010 12:53:27.878 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION
    10/28/2010 12:53:27.894 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION", "Native")
    10/28/2010 12:53:27.909 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION
    10/28/2010 12:53:27.925 Processing entry ("MICROSOFT.SQLSERVER.DISCOVERY", "Native")
    10/28/2010 12:53:27.941 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.DISCOVERY
    10/28/2010 12:53:27.956 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION", "Native")
    10/28/2010 12:53:27.972 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION
    10/28/2010 12:53:27.987 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSTRING", "Native")
    10/28/2010 12:53:28.003 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SSTRING
    10/28/2010 12:53:28.019 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:28.034 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK
    10/28/2010 12:53:28.050 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:28.081 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK
    10/28/2010 12:53:28.097 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD", "Native")
    10/28/2010 12:53:28.112 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD
    10/28/2010 12:53:28.112 Processing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS", "Native")
    10/28/2010 12:53:28.128 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS
    10/28/2010 12:53:28.143 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION", "Native")
    10/28/2010 12:53:28.175 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION
    10/28/2010 12:53:28.190 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO", "Native")
    10/28/2010 12:53:28.206 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO
    10/28/2010 12:53:28.221 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION", "Native")
    10/28/2010 12:53:28.237 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION
    10/28/2010 12:53:28.253 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CLUSTER", "Native")
    10/28/2010 12:53:28.268 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.CLUSTER
    10/28/2010 12:53:28.284 Processing entry ("MICROSOFT.SQLSERVER.INTEROP.MSCLUSTERLIB", "Native")
    10/28/2010 12:53:28.315 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.INTEROP.MSCLUSTERLIB
    10/28/2010 12:53:28.331 Processing entry ("MICROSOFT.SQL.CHAINER.PACKAGEDATA", "Native")
    10/28/2010 12:53:28.346 Attempting to create .Net security code group node: MICROSOFT.SQL.CHAINER.PACKAGEDATA
    10/28/2010 12:53:28.362 Processing entry ("MICROSOFT.SQL.CHAINER.PRODUCT", "Native")
    10/28/2010 12:53:28.377 Attempting to create .Net security code group node: MICROSOFT.SQL.CHAINER.PRODUCT
    10/28/2010 12:53:28.393 Processing entry ("MICROSOFT.NETENTERPRISESERVERS.EXCEPTIONMESSAGEBOX", "Native")
    10/28/2010 12:53:28.409 Attempting to create .Net security code group node: MICROSOFT.NETENTERPRISESERVERS.EXCEPTIONMESSAGEBOX
    10/28/2010 12:53:28.440 Processing entry ("LANDINGPAGE", "Native")
    10/28/2010 12:53:28.455 Attempting to create .Net security code group node: LANDINGPAGE
    10/28/2010 12:53:28.471 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SLPEXTENSION", "Native")
    10/28/2010 12:53:28.502 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SLPEXTENSION
    10/28/2010 12:53:28.518 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.AGENTEXTENSION", "Native")
    10/28/2010 12:53:28.533 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.AGENTEXTENSION
    10/28/2010 12:53:28.565 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.POWERSHELLEXTENSION", "Native")
    10/28/2010 12:53:28.580 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.POWERSHELLEXTENSION
    10/28/2010 12:53:28.596 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSISEXTENSION", "Native")
    10/28/2010 12:53:28.611 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SSISEXTENSION
    10/28/2010 12:53:28.627 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.ASEXTENSION", "Native")
    10/28/2010 12:53:28.643 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.ASEXTENSION
    10/28/2010 12:53:28.658 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.REPL_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:28.674 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.REPL_CONFIGEXTENSION
    10/28/2010 12:53:28.689 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MANAGEMENTTOOLSEXTENSION", "Native")
    10/28/2010 12:53:28.705 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.MANAGEMENTTOOLSEXTENSION
    10/28/2010 12:53:28.721 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLSERVER_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:28.736 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SQLSERVER_CONFIGEXTENSION
    10/28/2010 12:53:28.752 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SNISERVERCONFIGEXT", "Native")
    10/28/2010 12:53:28.767 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SNISERVERCONFIGEXT
    10/28/2010 12:53:28.783 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLBROWSEREXTENSION", "Native")
    10/28/2010 12:53:28.814 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SQLBROWSEREXTENSION
    10/28/2010 12:53:28.830 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RSEXTENSION", "Native")
    10/28/2010 12:53:28.845 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.RSEXTENSION
    10/28/2010 12:53:28.861 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.DMF", "Native")
    10/28/2010 12:53:28.877 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.DMF
    10/28/2010 12:53:28.892 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SMO", "Native")
    10/28/2010 12:53:28.908 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SMO
    10/28/2010 12:53:28.923 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLENUM", "Native")
    10/28/2010 12:53:28.939 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SQLENUM
    10/28/2010 12:53:28.955 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.FULLTEXT_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:28.970 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.FULLTEXT_CONFIGEXTENSION
    10/28/2010 12:53:28.986 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.WORKFLOWDATA", "Native")
    10/28/2010 12:53:29.001 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.WORKFLOWDATA
    10/28/2010 12:53:29.017 Processing entry ("SHELLOBJECTS", "Native")
    10/28/2010 12:53:29.048 Attempting to create .Net security code group node: SHELLOBJECTS
    10/28/2010 12:53:29.064 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UTILITYEXTENSION", "Native")
    10/28/2010 12:53:29.079 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.UTILITYEXTENSION
    10/28/2010 12:53:29.095 Processing entry ("MICROSOFT.SQLSERVER.SQM", "Native")
    10/28/2010 12:53:29.111 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.SQM
    10/28/2010 12:53:29.126 Processing entry ("MICROSOFT.DATAWAREHOUSE.SQM", "X86")
    10/28/2010 12:53:29.142 Processing entry ("FIXSQLREGISTRYKEY", "X86")
    10/28/2010 12:53:29.157 Processing entry ("FIXSQLREGISTRYKEY", "X64")
    10/28/2010 12:53:29.173 Attempting to create .Net security code group node: FIXSQLREGISTRYKEY
    10/28/2010 12:53:29.189 Processing entry ("FIXSQLREGISTRYKEY", "IA64")
    10/28/2010 12:53:29.204 Required security code group nodes exist, contine.
    10/28/2010 12:53:29.220 Processing entry ("MICROSOFT.SQLSERVER.DIAGNOSTICS.CONFIGURATION.STRACE", "Native")
    10/28/2010 12:53:29.235 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.DIAGNOSTICS.CONFIGURATION.STRACE
    10/28/2010 12:53:29.251 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP.RESOURCES", "Native")
    10/28/2010 12:53:29.267 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.SETUP.RESOURCES
    10/28/2010 12:53:29.298 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE.RESOURCES", "Native")
    10/28/2010 12:53:29.298 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE.RESOURCES
    10/28/2010 12:53:29.313 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.345 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION.RESOURCES
    10/28/2010 12:53:29.360 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE.RESOURCES", "Native")
    10/28/2010 12:53:29.376 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE.RESOURCES
    10/28/2010 12:53:29.391 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC.RESOURCES", "Native")
    10/28/2010 12:53:29.423 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SFC.RESOURCES
    10/28/2010 12:53:29.438 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.454 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION.RESOURCES
    10/28/2010 12:53:29.469 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.485 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION.RESOURCES
    10/28/2010 12:53:29.501 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON.RESOURCES", "Native")
    10/28/2010 12:53:29.516 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON.RESOURCES
    10/28/2010 12:53:29.532 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO.RESOURCES", "Native")
    10/28/2010 12:53:29.547 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SCO.RESOURCES
    10/28/2010 12:53:29.563 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.579 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION.RESOURCES
    10/28/2010 12:53:29.594 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.610 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION.RESOURCES
    10/28/2010 12:53:29.641 Processing entry ("MICROSOFT.SQLSERVER.DISCOVERY.RESOURCES", "Native")
    10/28/2010 12:53:29.657 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.DISCOVERY.RESOURCES
    10/28/2010 12:53:29.672 Processing entry ("MICROSOFT.SQLSERVER.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:29.688 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONNECTIONINFO.RESOURCES
    10/28/2010 12:53:29.703 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.719 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION.RESOURCES
    10/28/2010 12:53:29.735 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:29.750 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK.RESOURCES
    10/28/2010 12:53:29.781 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:29.797 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK.RESOURCES
    10/28/2010 12:53:29.813 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD.RESOURCES", "Native")
    10/28/2010 12:53:29.828 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD.RESOURCES
    10/28/2010 12:53:29.844 Processing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS.RESOURCES", "Native")
    10/28/2010 12:53:29.859 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS.RESOURCES
    10/28/2010 12:53:29.875 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RESOURCES", "Native")
    10/28/2010 12:53:29.891 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.RESOURCES
    10/28/2010 12:53:29.906 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:29.922 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO.RESOURCES
    10/28/2010 12:53:29.937 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:29.953 Attempting to create .Net security code group node: MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION.RESOURCES
    10/28/2010 12:53:29.969 Processing entry ("LANDINGPAGE.RESOURCES", "Native")
    10/28/2010 12:53:29.984 Attempting to create .Net security code group node: LANDINGPAGE.RESOURCES
    10/28/2010 12:53:30.062 Saved .Net security policy file
    10/28/2010 12:53:30.078 Attempting to determine security.config file path
    10/28/2010 12:53:30.093 Checking to see if policy file exists
    10/28/2010 12:53:30.109 .Net security policy file does exist
    10/28/2010 12:53:30.125 Attempting to load .Net security policy file
    10/28/2010 12:53:30.140 Processing entry ("MSVCM80", "Native")
    10/28/2010 12:53:30.156 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP", "Native")
    10/28/2010 12:53:30.171 Processing entry ("MICROSOFT.SQL.CHAINER.PACKAGE", "Native")
    10/28/2010 12:53:30.187 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE", "Native")
    10/28/2010 12:53:30.203 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION", "Native")
    10/28/2010 12:53:30.218 Processing entry ("MICROSOFT.SQLSERVER.SETUP.CHAINER.WORKFLOW", "Native")
    10/28/2010 12:53:30.234 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE", "Native")
    10/28/2010 12:53:30.249 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC", "Native")
    10/28/2010 12:53:30.281 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION", "Native")
    10/28/2010 12:53:30.296 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION", "Native")
    10/28/2010 12:53:30.312 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON", "Native")
    10/28/2010 12:53:30.327 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO", "Native")
    10/28/2010 12:53:30.343 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION", "Native")
    10/28/2010 12:53:30.359 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION", "Native")
    10/28/2010 12:53:30.374 Processing entry ("MICROSOFT.SQLSERVER.DISCOVERY", "Native")
    10/28/2010 12:53:30.390 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION", "Native")
    10/28/2010 12:53:30.405 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSTRING", "Native")
    10/28/2010 12:53:30.421 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:30.437 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:30.452 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD", "Native")
    10/28/2010 12:53:30.468 Processing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS", "Native")
    10/28/2010 12:53:30.483 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION", "Native")
    10/28/2010 12:53:30.499 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO", "Native")
    10/28/2010 12:53:30.530 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION", "Native")
    10/28/2010 12:53:30.546 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CLUSTER", "Native")
    10/28/2010 12:53:30.561 Processing entry ("MICROSOFT.SQLSERVER.INTEROP.MSCLUSTERLIB", "Native")
    10/28/2010 12:53:30.577 Processing entry ("MICROSOFT.SQL.CHAINER.PACKAGEDATA", "Native")
    10/28/2010 12:53:30.593 Processing entry ("MICROSOFT.SQL.CHAINER.PRODUCT", "Native")
    10/28/2010 12:53:30.608 Processing entry ("MICROSOFT.NETENTERPRISESERVERS.EXCEPTIONMESSAGEBOX", "Native")
    10/28/2010 12:53:30.624 Processing entry ("LANDINGPAGE", "Native")
    10/28/2010 12:53:30.639 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SLPEXTENSION", "Native")
    10/28/2010 12:53:30.655 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.AGENTEXTENSION", "Native")
    10/28/2010 12:53:30.671 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.POWERSHELLEXTENSION", "Native")
    10/28/2010 12:53:30.686 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSISEXTENSION", "Native")
    10/28/2010 12:53:30.702 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.ASEXTENSION", "Native")
    10/28/2010 12:53:30.717 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.REPL_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:30.733 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MANAGEMENTTOOLSEXTENSION", "Native")
    10/28/2010 12:53:30.764 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLSERVER_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:30.780 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SNISERVERCONFIGEXT", "Native")
    10/28/2010 12:53:30.795 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLBROWSEREXTENSION", "Native")
    10/28/2010 12:53:30.811 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RSEXTENSION", "Native")
    10/28/2010 12:53:30.827 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.DMF", "Native")
    10/28/2010 12:53:30.842 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SMO", "Native")
    10/28/2010 12:53:30.858 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLENUM", "Native")
    10/28/2010 12:53:30.873 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.FULLTEXT_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:30.889 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.WORKFLOWDATA", "Native")
    10/28/2010 12:53:30.905 Processing entry ("SHELLOBJECTS", "Native")
    10/28/2010 12:53:30.920 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UTILITYEXTENSION", "Native")
    10/28/2010 12:53:30.936 Processing entry ("MICROSOFT.SQLSERVER.SQM", "Native")
    10/28/2010 12:53:30.951 Processing entry ("MICROSOFT.DATAWAREHOUSE.SQM", "X86")
    10/28/2010 12:53:30.967 Attempting to create .Net security code group node: MICROSOFT.DATAWAREHOUSE.SQM
    10/28/2010 12:53:30.983 Processing entry ("FIXSQLREGISTRYKEY", "X86")
    10/28/2010 12:53:31.014 Attempting to create .Net security code group node: FIXSQLREGISTRYKEY
    10/28/2010 12:53:31.029 Processing entry ("FIXSQLREGISTRYKEY", "X64")
    10/28/2010 12:53:31.045 Processing entry ("FIXSQLREGISTRYKEY", "IA64")
    10/28/2010 12:53:31.061 Processing entry ("MICROSOFT.SQLSERVER.DIAGNOSTICS.CONFIGURATION.STRACE", "Native")
    10/28/2010 12:53:31.076 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP.RESOURCES", "Native")
    10/28/2010 12:53:31.092 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE.RESOURCES", "Native")
    10/28/2010 12:53:31.107 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.123 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE.RESOURCES", "Native")
    10/28/2010 12:53:31.139 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC.RESOURCES", "Native")
    10/28/2010 12:53:31.154 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.170 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.185 Processing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON.RESOURCES", "Native")
    10/28/2010 12:53:31.201 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO.RESOURCES", "Native")
    10/28/2010 12:53:31.217 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.232 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.263 Processing entry ("MICROSOFT.SQLSERVER.DISCOVERY.RESOURCES", "Native")
    10/28/2010 12:53:31.279 Processing entry ("MICROSOFT.SQLSERVER.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:31.295 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.310 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:31.326 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:31.341 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD.RESOURCES", "Native")
    10/28/2010 12:53:31.357 Processing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS.RESOURCES", "Native")
    10/28/2010 12:53:31.373 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RESOURCES", "Native")
    10/28/2010 12:53:31.388 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:31.404 Processing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:31.419 Processing entry ("LANDINGPAGE.RESOURCES", "Native")
    10/28/2010 12:53:31.466 Saved .Net security policy file
    10/28/2010 12:53:33.697 Strong name verification disabling is not required
    10/28/2010 12:53:33.713 /? or /HELP or /ACTION=HELP specified: false
    10/28/2010 12:53:33.728 Help display: false
    10/28/2010 12:53:33.744 Attempting to launch landing page workflow
    10/28/2010 12:53:33.759 Media source: D:\
    10/28/2010 12:53:33.775 Install media path: D:\x64\setup\
    10/28/2010 12:53:33.791 Media layout: Full
    10/28/2010 12:53:33.822 Attempting to get execution timestamp
    10/28/2010 12:53:33.837 Timestamp: 20101028_125323
    10/28/2010 12:53:33.853 Attempting to run workflow LANDINGPAGE
    10/28/2010 12:53:33.869 Attempting to launch process D:\x64\setup100.exe
    10/28/2010 12:53:41.357 Process returned exit code: 0xE0434F4D
    10/28/2010 12:53:41.403 Workflow LANDINGPAGE returned exit code: 0xE0434F4D
    10/28/2010 12:53:41.419 Attempting to determine security.config file path
    10/28/2010 12:53:41.435 Attempting to load .Net security policy file
    10/28/2010 12:53:41.450 Attempting to remove .Net security code group node
    10/28/2010 12:53:41.466 Removing entry ("MSVCM80", "Native")
    10/28/2010 12:53:41.481 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP", "Native")
    10/28/2010 12:53:41.497 Removing entry ("MICROSOFT.SQL.CHAINER.PACKAGE", "Native")
    10/28/2010 12:53:41.528 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE", "Native")
    10/28/2010 12:53:41.544 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION", "Native")
    10/28/2010 12:53:41.559 Removing entry ("MICROSOFT.SQLSERVER.SETUP.CHAINER.WORKFLOW", "Native")
    10/28/2010 12:53:41.575 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE", "Native")
    10/28/2010 12:53:41.591 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC", "Native")
    10/28/2010 12:53:41.606 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION", "Native")
    10/28/2010 12:53:41.622 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION", "Native")
    10/28/2010 12:53:41.669 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON", "Native")
    10/28/2010 12:53:41.684 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO", "Native")
    10/28/2010 12:53:41.700 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION", "Native")
    10/28/2010 12:53:41.715 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION", "Native")
    10/28/2010 12:53:41.731 Removing entry ("MICROSOFT.SQLSERVER.DISCOVERY", "Native")
    10/28/2010 12:53:41.747 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION", "Native")
    10/28/2010 12:53:41.762 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSTRING", "Native")
    10/28/2010 12:53:41.793 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:41.809 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:41.825 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD", "Native")
    10/28/2010 12:53:41.840 Removing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS", "Native")
    10/28/2010 12:53:41.856 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION", "Native")
    10/28/2010 12:53:41.871 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO", "Native")
    10/28/2010 12:53:41.903 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION", "Native")
    10/28/2010 12:53:41.918 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CLUSTER", "Native")
    10/28/2010 12:53:41.934 Removing entry ("MICROSOFT.SQLSERVER.INTEROP.MSCLUSTERLIB", "Native")
    10/28/2010 12:53:41.949 Removing entry ("MICROSOFT.SQL.CHAINER.PACKAGEDATA", "Native")
    10/28/2010 12:53:41.965 Removing entry ("MICROSOFT.SQL.CHAINER.PRODUCT", "Native")
    10/28/2010 12:53:41.981 Removing entry ("MICROSOFT.NETENTERPRISESERVERS.EXCEPTIONMESSAGEBOX", "Native")
    10/28/2010 12:53:42.012 Removing entry ("LANDINGPAGE", "Native")
    10/28/2010 12:53:42.027 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SLPEXTENSION", "Native")
    10/28/2010 12:53:42.043 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.AGENTEXTENSION", "Native")
    10/28/2010 12:53:42.059 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.POWERSHELLEXTENSION", "Native")
    10/28/2010 12:53:42.074 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSISEXTENSION", "Native")
    10/28/2010 12:53:42.090 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.ASEXTENSION", "Native")
    10/28/2010 12:53:42.105 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.REPL_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:42.121 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MANAGEMENTTOOLSEXTENSION", "Native")
    10/28/2010 12:53:42.137 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLSERVER_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:42.152 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SNISERVERCONFIGEXT", "Native")
    10/28/2010 12:53:42.168 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLBROWSEREXTENSION", "Native")
    10/28/2010 12:53:42.183 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RSEXTENSION", "Native")
    10/28/2010 12:53:42.199 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.DMF", "Native")
    10/28/2010 12:53:42.230 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SMO", "Native")
    10/28/2010 12:53:42.246 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLENUM", "Native")
    10/28/2010 12:53:42.261 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.FULLTEXT_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:42.277 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.WORKFLOWDATA", "Native")
    10/28/2010 12:53:42.293 Removing entry ("SHELLOBJECTS", "Native")
    10/28/2010 12:53:42.339 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UTILITYEXTENSION", "Native")
    10/28/2010 12:53:42.355 Removing entry ("MICROSOFT.SQLSERVER.SQM", "Native")
    10/28/2010 12:53:42.355 Removing entry ("MICROSOFT.DATAWAREHOUSE.SQM", "X86")
    10/28/2010 12:53:42.371 Removing entry ("FIXSQLREGISTRYKEY", "X86")
    10/28/2010 12:53:42.386 Removing entry ("FIXSQLREGISTRYKEY", "X64")
    10/28/2010 12:53:42.386 Removing entry ("FIXSQLREGISTRYKEY", "IA64")
    10/28/2010 12:53:42.402 Removing entry ("MICROSOFT.SQLSERVER.DIAGNOSTICS.CONFIGURATION.STRACE", "Native")
    10/28/2010 12:53:42.402 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP.RESOURCES", "Native")
    10/28/2010 12:53:42.417 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE.RESOURCES", "Native")
    10/28/2010 12:53:42.433 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.433 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE.RESOURCES", "Native")
    10/28/2010 12:53:42.449 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC.RESOURCES", "Native")
    10/28/2010 12:53:42.449 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.464 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.464 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON.RESOURCES", "Native")
    10/28/2010 12:53:42.480 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO.RESOURCES", "Native")
    10/28/2010 12:53:42.495 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.511 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.511 Removing entry ("MICROSOFT.SQLSERVER.DISCOVERY.RESOURCES", "Native")
    10/28/2010 12:53:42.527 Removing entry ("MICROSOFT.SQLSERVER.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:42.527 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.542 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:42.558 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:42.558 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD.RESOURCES", "Native")
    10/28/2010 12:53:42.573 Removing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS.RESOURCES", "Native")
    10/28/2010 12:53:42.573 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RESOURCES", "Native")
    10/28/2010 12:53:42.589 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:42.589 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:42.605 Removing entry ("LANDINGPAGE.RESOURCES", "Native")
    10/28/2010 12:53:42.636 Saved .Net security policy file
    10/28/2010 12:53:42.667 Attempting to determine security.config file path
    10/28/2010 12:53:42.667 Attempting to load .Net security policy file
    10/28/2010 12:53:42.683 Attempting to remove .Net security code group node
    10/28/2010 12:53:42.698 Removing entry ("MSVCM80", "Native")
    10/28/2010 12:53:42.698 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP", "Native")
    10/28/2010 12:53:42.714 Removing entry ("MICROSOFT.SQL.CHAINER.PACKAGE", "Native")
    10/28/2010 12:53:42.714 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE", "Native")
    10/28/2010 12:53:42.745 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION", "Native")
    10/28/2010 12:53:42.745 Removing entry ("MICROSOFT.SQLSERVER.SETUP.CHAINER.WORKFLOW", "Native")
    10/28/2010 12:53:42.761 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE", "Native")
    10/28/2010 12:53:42.761 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC", "Native")
    10/28/2010 12:53:42.776 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION", "Native")
    10/28/2010 12:53:42.776 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION", "Native")
    10/28/2010 12:53:42.792 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON", "Native")
    10/28/2010 12:53:42.807 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO", "Native")
    10/28/2010 12:53:42.807 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION", "Native")
    10/28/2010 12:53:42.823 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION", "Native")
    10/28/2010 12:53:42.823 Removing entry ("MICROSOFT.SQLSERVER.DISCOVERY", "Native")
    10/28/2010 12:53:42.839 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION", "Native")
    10/28/2010 12:53:42.839 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSTRING", "Native")
    10/28/2010 12:53:42.854 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:42.870 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK", "Native")
    10/28/2010 12:53:42.885 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD", "Native")
    10/28/2010 12:53:42.885 Removing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS", "Native")
    10/28/2010 12:53:42.901 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION", "Native")
    10/28/2010 12:53:42.901 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO", "Native")
    10/28/2010 12:53:42.917 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION", "Native")
    10/28/2010 12:53:42.917 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CLUSTER", "Native")
    10/28/2010 12:53:42.932 Removing entry ("MICROSOFT.SQLSERVER.INTEROP.MSCLUSTERLIB", "Native")
    10/28/2010 12:53:42.948 Removing entry ("MICROSOFT.SQL.CHAINER.PACKAGEDATA", "Native")
    10/28/2010 12:53:42.948 Removing entry ("MICROSOFT.SQL.CHAINER.PRODUCT", "Native")
    10/28/2010 12:53:42.963 Removing entry ("MICROSOFT.NETENTERPRISESERVERS.EXCEPTIONMESSAGEBOX", "Native")
    10/28/2010 12:53:42.963 Removing entry ("LANDINGPAGE", "Native")
    10/28/2010 12:53:42.979 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SLPEXTENSION", "Native")
    10/28/2010 12:53:42.995 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.AGENTEXTENSION", "Native")
    10/28/2010 12:53:42.995 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.POWERSHELLEXTENSION", "Native")
    10/28/2010 12:53:43.010 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SSISEXTENSION", "Native")
    10/28/2010 12:53:43.010 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.ASEXTENSION", "Native")
    10/28/2010 12:53:43.026 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.REPL_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:43.026 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MANAGEMENTTOOLSEXTENSION", "Native")
    10/28/2010 12:53:43.041 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLSERVER_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:43.041 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SNISERVERCONFIGEXT", "Native")
    10/28/2010 12:53:43.057 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLBROWSEREXTENSION", "Native")
    10/28/2010 12:53:43.073 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RSEXTENSION", "Native")
    10/28/2010 12:53:43.073 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.DMF", "Native")
    10/28/2010 12:53:43.088 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SMO", "Native")
    10/28/2010 12:53:43.088 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLENUM", "Native")
    10/28/2010 12:53:43.104 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.FULLTEXT_CONFIGEXTENSION", "Native")
    10/28/2010 12:53:43.119 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.WORKFLOWDATA", "Native")
    10/28/2010 12:53:43.119 Removing entry ("SHELLOBJECTS", "Native")
    10/28/2010 12:53:43.135 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UTILITYEXTENSION", "Native")
    10/28/2010 12:53:43.151 Removing entry ("MICROSOFT.SQLSERVER.SQM", "Native")
    10/28/2010 12:53:43.151 Removing entry ("MICROSOFT.DATAWAREHOUSE.SQM", "X86")
    10/28/2010 12:53:43.166 Removing entry ("FIXSQLREGISTRYKEY", "X86")
    10/28/2010 12:53:43.166 Removing entry ("FIXSQLREGISTRYKEY", "X64")
    10/28/2010 12:53:43.182 Removing entry ("FIXSQLREGISTRYKEY", "IA64")
    10/28/2010 12:53:43.182 Removing entry ("MICROSOFT.SQLSERVER.DIAGNOSTICS.CONFIGURATION.STRACE", "Native")
    10/28/2010 12:53:43.197 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.SETUP.RESOURCES", "Native")
    10/28/2010 12:53:43.213 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.INFRASTRUCTURE.RESOURCES", "Native")
    10/28/2010 12:53:43.213 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.BOOTSTRAPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.229 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SQLCONFIGBASE.RESOURCES", "Native")
    10/28/2010 12:53:43.244 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SFC.RESOURCES", "Native")
    10/28/2010 12:53:43.244 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SETUPEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.260 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.MSIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.260 Removing entry ("MICROSOFT.SQLSERVER.CHAINER.EXTENSIONCOMMON.RESOURCES", "Native")
    10/28/2010 12:53:43.275 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCO.RESOURCES", "Native")
    10/28/2010 12:53:43.291 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.SCOEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.291 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONFIGEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.307 Removing entry ("MICROSOFT.SQLSERVER.DISCOVERY.RESOURCES", "Native")
    10/28/2010 12:53:43.307 Removing entry ("MICROSOFT.SQLSERVER.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:43.322 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.UIEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.322 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.WIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:43.338 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARDFRAMEWORK.RESOURCES", "Native")
    10/28/2010 12:53:43.353 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.INSTALLWIZARD.RESOURCES", "Native")
    10/28/2010 12:53:43.369 Removing entry ("MICROSOFT.SQLSERVER.MANAGEMENT.CONTROLS.RESOURCES", "Native")
    10/28/2010 12:53:43.369 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RESOURCES", "Native")
    10/28/2010 12:53:43.385 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.CONNECTIONINFO.RESOURCES", "Native")
    10/28/2010 12:53:43.385 Removing entry ("MICROSOFT.SQLSERVER.CONFIGURATION.RULESENGINEEXTENSION.RESOURCES", "Native")
    10/28/2010 12:53:43.400 Removing entry ("LANDINGPAGE.RESOURCES", "Native")
    10/28/2010 12:53:43.431 Saved .Net security policy file
    10/28/2010 12:53:43.447 Setup closed with exit code: 0x84C40013
    10/28/2010 12:53:43.463 ======================================================================
    Thanks,
    Adam

  • Msg 8631 Internal error: Server stack limit has been reached on SQL Server 2012 from T-SQL script that runs on SQL Server 2008 R2

    I have an Script mostly that is generated by SSMS which works with-out issue on SQL Server 2008, but when I attempt to run it on a new fresh install of SQL Server 2012 I get an Msg 8631. Internal error: Server stack limit has been reached. Please look for
    potentially deep nesting in your query, and try to simplify it.
    The script itself doesn't seem to be all that deep or nested.  The script is large 2600 lines and when I remove the bulk of the 2600 lines, it does run on SQL Server 2012.  I'm just really baffled why something that SQL Server generated with very
    few additions/changes AND that WORKS without issue in SQL Server 2008 R2 would suddenly be invalid in SQL Server 2012
    I need to know why my script which is working great on our current SQL Server 2008 R2 servers suddenly fails and won't run on an new SQL Server 2012 server.  This script is used to create 'bulk' Replications on a large number of DBs saving a tremendous
    amount of our time doing it the manual way.
    Below is an 'condensed' version of the script which fails.  I have removed around 2550 lines of specific sp_addarticle statements which are mostly just copy and pasted from what SQL Management Studio 'scripted' for me went I when through the Replication
    Wizard and told it to save to script.
    declare @dbname varchar(MAX), @SQL nvarchar(MAX)
    declare c_dblist cursor for
    select name from sys.databases WHERE name like 'dbone[_]%' order by name;
    open c_dblist
    fetch next from c_dblist into @dbname
    while @@fetch_status = 0
    begin
    print @dbname
    SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
    use ['+@dbname+']
    exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
    use ['+@dbname+']
    exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
    -- Adding the transactional publication
    use ['+@dbname+']
    exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
    '''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
    = N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
    @immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
    exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
    @frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
    -- There are around 2400 lines roughly the same as this only difference is the tablename repeated below this one
    use ['+@dbname+']
    exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script =
    null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509F, @identityrangemanagementoption = N''manual'', @destination_table = N''TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false'', @ins_cmd = N''CALL sp_MSins_dboTABLE_ONE'',
    @del_cmd = N''CALL sp_MSdel_dboTABLE_ONE'', @upd_cmd = N''SCALL sp_MSupd_dboTABLE_ONE''
    EXEC sp_executesql @SQL
    SET @dbname = REPLACE(@dbname, 'dbone_', 'dbtwo_');
    print @dbname
    SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
    use ['+@dbname+']
    exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
    use ['+@dbname+']
    exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
    -- Adding the transactional publication
    use ['+@dbname+']
    exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
    '''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
    = N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
    @immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
    exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
    @frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
    -- There are around 140 lines roughly the same as this only difference is the tablename repeated below this one
    use ['+@dbname+']
    exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''DB_TWO_TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''DB_TWO_TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script
    = null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509D, @identityrangemanagementoption = N''manual'', @destination_table = N''DB_TWO_TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false''
    EXEC sp_executesql @SQL
    fetch next from c_dblist into @dbname
    end
    close c_dblist
    deallocate c_dblist
    George P Botuwell, Programmer

    Hi George,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    If you have any feedback on our support, please click
    here.
    Allen Li
    TechNet Community Support

  • SQL Server 2008 KB2977321 Failed with Error code 1642

    As part of application of security patches via windows update, sql server KB2977321 was applied along with a number of OS security patches. 
    Prior to applying the patches, I stopped the agent, engine, reporting, analysis and full text services.
    The Sql server build prior to windows update was (for both instances):
    ProductVersion           
    ProductLevel               
    Edition
    10.0.5500.0                 
    SP3            
    Standard Edition (64-bit)
    After the update process, my main instance is showing (the second instance is not in use yet and I have left it in its stopped state)
    Microsoft SQL Server 2008 (SP3) - 10.0.5520.0 (X64)
    Jul 11 2014 16:11:50
    Copyright (c) 1988-2008 Microsoft Corporation
    Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (VM)
    In the Administrative Logs after the OS patches were applied (and all were reported as successful by windows update), I found the following errors listed:
    Log Name:     
    Application
    Source:       
    MsiInstaller
    Date:         
    11/18/2014 7:16:45 PM
    Event ID:     
    1024
    Task Category: None
    Level:        
    Error
    Keywords:     
    Classic
    User:         
    SYSTEM
    Computer:     
    SJCDB3.intranet.co.st-johns.fl.us
    Description:
    Product: Microsoft SQL Server 2008 Database Engine Services - Update '{9145CF54-462E-4A28-8FB5-A44C93AD3716}' could not be installed. Error code 1642. Windows Installer can create logs to help troubleshoot
    issues with installing software packages. Use the following link for instructions on turning on logging support: http://go.microsoft.com/fwlink/?LinkId=23127
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
    <Provider Name="MsiInstaller" />
    <EventID Qualifiers="0">1024</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-11-19T00:16:45.000000000Z" />
    <EventRecordID>1764186</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SJCDB3.intranet.co.st-johns.fl.us</Computer>
    <Security UserID="S-1-5-18" />
      </System>
      <EventData>
    <Data>Microsoft SQL Server 2008 Database Engine Services</Data>
    <Data>{9145CF54-462E-4A28-8FB5-A44C93AD3716}</Data>
    <Data>1642</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>
    </Data>
    <Binary>7B38373544383436332D313135422D343444322D414432352D3731454337453833423843437D207B39313435434635342D343632452D344132382D384642352D4134344339334144333731367D2031363432</Binary>
      </EventData>
    </Event>
    In the C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_191448\Detail.txt file I found the following around the time the error was reported
    2014-11-18 19:16:30 Slp: Baseline Package Id sql_engine_core_inst_Cpu64 - The highest patch version is 10.3.5500.0
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_engine_core_inst_Cpu64 - NotInstalled on the baseline msi package sql_engine_core_inst_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_engine_core_inst_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_engine_core_inst_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_engine_core_inst.msp PatchCode={9145CF54-462E-4A28-8FB5-A44C93AD3716}
    2014-11-18 19:16:30 Slp: Patch Id: KB2977321_sql_engine_core_inst_Cpu32 - The baseline msi is not installed. 
    The patch package is ignored.
    2014-11-18 19:16:30 Slp: Patch Id: KB2977321_sql_engine_core_inst_Cpu32 - Detail description of this patch package is: PatchId=KB2977321_sql_engine_core_inst_Cpu32 PatchVersion=10.3.5520.0 BaselinePackageId=sql_engine_core_inst_Cpu32
    BaselineVersion=10.3.5500.0; PatchFileName=sql_engine_core_inst.msp PatchCode={9145CF54-462E-4A28-8FB5-A44C93AD3716}
    2014-11-18 19:16:30 Slp: Baseline Package Id sql_rs_Cpu64 - The highest patch version is 10.3.5500.0
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_rs_Cpu64 - NotInstalled on the baseline msi package sql_rs_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_rs_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_rs_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_rs.msp PatchCode={2296F7DD-2D3D-4802-B61A-AE7460EFB767}
    2014-11-18 19:16:30 Slp: Patch Id: KB2977321_sql_rs_Cpu32 - The baseline msi is not installed. 
    The patch package is ignored.
    2014-11-18 19:16:30 Slp: Patch Id: KB2977321_sql_rs_Cpu32 - Detail description of this patch package is: PatchId=KB2977321_sql_rs_Cpu32 PatchVersion=10.3.5520.0 BaselinePackageId=sql_rs_Cpu32 BaselineVersion=10.3.5500.0;
    PatchFileName=sql_rs.msp PatchCode={2296F7DD-2D3D-4802-B61A-AE7460EFB767}
    2014-11-18 19:16:30 Slp: Baseline Package Id sql_is_Cpu64 - The highest patch version is 10.3.5500.0
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_is_Cpu64 - NotInstalled on the baseline msi package sql_is_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_is_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_is_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_is.msp PatchCode={E870296C-24CC-4D82-BB59-CD136692E2BD}
    2014-11-18 19:16:30 Slp: Baseline Package Id sql_bids_Cpu64 - The highest patch version is 10.3.5500.0
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_bids_Cpu64 - NotInstalled on the baseline msi package sql_bids_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_bids_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_bids_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_bids.msp PatchCode={EA407FA6-C2D1-4D3D-9227-B9E06DDDEFD0}
    2014-11-18 19:16:30 Slp: Baseline Package Id sql_ssms_Cpu64 - The highest patch version is 10.3.5500.0
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_ssms_Cpu64 - NotInstalled on the baseline msi package sql_ssms_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_ssms_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_ssms_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_ssms.msp PatchCode={8A81B870-E8F0-415D-AC80-13BEAA3EC8C8}
    2014-11-18 19:16:30 Slp: Baseline Package Id: sql_common_core_Cpu64 - No patches are found by SQL Discovery on the installed package whose ProductCode is {5340A3B5-3853-4745-BED2-DD9FF5371331}
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_common_core_Cpu64 - NotInstalled on the baseline msi package sql_common_core_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_common_core_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_common_core_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_common_core.msp PatchCode={CF023E0F-3A19-4DBF-BCA3-0F664B447EDB}
    The instance came up successfully and seems to be operating normally. Was there an error or was the KB installed correctly as the result of the windows update process indicated? 
    Is there a way I can verify this? 

    I did some research on this particular KB article and it seems to be related to Master Data Services which I am not using.  The KB was pushed automatically and I am not sure that it was a required update in our situation. I'd like to understand exactly
    what caused the error message before initiating a repair as this is a production and not a test environment.  Everything appears to be functioning properly and I have received direction from Microsoft in the past that information in some logs identified
    as level 'error' are in fact to be ignored.  I checked the windows update and this KB shows 'Successful' rather than failed or cancelled.
    I would also like more information on why sql server services should not be stopped prior to allowing the OS patches to be applied.   I have received messages in the past that stopping the services before service packs are applied
    prevent the necessity for a reboot of the machine.  I've never heard before that it is a best practice not to stop Sql service prior to applying patches.  Once the services are stopped, I have our infrastructure admin start a VM snapshot on
    the machine then kick off the windows update process. When done, I reboot the machine, test out Sql Server processes and then if all goes well give the ok to release the VM snapshot.  I've supported various databases for 12 years, Sql Server for 5
    years and this is the first time I've heard stopping the service manually can cause problems.  If that is the case, I will certainly change how I do things....
    I did run the discovery report and the results follow:
    Microsoft SQL Server 2008 Setup Discovery Report
    Product
    Instance
    Instance ID
    Feature
    Language
    Edition
    Version
    Clustered
    Sql Server 2008
    MSSQLSERVER
    MSSQL10.MSSQLSERVER
    Database Engine Services
    1033
    Standard Edition
    10.3.5520.0
    No
    Sql Server 2008
    MSSQLSERVER
    MSSQL10.MSSQLSERVER
    SQL Server Replication
    1033
    Standard Edition
    10.3.5520.0
    No
    Sql Server 2008
    MSSQLSERVER
    MSSQL10.MSSQLSERVER
    Full-Text Search
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    MSSQLSERVER
    MSAS10.MSSQLSERVER
    Analysis Services
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    MSSQLSERVER
    MSRS10.MSSQLSERVER
    Reporting Services
    1033
    Standard Edition
    10.3.5520.0
    No
    Sql Server 2008
    EVAULT
    MSSQL10.EVAULT
    Database Engine Services
    1033
    Standard Edition
    10.3.5520.0
    No
    Sql Server 2008
    Management Tools - Basic
    1033
    Standard Edition
    10.3.5520.0
    No
    Sql Server 2008
    Management Tools - Complete
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    Client Tools Connectivity
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    Client Tools Backwards Compatibility
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    Client Tools SDK
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    Integration Services
    1033
    Standard Edition
    10.3.5520.0
    No

  • Error while installing sql server 2008 r2 on win7

    what can i do? i had .net framework 3.5 sp1
    details is:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral,
    PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\Users\seven\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config line 5) ---> System.IO.FileNotFoundException:
    Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
    File name: 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
       at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
       at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
       at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
       --- End of inner exception stack trace ---
       at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
       at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
       at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
       at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
       at System.Configuration.ConfigurationManager.GetSection(String sectionName)
       at System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
       at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
       at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
       at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
       at System.Configuration.SettingsBase.get_Item(String propertyName)
       at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
       at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
       at Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnLoad(EventArgs e)
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    LandingPage
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
        CodeBase: file:///d:/1ce672d6bc649fad4aefc7b7a6/x64/LandingPage.exe
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    Microsoft.SqlServer.Configuration.Sco
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
        CodeBase: file:///d:/1ce672d6bc649fad4aefc7b7a6/x64/Microsoft.SqlServer.Configuration.Sco.DLL
    Microsoft.SqlServer.Chainer.Infrastructure
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
        CodeBase: file:///d:/1ce672d6bc649fad4aefc7b7a6/x64/Microsoft.SqlServer.Chainer.Infrastructure.DLL
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    Microsoft.SqlServer.Management.Controls
        Assembly Version: 10.0.0.0
        Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
        CodeBase: file:///d:/1ce672d6bc649fad4aefc7b7a6/x64/Microsoft.SqlServer.Management.Controls.DLL
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

    Hi mahdy,
    According to the error message, this issue is probably caused by a LandingPage.exe error. It couldn't bind to System assembly. The issue occurs while reading user.config
    in the configuration file, there is code like this <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >. In this issue, it seems the application tried
    to call the LandingPage.exe version 4.0.0.0, and this version is not existing in the machine. That should be the cause. So would you please kindly to check if LandingPage.exe 4.0.0.0 is existing?
    As a workaround, Please try deleting the following sub folder to see if this will work:
    Driver:\users\(my profile)\AppData\Local\Microsoft_Corporation
    If you can't see AppData folder, please using following steps to show hidden files:
       1. Open an explorer window, hit "ALT-T" choose
    Folder Options then go to the view tab.
       2. Turn on
    Show hidden files, folders or drives and disable Hide protected Operating System files (recommended)
    Please read the following blog:
    http://blogs.msdn.com/b/vsnetsetup/archive/2009/10/29/sql-server-2008-setup-fails-with-a-microsoft-net-framework-exception.aspx
    If there are any other questions, please feel free to ask.
    Thanks
    Grace
    Please kindly mark the answer if it is a workaround. Thanks a lot *^_^*

  • SQL Server 2008 R2 { An Error occured when attaching database(s) }

    Hello Guys!
    I just installed SQL Server 2008 R2 a couple of days ago, on the first day use i can attach database(.mdf) with out any problem.
    on the day 2, i keep getting this error:
    http://img515.imageshack.us/img515/14/1212i.png
    TITLE: Microsoft SQL Server Management Studio
    An error occurred when attaching the database(s).  Click the hyperlink in the Message column for details.
    BUTTONS:
    OK
    after clicking the Hyperlink this window open:
    http://img34.imageshack.us/img34/8766/hyperg.png
    TITLE: Microsoft SQL Server Management Studio
    Attach database failed for Server 'STARGAZER-PC\SQLSTARMAX'.  (Microsoft.SqlServer.Smo)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600.1+((KJ_RTM).100402-1539+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+database+Server&LinkId=20476
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Unable to open the physical file "E:\New folder\DataBase.MDF". Operating system error 5: "5(Access is denied.)". (Microsoft SQL Server, Error: 5120)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=5120&LinkId=20476
    BUTTONS:
    OK
    in that day i reinstall SQL Server 2008 R2, because I'm so confused. after that i try to attach i still got the same error, what i did is i share the folder where the database is.
    i open SSMS and try to attach and i attached without any error...
    i think this is the 4rth day, untill now everytime i want to attach a database i got this error, and even i try to share the folder where the database is i still got that error.
    any advice guys?
    Thanks a lot
    jhules
    if you want to be happy, find something you love to do and do it for free, then find someone to to you for it.

    The Error clearly shows that MDF files and LDF files are not matching or LDF file is corrupted.
    You can follow either of the one option below
    1. Restore a recent backup rather attaching the MDF file
    2. Attach  single MDF file without LOG File( Warning: All the log transactions will be gone and new log file will be created)
    EXEC sp_attach_single_file_db @dbname = 'AdventureWorks2008R2',
        @physname = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Data\AdventureWorks2008R2_Data.mdf';
    Thanks, Aditya Badramraju, _______________________________________________________ Please mark answered 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. _______________________________________________________

  • Getting error code 1 when calling SSIS package from a stored procedure (SQL Server 2008 R2)

    Hello,
    I am trying to execute a SSIS package from SQL Server 2008 R2 stored procedure but getting error code 1 (as per my knowledge, error code description is as below:
    0 The package executed successfully.
    1 The package failed.
    3 The package was canceled by the user.
    4 The utility was unable to locate the requested package. The package could not be found.
    5 The utility was unable to load the requested package. The package could not be loaded.
    6 The utility encountered an internal error of syntactic or semantic errors in the command line.
    Details:
    I have a stored procedure named "Execute_SSIS_Package" (see below sp) which executes 'Import_EMS_Response' SSIS package (when I execute this package directly from SQL Server BID it works fine it means package itself is correct) and calling
    it from SQL as:- EXEC Execute_SSIS_Package 'Import_EMS_Response'.
    Here I receives error code 1.
    Can anyone help me to resolve this issue please?
    Thanks in advance!
    CREATE PROCEDURE [dbo].[Execute_SSIS_Package]
     @strPackage nvarchar(100)
    AS
    BEGIN
     -- SET NOCOUNT ON added to prevent extra result sets from
     -- interfering with SELECT statements.
     SET NOCOUNT ON;
     DECLARE @cmd VARCHAR(8000)
     DECLARE @Result int
     DECLARE @Environment VARCHAR(100)
        SELECT @Environment = Waarde
     FROM  Sys_Settings
     WHERE Optie = 'Omgeving'
     --print @Environment
     SET @strPackage = '"\W2250_NGSQLSERVER\BVT\' + @Environment + '\' + @strPackage + '"'
     SET @cmd = 'dtexec /SQL ' + @strPackage +  ' /SERVER "w2250\NGSQLSERVER"  /Decrypt "BVT_SSIS" /CHECKPOINTING OFF /REPORTING E'
     --print @cmd
     EXECUTE @Result = master..xp_cmdshell @cmd, NO_OUTPUT
     --print @Result
    END

    It has something to do with the security.
    E.g. cmdshell is not enabled or the caller has not rights over the package.
    There could be a syntax error, too.
    I suggest you make the package runnable off a SQL Agent job then trigger the job from the stored proc with
    sp_start_job <job name>
    Arthur
    MyBlog
    Twitter

Maybe you are looking for

  • Ical weekly calendar

    When I try to see the weekly calendar view it dissapears. I t was working correctly but suddendly it stop showing it. Ther monthly and day view are working fine. Only when you hit the week key it doesn't work.

  • Plaing ALL podcasts

    ARTIST category has a sensible arrangement. Select either ALL (plays everything) or particular album which give you either ALL (plays all songs in particular album) or a chance to select a single particular song. Fine. A custom playlist containing so

  • Elements 3 WIN-file info shutter speed & aperture missing

    Please forgive me if this is a duplicate but I haven't been able to locate this topic in help files, FAQs or on this forum. That doesn't mean it's not there-only that there is so much info that I can't find it. I have a Sony DSC-H2 camera. When I ope

  • Include doesn't work for 5.1

     

  • Patching and Provisioning Problem

    Hi Has anybody had the problem when applying a patching patch for em 10.2.0.5 aand the deployment procedures do not update, the version number is old and the date is last year. this is on a windows system and trying to apply the latest pack 905592 i