Error 18452 "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication" on SQL Server 2008 R2 Enterprise Edition 64-bit SP2 clustered instance

Hi there,
I have a Windows 2008 R2 Enterprise x64 SP2 cluster which has 2 SQL Server 2008 R2 Enterprise Edition x64 SP2
instances.
A domain account "Domain\Login" is administrator on both physcial nodes and "sysadmin" on both SQL Server instances.
Currently both instances are running on same node.
While logging on to SQL Server instance 2 thru "Domain\Login" using "IP2,port2", I get error 18452 "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication". This happened in the past
as well but issue resolved post insatllation of SQL Server 2008R2 SP2. This has re-occurred now. But it connects using 'SQLVirtual2\Instance2' without issue.
Same login with same rights is able to access Instance 1 on both 'SQLVirtual1\Instance1' and "IP1,port1" without any issue.
Please help resolve the issue.
Thanks,
AY

Hello,
I Confirm that I encountred the same problem when the first domain controller was dow !!
During a restarting of the first domain controller, i tried to failover my SQL Server instance to a second node, after that I will be able to authenticate SQL Server Login but Windows Login returns Error 18452 !
When the firts DC restart finishied restarting every thing was Ok !
The Question here : Why the cluster instance does'nt used the second DC ???
Best Regards     
J.K

