How to resolve a windows authenticated orphaned user in Sql Server 2008 R2?

Hi,
 We have some orphaned windows authenticated  users(domain) in the database while it had been
migrated from Sql Server 2005 to Sql Server 2008 R2, because there are no corresponding
logins for the users. Will just adding the logins would be sufficient or after adding the
logins should we also run sp_change_users_login @Action='update_one' to resolve any sid
conflict. Thanking you in advance,
With regards
Binny Mathew

Binny
You have issue with orphaned users if you use Mixed Authentication.  If you use Windows and move the db to the new server the Windows Login should be exist on the new server already.
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

Similar Messages

  • Attempted to perform an unauthorized operation error on windows 8.1 while installing SQL server 2008

    Hi,
    I am getting the error "Attempted to perform an unauthorized operation" on windows 8.1 while installing
    SQL server 2008.
    The specific error is The error is Attempted to perform an unauthorized operation."
    at stepSqlBrowserConfigAction_install_ConfigNonRC_Cpu32 .
    I have tried everything from copying to the C drive. I am the admin on the machine. I also checked access in registry. It already has acesss to HKLM\System\CurrentControlSet\Control\WMI\security
    Can someone comment on how to resolve this issue. I also tried NT
    AUTHORITY\SYSTEM but getting the same error.
    Any help would be appreciated.

    Hello,
    Please note that SQL Server 2008 requires Service Pack 3 (SP3) to make it compatible with
    Windows 8.1. Please perform an slipstream installation of SQL Server 2008 + SP3:
    http://support.microsoft.com/kb/955392
    If it fails again, please share with us the Summary.txt log file and the details.txt log file. The following article
    may help you locate those files on disk::
    http://msdn.microsoft.com/en-us/library/ms143702(v=sql.100).aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to connect captivate file in a database (MS SQL SERVER 2008)

    Hi...
    How to connect captivate file in a database (MS SQL SERVER 2008) ???
    Kindly response please..
    thanks!!!

    Hi there
    See if the link below helps you out.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How to send PLAIN text email from sp_send_dbmail using SQL Server 2008 R2?

    I have configured Database Mail in SQL Server 2008 R2 (64) and it sends emails just fine. However the destination is recieving the body of thes message as Base 64 encoding.
    Snippet:
    EXEC msdb..sp_send_dbmail @profile_name='Outmail', @recipients = @recpts, @subject = @subj, @body_format = 'TEXT', @body=@body2;
    As you can see I set @body_format to TEXT, but it still sends Base 64. I need to send plain ASCII text. How can I change this?

    I am having this exact issue too.  I have a trigger that sends an email using a stored procedure.  The dbmail is sending the email using the Exchange 2010 server SMTP.  It does not login so the email is relayed as user = "Anonymous". 
    The SQL dbmail email header is showing the following:
    Content-Type: text/plain; charset="utf-8"
    Content-Transfer-Encoding: base64
    MIME-Version: 1.0
    X-MS-Exchange-Organization-AuthSource: MX01.domain.local
    X-MS-Exchange-Organization-AuthAs: Anonymous
    Here is the header if I send via Outlook profile using the legacy program I am trying to automate using SQL Server 2008R2:
    Content-Type: application/ms-tnef; name="winmail.dat"
    Content-Transfer-Encoding: binary
    MIME-Version: 1.0
    X-MS-Has-Attach:
    X-MS-Exchange-Organization-SCL: -1
    X-MS-TNEF-Correlator: <[email protected]>
    MIME-Version: 1.0
    X-MS-Exchange-Organization-AuthSource: MX01.domain.local
    X-MS-Exchange-Organization-AuthAs: Internal
    X-MS-Exchange-Organization-AuthMechanism: 03
    X-Originating-IP: [192.168.13.66]
    Any help would be greatly appreciated!

  • Side By Side Configuration Error Windows 7 64 bit and SQL SERVER 2008 R2

    Hi,
      I keep getting the side by side error... I tried installing the patches, and service packs i reinstalled sql server 2008 r2 like 10 times. It won't go away. I tried the registry edit a few people say works. This has been killing me for a week now,
    I cannot run my sql server on my machine its crazy..???
    Please help
    thanks, NIck
    Activation context generation failed for "C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe". Dependent Assembly Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"
    could not be found. Please use sxstrace.exe for detailed diagnosis.
    Log Name:      Application
    Source:        SideBySide
    Date:          2/16/2014 10:36:55 PM
    Event ID:      33
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Nick-PC
    Description:
    Activation context generation failed for "C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe". Dependent Assembly Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"
    could not be found. Please use sxstrace.exe for detailed diagnosis.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SideBySide" />
        <EventID Qualifiers="49409">33</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-02-17T03:36:55.000000000Z" />
        <EventRecordID>505191</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Nick-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.4053"</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
      </EventData>
    </Event>

    Hi NickDeNora,
    According to your description, we need to verify if you install
    Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) and
    correct the manifest file. The manifest file is readable (although empty), but we cannot edit it (even if you are an administrator). Only SYSTEM has access to the file. So to be able to edit it, you must first take ownership of
    it and grant ACLs. After saving the file, then run the setup again.
    For more information , see:
    http://blogical.se/blogs/johan/archive/2012/06/23/sql-server-vc-installation-voes.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How to troubleshoot online datamove for 1 of 3 SQL Server 2008 migrations.

    I have 3 SQL Server 2008 databases that I need to migrate to Oracle 11gR2 with data only. For all databases I can capture convert, and deploy to the target database. I can also successfully do an online data move for 2 of the databases. The third database runs for about 2 hours and gives a message that the migration completed successfully, but no a single row from any of the tables comes over. How do I figure out what failed. I don't see anything in the reports in SQL Developer (3.2.20.09). To save time and since I am only interested in the tables, indexes and data, after capturing the model, I delete from QL Developer, views, procedures, functions, sequences and triggers before the covert step.

    Hello,
    did you delete the views, procedures, functions etc. from the converted model only for the database where you have the problem, or did you do the same for all the three databases?
    Have you had a look at the MIGRLOG table in your migration repository? Does it contain any helpful information?
    Regards
    Wolfgang

  • Orphaned user in SQL server

    In our environment there are many SQL servers and many AD ids are there as SQL logins.
    If an id deleted from AD then it stays in SQL server as a orphaned login.
    I need to cleanup those ids from SQL servers. Now I need a
    query to validate the user exist in AD or not.
    Or Please share if any other way to do it.
    Thanks in advance!!

    Hello,
    You can use sp_validatelogins (Transact-SQL) to validate your Windows Logins.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How can I group student scores into quintile using SQL Server 2008

    Can anyone help me to group student scores into quintile. I think there is a feature in SQL Server 2012, but still we are have not upgrade to it as we are using 2008R2. I tried Ntile(5) but it not generating the desired result. I need below Quintile column
    Student Score Quintile
    Student1 20 1
    Student2 20 1
    Student3 30 2
    Student4 30 2
    Student5 40 2
    Student6 40 2
    Student7 50 3
    Student8 50 3
    Student9 60 3
    Student10 70 4
    Student11 70 4
    Student12 80 4
    Student13 80 4
    Student14 90 5

    Please try to get ranking for below data
    HI , I need a dynamic SQL which would handle few hundred records and scores may vary..Sometime it may be small test marks ranging from 5 to 25 sometimes it may be out of 100. 
    I tried for larger data set. It
    failed. It is not at all showing Rank 3.Since it not falling in the comparison Below are the 99 records.
    Student
    Name  -> Score
    Student
    1 to 5 -> 4
    Student
    7 to 26 -> 5
    Student
    27 to 71 -> 6
    Student
    72 to 98 -> 7
    Student
    99 -> 9

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

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

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

  • Sql Server 2008 side effect after Windows 8.1 upgrade

    Hi
    After installing Windows 8.1 upgrade, I can't see a SQL SERVER instance.
    I had Windows 8.0 Enterprise and SQL Server 2008 R2 installed and an instance named SVR12/SIMBD
    All Windows 8.1 upgrade worked fine, no crashes no creepy messages
    But now I can't to connect to the instance, nevertheless SQL Server Management Studio detects the instance  SVR12/SIMBD
    Looking at services runnings there are a Service named
    SQL Server instead SQL Server (SIMDB)
    as before the OS upgrade
    Thanks in advance for any help, I'm stuck
    Saludos David

    What do you mean by "I can't see a SQL SERVER instance"?
    Start by using SQL Server Configuration Manager to see what SQL Server instances are installed and if they are running. (If you don't have an icon for Configuration Manager, try C:\Windows\SysWOW64\mmc.exe /32 C:\windows\SysWOW64\SQLServerManager12.msc )
    Or start services.msc and check the services that are installed and running.
    Rick Byham, Microsoft, SQL Server Books Online, Implies no warranty

  • Apply monthly Windows 2008 r2 updates within SQL Server 2008 cluster

    Hello is applying Windows updates within 2 node SQL Server 2008 cluster (active-passive) as simple as download/install the windows update on the passive node, then failover, then apply on other node, and then fail back over ?...or are there other needed/recommended
    steps ?  Thanks in advance.

    Thanks for your reply Shanky_621 much appreciated.
    In your link provided http://support.microsoft.com/kb/174799 it looks like the steps order is slightly different from this link of
    http://technet.microsoft.com/en-us/library/cc731291.aspx which mentions...
    "...where the recommended sequence is to move all services and applications off of the node, pause the node, then apply software updates to the node."
    ...does it matter which is done first ('Pause' or 'move Services/Application') or can I simply go to the Passive node (say 'B' where there are no Services or Applications currently on it), 'Pause' it, apply the Windows updates, then 'Resume' it, &
    reboot ?

  • How to install SQL SERVER 2008 r2 in window 7 home premimum 64bit

    how to install SQL SERVER 2008 r2 in home premimum 64bit os. can any say that weather it will support or not in window 7 home premimum os.
    my server log file:
    Final result:                  SQL Server installation failed.
    To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Exit code (Decimal):           -2068052700
      Exit facility code:            1212
      Exit error code:               1316
      Exit message:                  SQL Server installation
    failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Start time:                    2014-03-27 00:52:25
      End time:                      2014-03-27
    00:56:09
      Requested action:              Install
      Log with failure:              C:\Program Files\Microsoft SQL
    Server\100\Setup Bootstrap\Log\20140327_005035\SSCRuntime_Cpu32_1.log
      Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.1600.1
    Machine Properties:
      Machine name:                  SEVALAL-PC
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance          
      Instance ID                    Feature                                  Language          
      Edition              Version         Clustered 
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER  
          Database Engine Services                 1033                 Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER  
          SQL Server Replication                   1033                 Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER  
          Full-Text Search                         1033                 Standard Edition     10.50.1600.1    No    
      Sql Server 2008 R2   MSSQLSERVER          MSAS10_50.MSSQLSERVER  
           Analysis Services                        1033                 Standard Edition     10.50.1600.1    No  
      Sql Server 2008 R2   MSSQLSERVER          MSRS10_50.MSSQLSERVER  
           Reporting Services                       1033                 Standard Edition     10.50.1600.1    No    
      Sql Server 2008      SEVALAL              MSSQL10.SEVALAL
                   Database Engine Services                 1033                 Express Edition      10.3.5500.0    
    No        
      Sql Server 2008      SEVALAL              MSSQL10.SEVALAL
                   SQL Server Replication                   1033                 Express Edition      10.3.5500.0  
      No        
      Sql Server 2008 R2                        
                                  Client Tools Connectivity                1033                    
                     10.50.1600.1    No        
      Sql Server 2008 R2                        
                                  Client Tools Backwards Compatibility     1033                            
             10.50.1600.1    No        
      Sql Server 2008 R2                        
                                  Client Tools SDK                         1033              
                           10.50.1600.1    No        
    Package properties:
      Description:                   SQL Server Database Services
    2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation location:         G:\01.SQL Server 2008 R2 FullVersion\x64\setup\
      Installation edition:          STANDARD
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      False
      AGTSVCACCOUNT:                 <empty>
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASDOMAINGROUP:                 <empty>
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\100\Setup
    Bootstrap\Log\20140327_005035\ConfigurationFile.ini
      CUSOURCE:                      
      ENABLERANU:                    False
      ENU:                           True
      ERRORREPORTING:                True
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      IS,SSMS,ADV_SSMS,OCS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 *****
      HELP:                          False
      IACCEPTSQLSERVERLICENSETERMS:  False
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL
    Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft
    SQL Server
      INSTANCEID:                    MSSQLSERVER
      INSTANCENAME:                  MSSQLSERVER
      ISSVCACCOUNT:                  NT AUTHORITY\SYSTEM
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      NPENABLED:                     0
      PASSPHRASE:                    *****
      PCUSOURCE:                     
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      ROLE:                          <empty>
      RSINSTALLMODE:                 FilesOnlyMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 <empty>
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           <empty>
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  True
      TCPENABLED:                    0
      UIMODE:                        Normal
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup
    Bootstrap\Log\20140327_005035\ConfigurationFile.ini
    Detailed results:
      Feature:                       Integration
    Services
      Status:                        Failed:
    see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management
    Tools - Complete
      Status:                        Failed:
    see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management
    Tools - Basic
      Status:                        Failed:
    see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Microsoft Sync
    Framework
      Status:                        Failed:
    see logs for details
      MSI status:                    Passed
      Configuration status:          Passed

    my summary log file information:
    Overall summary:
      Final result:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Exit code (Decimal):           -2068052700
      Exit facility code:            1212
      Exit error code:               1316
      Exit message:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
      Start time:                    2014-03-27 00:52:25
      End time:                      2014-03-27 00:56:09
      Requested action:              Install
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140327_005035\SSCRuntime_Cpu32_1.log
      Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.1600.1
    Machine Properties:
      Machine name:                  SEVALAL-PC
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         Database Engine Services                 1033            
        Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         SQL Server Replication                   1033            
        Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSSQL10_50.MSSQLSERVER         Full-Text Search                         1033      
              Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSAS10_50.MSSQLSERVER          Analysis Services                        1033      
              Standard Edition     10.50.1600.1    No        
      Sql Server 2008 R2   MSSQLSERVER          MSRS10_50.MSSQLSERVER          Reporting Services                       1033      
              Standard Edition     10.50.1600.1    No        
      Sql Server 2008      SEVALAL              MSSQL10.SEVALAL                Database Engine Services                 1033  
                  Express Edition      10.3.5500.0     No        
      Sql Server 2008      SEVALAL              MSSQL10.SEVALAL                SQL Server Replication                   1033
                    Express Edition      10.3.5500.0     No        
      Sql Server 2008 R2                                                       Client Tools Connectivity      
             1033                                      10.50.1600.1    No        
      Sql Server 2008 R2                                                       Client Tools Backwards Compatibility  
      1033                                      10.50.1600.1    No        
      Sql Server 2008 R2                                                       Client Tools SDK        
                    1033                                      10.50.1600.1    No        
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation location:         G:\01.SQL Server 2008 R2 FullVersion\x64\setup\
      Installation edition:          STANDARD
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      False
      AGTSVCACCOUNT:                 <empty>
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASDOMAINGROUP:                 <empty>
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140327_005035\ConfigurationFile.ini
      CUSOURCE:                      
      ENABLERANU:                    False
      ENU:                           True
      ERRORREPORTING:                True
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      IS,SSMS,ADV_SSMS,OCS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 *****
      HELP:                          False
      IACCEPTSQLSERVERLICENSETERMS:  False
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server
      INSTANCEID:                    MSSQLSERVER
      INSTANCENAME:                  MSSQLSERVER
      ISSVCACCOUNT:                  NT AUTHORITY\SYSTEM
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      NPENABLED:                     0
      PASSPHRASE:                    *****
      PCUSOURCE:                     
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      ROLE:                          <empty>
      RSINSTALLMODE:                 FilesOnlyMode
      RSSVCACCOUNT:                  <empty>
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 <empty>
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           <empty>
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  True
      TCPENABLED:                    0
      UIMODE:                        Normal
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140327_005035\ConfigurationFile.ini
    Detailed results:
      Feature:                       Integration Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management Tools - Complete
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management Tools - Basic
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Microsoft Sync Framework
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140327_005035\SystemConfigurationCheck_Report.htm

  • 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

  • How to access the datasource window in SSRS for sql server 2008 R2 for writing my query without having to go through the wizard?

    I have used SSRS a lot years ago with Sql Server 2000 and Sql Server 2005. I have written external assemblies, ... But now I have to do this with Sql Server 2008 (R2 -- which I realize I am way behind the times already but ...)  in sql server 2000 and
    2005 there was a tab for datasource to the left of the tab for design which was to the left of the preview tab. How do I get to the datasource window in sql server 2008 (r2) ?
    I see that datasource explorer.  But where can I get to the datasource window to edit my queries and so forth for sql server 2008 (R2)?
    Thanks
    Rich P

    I think I found the answer to my question --- just right-click on the the Data Sources or Datasets for editing connections and dataset queries.  I'm guessing it gets even fancier with Sql Svr 2012 - 2014.    Man, that's the one thing
    about coding platforms -- you let it go for a few years and come back, and everything has changed (well, a lot of things).  Now I need to figure out how to add an external assembly to SSRS 2008 (R2).
    Rich P

  • How to configure Sql Server 2008 R2 for debugging without disabling Windows Firewall?

    When I try to debug a procedure in Sql Server 2008 R2 I get a dialog box telling me to unblock some ports.
    >>
    The Windows Firewall on this machine is currently blocking remote debugging.  Remote debugging requiers that the debugger be allowed to receive informatino from the network.  Remote debugging also requires DCOM (TCP Port 135) and IPSEC (UDP 4500
    / UDP 500) be unblocked.
    <<
    I went to the Windows Firewall and added some new Inbound rules for each of the specified ports (in the images below.  But after this and rebooting entire computer -- I still get this dialog box when I want to go into debug mode from SSMS.  I can
    actually kind of debug standalone code in the SSMS window if I cancel the dialog box.  But I can't debug an actual stored procedure -- which is what I need to do.  I also noticed that my server has an IP address instead of LocalHost.  This is
    not a public Server -- it's my private development machine which is on a peer to peer network (with one other workstation), but I don't need that workstation to be able to access this server..  Would localholst make a difference for debugging?  How
    should I configure the sql server?  The firewall?
    Rich P

    Use PRINT and SELECT for debugging. That's what I do. I used to play with the debugger in SQL 2000 and older days, but I realised that I spent more time on getting it to work that I gained from using it.
    I thought about that.  I guess that IS the way to go.  Very well.  Thank you for the suggestion.   Although, when the debugger does work in the regular window (not a stored proc because it doesn't work there) the debugger IS nice. 
    For debugging my proc I am thinking I will insert param vals into a test collection table for now.  One obscure error I am getting with a particular proc -- in a When loop on one parameter I get the "value will be truncated" error -- but everything
    is set to accept 1000 characters and none of the source data even comes close to 1000 characters.  I have isolated at what point the error occurs and which section of data where the error is occurring but I have not isolated the cause of the error. 
    I cannot reproduce the error when I run the procedure by hand in a regular query window with the exact same code.  The error only occurs when the code is run in the stored proc.
    Rich P

Maybe you are looking for