Similar Messages

  • Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.

    Hello,
    I have gone through couple of posts regarding this issue but couldn't get the right solution. Could you please help what exactly we are missing here.
    Details:
    1) we have two SQL instances on one standalone machine (Default Instance (2008 SP3) + Named Instance (SQL 2012 SP1))
    2) Both instances are configured to accept SQL+ Windows authentication.
    3) when we give access to our users they are getting following exception if they connect with 'windows authentication'. (For both instances)
    Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
    Note: (Being a sys + windows admin I'm able to connect both the instances from same client machine without
    any issues)
    4) Also, we observed following error in windows application event log,
     SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext failed. The Windows error code indicates the cause of failure.
    The logon attempt failed   [CLIENT: 192.168.xxx.xyx]
    5) If we create SQL login it is working fine without any issues.
    Could someone guide/help  me identifying and fixing this issue.
    Thank you

    Hello,
    Are those Windows Logins associated to domain Windows accounts? Windows Logins work for domain accounts and local Windows account created on the server where the SQL Server instance is installed (and used to login locally to the server).
    Could you try to delete one of the Windows logins that fail to login , and try to recreate them?
    The following resources may help:
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2012/12/19/error-message-quot-login-failed-the-login-is-from-an-untrusted-domain-and-cannot-be-used-with-windows-authentication-quot.aspx
    http://support.microsoft.com/kb/555332
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL server(PC1) --- PC2: Login failed. The login is from untrusted domain and cannot be used with windows authentification

    Hey,
    I'want to make connection from my laptop(xxx.xxx.xxx.xxx = A) to a fixed computer(SQL server xxx.xxx.xxx.xxx =B). My connection string = "Provider=SQLNCLI11; Data source:name-pc/SQLEXPRESS; Integrated circuit=SSPI;Intial Catalog=Database name for visual
    studio C#.
    Laptop -> PC1 : Eror
    It works when i use localhost or 127.0.0.1 and i can read my database without any problems if i install SQL server on my laptop. Know i install it to PC1 and uninstall on my laptop. When i change the name-pc by an ip-adress i get this error: Login failed.
    The login is from untrusted domain and cannot be used with windows authentification. I did some research on multiple forums where they say about Local security policy(secpol.exe) but i don't have this file. 
    PC2-> PC3: work fine but i want to work with my laptop and i don't understand why it isn't working with my Laptop. 
    Can someone help me?
    Thx a lot and sry about my english(its a disaster) 
    Thibaut

    Hello,
    Yes, for the Windows Authentication to work you should be using the same Windows account and password.
    Are you willing to create SQL logins inside SQL Server and allow your users to connect to SQL Server using SQL Authentication
    instead of Windows Authentication? That could be a solution on a workgroup network.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Attempted to perform an unauthorized operation error while installing SQL Server 2008 R2 Enterprise edition on Windows Server 2012 R2 standard VM server

    I've been trying fresh installation of SQL Server 2008 R2 enterprise on Windows Server 2012 R2 standard VM server several times for two weeks, but always get the error "Attempted to perform an unauthorized operation". At first, I attempted
    to install all features, but failed several times. So I decided to try install just Database Engine service, and still fail at the SqlBrowserConfigAction_Install_ConfigNonRC_Cpu32, with the error "Attempted to perform an unauthorized operation".
    I remote login to server with my admin domain account. This account is in server local Administrators group. I
    1. Right-click on setup.exe file | properties | Compatibility tab | select compatibility to Windows 8.Then click OK.
    2. Right-click on setup.exe file | Run as Administrator, to start the Installation Center.
    I have the document of my installation steps and zip file of the installation logs, if you need to take a look.
    Appreciate for any help!
    ntth

    Hi ntth,
    "Attempted to perform an unauthorized operation"
    The above error is always related to the Windows account SID mapping. I recommend you login into Windows using another Windows account which has administrative privileges and run SQL Server setup using that Windows account.
    Besides, please note that we need to apply SQL Server 2008 R2 Service Pack 2 or a later update when installing SQL Server Windows Server 2012 R2. For more information, please review this
    KB article.
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Error 1335 the cabinet file data4.cab is corrupt and cannot be used, what do i have to do

    error 1335 teh cabinet file data4.cab is corrupt and cannot be used, what do i have to do

    Hi Max210662,
    Please follow the mentioned kb: http://helpx.adobe.com/creative-suite/kb/install-error-1311-1335-or.html .
    Regards,
    Romit Sinha

  • Hi I am trying to install SQL Server 2008 R2 Express edition, I am getting error like "unhandled exception has occurred in your application"

    In that system Microsoft Framework 4.o and 3.5.1 is installed even then i am getting the error then i uninstalled and again installed framework same error occurring.

    Hi Chandra,
    As other post, please help to post the summary and detail logs for analysis.
    Based on my knowledge, the error “unhandled exception has occurred in your application” always happens along with the following message when installing SQL Server 2008 R2:
    “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. “
    If you encounter such issue, please perform the following steps to solve it.
    1.Go to your app data directory by going to start > run > %appdata% .
    2.This will by default take you to the "roaming" folder, go up one directory and move into the "Local" folder.
    3. Go to the "Microsoft_Corporation" folder.
    4. Delete the relevant folders from the "Microsoft_Corporation" folder.
    For more details, please review the following blog.
    SQL Server 2008 R2 will not install - Unhandled Exception has occurred in your application
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Package 'Microsoft SQL Management Studio Package' failed to load in Windows 7 OS/Sql Server 2008 R2

    I encountered this error while setting up a new machine. I have VS 2008 with SP1, VS2010 installed. I tried to re-install Sql Maangement Studio 2008 R2 and Sql Server 2008 R2 but to no avail. However, I were able to isolate this to missing dlls.
    It is looking for this dll. I don't see it installed on the system. Anyone can tell me why?
    microsoft.sqlserver.management.multiservermgmtui, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91
    Thanks, Scott Ma. Schlumberger IT & Software Community Leader/MS SME for Entity Framework and Windows Azure Platform.

    Hello,
    Please try to repair the SQL Server 2008 R2 installation:
    http://msdn.microsoft.com/en-us/library/cc646006.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Has anyone sucessfully used the new Winclone 3.2 to backup and restore  Bootcamp partittion with Windows 7 Ultimate on MBP with Lion 10.7.3?

    Bought late 2011 MBP 17" with Bootcamp partition (Windows 7 Ultimate) and Lion OS 10.7.3
    I am trying to make a backup of Bootcamp partition before I start using my laptop but it proves to be a difficult task.
    I don’t have any installation disk for Windows 7 and I am afraid that, if a disaster strikes and I loose the HDD, my copy of Windows will be gone. 
    The only way to restore Windows partition according to what I read so far is to do the following:
    • Use Windows to backup data from BootCamp Partition
    • Reinstall OS Lion formatting full hard drive in the process
    • Use BootCamp Assistant to create BootCamp partition
    • Install Windows 7 on bootcamp partion
    • Use Windows 7 to restore data from backup file created in the first step
    The only problem is that I don't any image or disk to re-install Windows 7. With Windows 7 I can create only 'repair disk' (for what it is worth) or system image but according to other users it would format the whole drive including OS Lion partition when reinstalling
    Winclone 3.2 seems like the answer to my prayers but would like to hear from the users if it worked for them (most imprtantly, did the restore work?). 

    Got the response from Winclone regarding my confusion in step 18 of the procedure to create bootcamp backup.  The message displayed on the screenshot under step 18 can be ignored.  It refers to creating a Windows partition using Boot Camp Assistant but in fact this partition has already been created in earlier steps using Disk Utility. 
    I bought Winclone 3.3 as it promises to make backup and restore of Bootcamp partition with Windows 7 on it really easy, the steps to do this task are easy and well documented, and the owner of the program was very prompt responding to my queries.
    I performed the following as an insurance against disaster prior to creating Winclone image:
    Since my Windows 7 came pre-installed but without any installation disk I used Windows 7 to create 'Windows 7 system image' . From what I read on forums the system image created using Windows 7 apparently can't be used to easily restore Boot Camp partition (as it wipes out OS X in the process).  I created this image as a last resort backup rescue - some users reported that it can be used to recover Windows but the process is painful and involve a number of steps, swapping hard drives, and paid software to assist in the process.  I did not bother to make notes on this process - thanks to Winclone I am not suppose to need this backup if everything works as promised
    I also created 'Windows 7 repair disk' prior to running Winclone.  Not sure what the value of it will be but again, this is something I did just in case I need it in the future
    Then I installed Winclone 3.3 and created Windows 7 Ultimate Boot Camp image without any problems (on MBP running Lion 10.7.4).  My Winclone image file of 150GB Windows 7 Boot Camp partition prior to installing any programs and without any data on it ended up being nearly 8GB (saved to the external USB HDD).
    I have not restored and don't plan to restore the Winclone 3.3 image just to test if it works (don't want to risk loosing my perfectly well running Windows 7 in case of any disaster).  So ultimately only time or experience of other users will tell me if I spent my money well buying Winclone 3.3.  I  know it worked for you JBLTZ so hopefully it will work for me when I need it one day.
    Cheers
    Swavek

  • I lost the top line from my home page and don't know how to get it back, this line has file, edit, history, bookmarks

    how can you get the line that has file edit bookmarks history on it back when it disapears

    Firefox 3.6 versions allow the user to turn-off the Menu Bar. Several ways to re-display the Menu Bar below.
    '''<u>Menu Bar</u>''' (File, Edit, View, History, Bookmarks, Tools, Help) , see: <br/>
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    * Press F10, Menu bar will appear, click View, click Toolbars, click Menu bar
    * Press ALT, the Menu bar will appear, click View, click Toolbars, click Menu bar<br />
    * Hold down the ALT button while pressing V+T+M
    '''<u>Navigation Toolbar</u>''' (Back/forward, Refresh...Home, URL/Location Bar, Search Bar): Do one of the following
    #click View > Toolbars, click on "Navigation Toolbar" to place a check mark, OR#right-click the Menu Bar, click "Navigation Toolbar" to place a check mark. See: <br />
    #*https://support.mozilla.com/en-US/kb/Back+and+forward+or+other+toolbar+items+are+missing
    #*http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar
    #*http://kb.mozillazine.org/Toolbar_customization
    #*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    #*http://support.mozilla.com/en-US/kb/Navigation+Toolbar+items
    '''<u>Bookmarks Toolbar</u>''': Same procedure as Navigation Bar except click "Bookmarks Toolbar".<br />
    '''<u>Status Bar</u>''': click View, click Status Bar to place a check mark<br />
    '''<u>Full Screen Mode</u>''': If you have no Toolbars or Tab Bar: Press F11 (F11 is an on/off toggle). See: http://kb.mozillazine.org/Netbooks#Full_screen<br />
    Also see: http://kb.mozillazine.org/Toolbar_customization_-_Firefox#Restoring_missing_menu_or_other_toolbars
    <br />
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    *Adobe PDF Plug-In For Firefox and Netscape
    **New Adobe Reader X (version 10) with Protected Mode released 2010-11-19
    **See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Shockwave Flash 10.1 r53
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "Download..." page below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*Download and information: http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #Update the [[Java]] plugin to the latest version.
    #*Download site: http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    #*Also see "Manual Update" in this article: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • Authentication on local SQL Server 2008 R2 Express server fails after Lan Manager authentication level changed to "Send NTLMv2 response only\refuse LM & NTLM"

    I'm upgrading my organisation's Active Directory environment and I've created a replica of our environment in a test lab.
    One medium-priority application uses a SQL server express installation on the same server that the application itself sits on.
    The application itself recently broke after I changed the following setting in group policy:
    "Send LM & NTLM - use NTLMv2 session security if negotiated"
    to
    "Send NTLMv2 response only\refuse LM & NTLM"
    The main intent was to determine which applications will break if any - I was very surprised when troubleshooting this particular application to find that the issue was actually with SQL Server express itself.
    The errors I get are as follows (note that there are hundreds of them, all the same two):
    Log Name:      Application
     Source:        MSSQL$SQLEXPRESS
     Date:          1/19/2015 2:53:28 PM
     Event ID:      18452
     Task Category: Logon
     Level:         Information
     Keywords:      Classic,Audit Failure
     User:          N/A
     Computer:      APP1.test.dev
     Description:
     Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. [CLIENT: 127.0.0.1]
     Event Xml:
     <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
       <System>
         <Provider Name="MSSQL$SQLEXPRESS" />
         <EventID Qualifiers="49152">18452</EventID>
         <Level>0</Level>
         <Task>4</Task>
         <Keywords>0x90000000000000</Keywords>
         <TimeCreated SystemTime="2015-01-19T22:53:28.000000000Z" />
         <EventRecordID>37088</EventRecordID>
         <Channel>Application</Channel>
         <Computer>APP1.test.dev</Computer>
         <Security />
       </System>
       <EventData>
         <Data> [CLIENT: 127.0.0.1]</Data>
         <Binary>144800000E00000017000000570053004C004400430054004D00540052004D0053005C00530051004C0045005800500052004500530053000000070000006D00610073007400650072000000</Binary>
       </EventData>
     </Event>
    Log Name:      Application
     Source:        MSSQL$SQLEXPRESS
     Date:          1/19/2015 2:53:29 PM
     Event ID:      17806
     Task Category: Logon
     Level:         Error
     Keywords:      Classic
     User:          N/A
     Computer:      APP1.test.dev
     Description:
     SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext failed. The Windows error code indicates the cause of failure.  [CLIENT:
    127.0.0.1].
    Event Xml:
     <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
       <System>
         <Provider Name="MSSQL$SQLEXPRESS" />
         <EventID Qualifiers="49152">17806</EventID>
         <Level>2</Level>
         <Task>4</Task>
         <Keywords>0x80000000000000</Keywords>
         <TimeCreated SystemTime="2015-01-19T22:53:29.000000000Z" />
         <EventRecordID>37089</EventRecordID>
         <Channel>Application</Channel>
         <Computer>APP1.test.dev</Computer>
         <Security />
       </System>
       <EventData>
         <Data>8009030c</Data>
         <Data>14</Data>
         <Data>AcceptSecurityContext failed. The Windows error code indicates the cause of failure.</Data>
         <Data> [CLIENT: 127.0.0.1]</Data>
         <Binary>8E4500001400000017000000570053004C004400430054004D00540052004D0053005C00530051004C004500580050005200450053005300000000000000</Binary>
       </EventData>
     </Event>
    All of the documentation that I have followed suggests that the errors are caused by incorrect SPN configuration- I figured that they were never correct and it has always failed over to NTLM in the test environment (I can't look at production - we couldn't
    replicate the setup due to special hardware and also RAM considerations), but only NTLMv2 has issues.
    So I spent some time troubleshooting this.  We have a 2003 forest/domain functional level, so our service accounts can't automatically register the SPN.  I delegated the write/read service principle name ACEs in Active Directory.  SQL Server
    confirms that it is able to register the SPN.
    So next I researched more into what is needed for Kerberos to work, and it seems that Kerberos is not used when authenticating with a resource on the same computer:
    http://msdn.microsoft.com/en-us/library/ms191153.aspx
    In any scenario that the correct username is supplied, "Local connections use NTLM, remote connections use Kerberos".  So the above errors are not Kerberos (since it is a local connection it will use NTLM).  It makes sense I guess - since
    it worked in the past when LM/NTLM were allowed, I don't see how changing the Lan Manager settings would affect Kerberos.
    So I guess my question is:
    What can I do to fix this? It looks like the SQL server is misconfigured for NTLMv2 (I really doubt it's a problem with the protocol itself...).  I have reset the SQL service or the server a number of times.  Also - all of my other SQL applications
    in the environment work.  This specific case where the application is authenticating to a local SQL installation is where I get the failure - works with LAN Manager authentication set to "Send LM & NTLM - use NTLMv2 session security if negotiated",
    but not "Send NTLMv2 response only\refuse LM & NTLM".
    Note also - this behaviour is identical whether I set the Lan Manager authentication level at the domain or domain controller level in Active Directory - I did initially figure I had set up some kind of mismatch where neither would agree on the authentication
    protocol to use but this isn't the case.

    Maybe your application doesn't support "Send NTLMv2 response only. Refuse LM & NTLM".
    https://support.software.dell.com/zh-cn/foglight/kb/133971

  • Limitations for upgrading SQL server database engin from SQL 2008 R2 enterprise edition to SQL 2014 enterprise edition

    Dear All,
    we are planning to upgrade  SQL Server 2008 R2 Enterprise edition to SQL Server 2014 Enterprise edition.
    please suggest the limitations for the up gradation.
    Thanks in Advance
    Vineet Srivastava
    NIIT Technology Ltd.
    New Delhi , India

    Hello,
    Please note that we have 2 Enterprise Editions now: 
    (1) Enterprise Edition with Server + Client Access License (CAL) and (2) the Enterprise Edition licensed by core. “Enterprise Edition with Server + Client Access License (CAL) based licensing (not available
    for new agreements) is limited to a maximum of 20 cores per SQL Server instance. There are no limits under the Core-based Server Licensing model”. Source:
    https://msdn.microsoft.com/en-us/library/ms143760(v=sql.120).aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • 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

  • SMS_SRS_REPORTING_POINT - Error retrieving folders with SCCM 2012 and SQL Server 2008 R2 SP2

    Hi:
    According to all the Reporting Services logs my Reporting Point was setup correctly.  When I try and run any report I see the entries below in the srsrp.log on the SQL Server.  The report names show up in the Console but when I right any of the
    listed reports I get errors and no report runs.
    I am running SQL Server 2008 R2 SP2 on a remote server.  SQL is installed on its own server.  There is no firewall between the Configuration Manager server and SQL Server.
    Thanks.
    Mark
    (!) Error retrieving folders - [A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance
    name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because
    connected host has failed to respond.)].   SMS_SRS_REPORTING_POINT
    1/25/2013 9:15:07 AM    4532 (0x11B4)
    No folder configuration information found.     
    SMS_SRS_REPORTING_POINT 1/25/2013 9:15:07 AM   
    4532 (0x11B4)
    Next security configuration at [1/25/2013 9:22:42 AM]
    SMS_SRS_REPORTING_POINT 1/25/2013 9:15:07 AM   
    4532 (0x11B4)
    Root Folder exists     
    SMS_SRS_REPORTING_POINT 1/25/2013 9:15:07 AM   
    4532 (0x11B4)
    Successfully checked that the SRS web service is healthy on server DBSCCM.LOCAL    
    SMS_SRS_REPORTING_POINT 1/25/2013 9:15:07 AM 
    4532 (0x11B4)
    Waiting for changes for 1 minutes  
    SMS_SRS_REPORTING_POINT 1/25/2013 9:15:07 AM   
    4532 (0x11B4)
    SRSRP registry key change notification triggered.    
    SMS_SRS_REPORTING_POINT 1/25/2013 9:15:16 AM   
    4532 (0x11B4)
    Waiting for changes for 1 minutes  
    SMS_SRS_REPORTING_POINT 1/25/2013 9:15:16 AM   
    4532 (0x11B4)
    Timed Out...     
    SMS_SRS_REPORTING_POINT 1/25/2013 9:16:16 AM   
    4532 (0x11B4)
    Reporting Services URL from Registry [http://dbsccm/ReportServer/ReportService2005.asmx] 
    SMS_SRS_REPORTING_POINT 1/25/2013 9:16:16 AM 
    4532 (0x11B4)
    Reporting Services is running
    SMS_SRS_REPORTING_POINT 1/25/2013 9:16:16 AM   
    4532 (0x11B4)
    Retrieved datasource definition from the server.     
    SMS_SRS_REPORTING_POINT 1/25/2013 9:16:16 AM   
    4532 (0x11B4)
    Retrieved datasource definition from the server.     
    SMS_SRS_REPORTING_POINT 1/25/2013 9:16:16 AM   
    4532 (0x11B4)
    Updating data source {5C6358F2-4BB6-4a1b-A16E-8D96795D8602} at ManagedDesktops_MD1 
    SMS_SRS_REPORTING_POINT 1/25/2013 9:16:16 AM 
    4532 (0x11B4)
    (!) Error retrieving folders - [A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance
    name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because
    connected host has failed to respond.)].   SMS_SRS_REPORTING_POINT
    1/25/2013 9:17:40 AM    4532 (0x11B4)
    No folder configuration information found.     
    SMS_SRS_REPORTING_POINT 1/25/2013 9:17:40 AM   
    4532 (0x11B4)
    Next security configuration at [1/25/2013 9:22:42 AM]
    SMS_SRS_REPORTING_POINT 1/25/2013 9:17:40 AM   
    4532 (0x11B4)
    Root Folder exists     
    SMS_SRS_REPORTING_POINT 1/25/2013 9:17:40 AM   
    4532 (0x11B4)
    Successfully checked that the SRS web service is healthy on server DBSCCM.LOCAL    
    SMS_SRS_REPORTING_POINT 1/25/2013 9:17:40 AM 
    4532 (0x11B4)
    Waiting for changes for 1 minutes  
    SMS_SRS_REPORTING_POINT 1/25/2013 9:17:40 AM   
    4532 (0x11B4)
    Timed Out...     
    SMS_SRS_REPORTING_POINT 1/25/2013 9:18:40 AM   
    4532 (0x11B4)
    Reporting Services URL from Registry [http://dbsccm/ReportServer/ReportService2005.asmx] 
    SMS_SRS_REPORTING_POINT 1/25/2013 9:18:40 AM 
    4532 (0x11B4)
    Reporting Services is running
    SMS_SRS_REPORTING_POINT 1/25/2013 9:18:40 AM   
    4532 (0x11B4)
    Retrieved datasource definition from the server.     
    SMS_SRS_REPORTING_POINT 1/25/2013 9:18:40 AM   
    4532 (0x11B4)
    Retrieved datasource definition from the server.     
    SMS_SRS_REPORTING_POINT 1/25/2013 9:18:40 AM   
    4532 (0x11B4)
    Updating data source {5C6358F2-4BB6-4a1b-A16E-8D96795D8602} at ManagedDesktops_MD1 
    SMS_SRS_REPORTING_POINT 1/25/2013 9:18:40 AM 
    4532 (0x11B4)

    Hi:
    Windows Firewall is off on both systems.
    I can ping the Configuration Manager server from the SQL Server by netbios name, ip address and fully qualified domain name.   I can ping the SQL Server from the Configuration Manager server by netbios name, ip address and fully qualified domain
    name.
    I have uninstalled and installed the Reporting Point Service a couple of times and everything looks fine according to the logs after the install finishes but these errors only appear each time I try and Run a report.
    Mark

  • An error occurred attempting to install SQL Server 2008 Express Service Pack 1

    i have Setup application with complete prerequisite requirement package create from Visual Studio 2010 setup application.And yes this setup working fine in windows 7 and windows vista but not working in windows xp service pack 3.and getting error when install "An error occurred attempting to install SQL Server 2008 Express Service Pack 1"Give me solution as soon as possible.I have listed summery.txt and log.txt. please refer it.Summery.txt
    ===============================================================Component SQL Server 2008 Express has failed to install with the
    following error message:
    "An error occurred attempting to install SQL Server
    2008 Express Service Pack 1."
    The following components were successfully
    installed:
    - Microsoft .NET Framework 4 Client Profile (x86 and
    x64)
    The following components failed to install:
    - SQL Server 2008
    Express
    See the setup log file located at
    'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\install.log' for more
    information.Install.log
    ==========================================================================The following properties have been set:
    Property: [AdminUser]
    = true {boolean}
    Property: [InstallMode] = HomeSite {string}
    Property:
    [ProcessorArchitecture] = Intel {string}
    Property: [VersionNT] = 5.1.3
    {version}
    Running checks for package 'Windows Installer 3.1', phase
    BuildList
    The following properties have been set for package 'Windows
    Installer 3.1':
    Running checks for command
    'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
    Result of running
    operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1':
    true
    Result of checks for command
    'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is
    'Bypass'
    'Windows Installer 3.1' RunCheck result: No Install
    Needed
    Running checks for package 'Microsoft .NET Framework 4 Client Profile
    (x86 and x64)', phase BuildList
    Reading value 'Version' of registry key
    'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client'
    Unable to read
    registry value
    Not setting value for property
    'DotNet40Client_TargetVersion'
    The following properties have been set for
    package 'Microsoft .NET Framework 4 Client Profile (x86 and x64)':
    Running
    checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe'
    Result of
    running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite':
    true
    Result of checks for command
    'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' is 'Bypass'
    Running checks
    for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe'
    Result of running
    operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite':
    false
    Skipping ByPassIf because Property 'DotNet40Client_TargetVersion' was
    not defined
    Result of running operator 'ValueEqualTo' on property 'AdminUser'
    and value 'false': false
    Result of running operator 'VersionLessThan' on
    property 'VersionNT' and value '5.1.2': false
    Result of running operator
    'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64':
    false
    Result of checks for command
    'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Install'
    'Microsoft .NET
    Framework 4 Client Profile (x86 and x64)' RunCheck result: Install
    Needed
    Running checks for package 'SQL Server 2008 Express', phase
    BuildList
    Running external check with command
    'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\SqlExpress2008\SqlExpressChk.exe' and
    parameters '10.0.1600 1033'
    Process exited with code 2
    Setting value '2
    {int}' for property 'SQLExpressChk'
    The following properties have been set
    for package 'SQL Server 2008 Express':
    Property: [SQLExpressChk] = 2
    {int}
    Running checks for command
    'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
    Result of running operator
    'ValueNotExists' on property 'VersionNT': false
    Result of running operator
    'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
    Result of
    running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.0':
    false
    Result of running operator 'VersionEqualTo' on property 'VersionNT' and
    value '5.2.1': false
    Result of running operator 'ValueEqualTo' on property
    'AdminUser' and value 'false': false
    Result of running operator
    'ValueEqualTo' on property 'SQLExpressChk' and value '-1': false
    Result of
    running operator 'ValueEqualTo' on property 'SQLExpressChk' and value '-2':
    false
    Result of running operator 'ValueEqualTo' on property 'SQLExpressChk'
    and value '-3': false
    Result of running operator 'ValueEqualTo' on property
    'SQLExpressChk' and value '-4': false
    Result of running operator
    'ValueLessThan' on property 'SQLExpressChk' and value '-4': false
    Result of
    running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value
    'Intel': false
    Result of running operator 'ValueNotEqualTo' on property
    'SQLExpressChk' and value '1': true
    Result of checks for command
    'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Bypass'
    Running checks for command
    'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
    Result of running operator
    'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel':
    false
    Result of running operator 'ValueNotEqualTo' on property
    'SQLExpressChk' and value '2': false
    Result of checks for command
    'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Install'
    Running checks for
    command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
    Result of running operator
    'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64':
    true
    Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is
    'Bypass'
    Running checks for command
    'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
    Result of running operator
    'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64':
    true
    Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is
    'Bypass'
    'SQL Server 2008 Express' RunCheck result: Install Needed
    EULA
    for components 'Microsoft .NET Framework 4 Client Profile (x86 and x64)' was
    accepted.
    EULA for components 'SQL Server 2008 Express' was
    accepted.
    Copying files to temporary directory
    "C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\"
    Downloading files to
    "C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\"
    (11/15/2014 3:59:51 PM)
    Downloading 'DotNetFX40Client\dotNetFx40_Client_setup.exe' from 'http://go.microsoft.com/fwlink/?linkid=182804'
    to 'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\'
    Download completed at
    11/15/2014 3:59:53 PM
    Verifying file integrity of
    C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe
    WinVerifyTrust
    returned 0
    File trusted
    (11/15/2014 3:59:53 PM) Downloading
    'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' from 'http://go.microsoft.com/fwlink/?LinkID=153228&clcid=0x409'
    to 'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\'
    Download completed at
    11/15/2014 4:00:22 PM
    Verifying file integrity of
    C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\SqlExpress2008\SQLEXPR32_x86_ENU.EXE
    WinVerifyTrust
    returned 0
    File trusted
    Running checks for package 'Microsoft .NET
    Framework 4 Client Profile (x86 and x64)', phase BeforePackage
    Reading value
    'Version' of registry key 'HKLM\Software\Microsoft\NET Framework
    Setup\NDP\v4\Client'
    Unable to read registry value
    Not setting value for
    property 'DotNet40Client_TargetVersion'
    The following properties have been
    set for package 'Microsoft .NET Framework 4 Client Profile (x86 and
    x64)':
    Running checks for command
    'DotNetFX40Client\dotNetFx40_Client_setup.exe'
    Result of running operator
    'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite':
    false
    Skipping ByPassIf because Property 'DotNet40Client_TargetVersion' was
    not defined
    Result of running operator 'ValueEqualTo' on property 'AdminUser'
    and value 'false': false
    Result of running operator 'VersionLessThan' on
    property 'VersionNT' and value '5.1.2': false
    Result of running operator
    'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64':
    false
    Result of checks for command
    'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Install'
    'Microsoft .NET
    Framework 4 Client Profile (x86 and x64)' RunCheck result: Install
    Needed
    Verifying file integrity of
    C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe
    WinVerifyTrust
    returned 0
    File trusted
    Installing using command
    'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\DotNetFX40Client\dotNetFx40_Client_setup.exe'
    and parameters ' /q /norestart /ChainingPackage ClientX64ClickOnce /lcid
    1033'
    Process exited with code 0
    Running checks for package 'Microsoft
    .NET Framework 4 Client Profile (x86 and x64)', phase AfterPackage
    Reading
    value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework
    Setup\NDP\v4\Client'
    Read string value '4.0.30319'
    Setting value
    '4.0.30319 {string}' for property 'DotNet40Client_TargetVersion'
    The
    following properties have been set for package 'Microsoft .NET Framework 4
    Client Profile (x86 and x64)':
    Property: [DotNet40Client_TargetVersion] =
    4.0.30319 {string}
    Running checks for command
    'DotNetFX40Client\dotNetFx40_Client_setup.exe'
    Result of running operator
    'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite':
    false
    Result of running operator 'VersionGreaterThanOrEqualTo' on property
    'DotNet40Client_TargetVersion' and value '4.0.30129': true
    Result of checks
    for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is
    'Bypass'
    'Microsoft .NET Framework 4 Client Profile (x86 and x64)' RunCheck
    result: Install Succeeded
    Running checks for package 'SQL Server 2008
    Express', phase BeforePackage
    Running external check with command
    'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\SqlExpress2008\SqlExpressChk.exe' and
    parameters '10.0.1600 1033'
    Process exited with code 2
    Setting value '2
    {int}' for property 'SQLExpressChk'
    The following properties have been set
    for package 'SQL Server 2008 Express':
    Property: [SQLExpressChk] = 2
    {int}
    Running checks for command
    'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
    Result of running operator
    'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel':
    false
    Result of running operator 'ValueNotEqualTo' on property
    'SQLExpressChk' and value '2': false
    Result of checks for command
    'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Install'
    'SQL Server 2008 Express'
    RunCheck result: Install Needed
    Verifying file integrity of
    C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\SqlExpress2008\SQLEXPR32_x86_ENU.EXE
    WinVerifyTrust
    returned 0
    File trusted
    Installing using command
    'C:\DOCUME~1\BS\LOCALS~1\Temp\VSD8C9.tmp\SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
    and parameters '/q /hideconsole /action=Upgrade /instancename=SQLEXPRESS
    /skiprules=RebootRequiredCheck'
    Process exited with code
    -2068578302
    Status of package 'Microsoft .NET Framework 4 Client Profile (x86
    and x64)' after install is 'InstallSucceeded'
    Status of package 'SQL Server
    2008 Express' after install is 'InstallFailed'
    S S Manne

    Hi Manne,
    As your description, you come across an error when trying to install SQL Server 2008 express Service Pack 1 on windows XP Service Pack 3 machine. From your error log, I get the error(unable to read registry value). As my analysis, the issue could be due
    to that your account doesn't have access to registry. Below are the recommendations for troubleshooting the issue.
    1. Make sure that you log in as an administrator of the machine.
    2. Please follow the steps below to make sure that you have granted the right permission to registry.
    a. Located HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server in registry.
    b. Right click and go to Permission, then you could see user accounts or groups. If your user account is not in the list, you could click Add to add your account there.
    c. Select your account and Click on Advance.
    d. Check on both check box ('Include inheritable permissions from this object's parent'.
    and 'Replace all child object permissions with inheritable permissions from this object'), click OK.
    e. Click OK again.
    Regards,
    Michelle Li

  • MS SQL Server 2008 not getting installed properly - MOF compiler could not connect with the WMI server

    I am trying to install SQL Server 2008 in my local machine. However, I kept running into errors with the following error message:
    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such
    as the failure of the WMI Server to start".
    I also ran "rundll32 wbemupgd, UpgradeRepository" to rebuild WMI repository, it doesn't help either. I got the same error message. 
    Any ideas what settings I need to change in order to ensure a successful installation of SQL Server 2008?

    "The MOF Compiler could not connect with the WMI Server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such
    as the failure of the WMI Server to start".
    I also ran "rundll32 wbemupgd, UpgradeRepository" to rebuild WMI repository, it doesn't help either. I got the same error message. 
    Any ideas what settings I need to change in order to ensure a successful installation of SQL Server 2008?
    can you check below two links.Make sure previous failed installation is removed completely.
    http://connect.microsoft.com/SQLServer/feedback/details/356258/the-mof-compiler-could-not-connect-with-the-wmi-server#
    Solution given by Connect MS is:
    Possibly the issue was caused by uninstalling from add-remove programs - at any rate, using aaron bertrand's suggestion below fixed the issue. Also of note - I used the local admin for the install.
    http://sqlblog.com/blogs/aaron_bertrand/archive/2009/02/20/the-xp-sp3-msxml6-sp2-sql-server-debacle.aspx
    yes - remove msxml6 and any other half installed portion of sql 2008 and REBOOT and install sql
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

Maybe you are looking for

  • My iPad is locked up and has a apple and a bar under on the screan and it will not turn on or off. Anyone know how to solve this problem?

    My iPad is locked up and has a apple and a bar under on the screen and it will not turn on or off. Anyone know how to solve this problem?

  • Simple buttons problem

    Hi, I am creating a webpage with the usage of Flash CS3/ Actionscript 3.0 and I've found some strange problem. I got some buttons, which navigate to other page which is on a server. The problem is that these buttons work on a preview in Flash and the

  • Cannot resize text boxes or shapes

    I have done something, somehow and can't figure it out. When I draw a text box or a shape I am unable to resize with my marquis tool. I have to use the transform tool or the group marquis to grab individual points. I was able to before but must have

  • Adobe TV Down?

    I'm a tutor for a world wide online photography course, but we don't teach Photoshop specifically. I'm trying to point one of my students to the Adobe.tv pages for CS6 and Elements and I'm getting "page not found", I used my own bookmarks and also vi

  • Web Console

    Hello, Seem to be having some trouble with the web console on users computers. I type the console link into my browser and hit enter. When it prompts me to configure or skip. I select configure. Do You want to run or save SilverlightClientConfigurati