Using SSIS 2012 - merge join component to transfer data to destination provided it does not exist

HI Folks,
I have a table - parts_amer and this table exists in source & destination server as well.
CREATE TABLE [dbo].[Parts_AMER](
 [ServiceTag] [varchar](30) NOT NULL,
 [ComponentID] [decimal](18, 0) NOT NULL,
 [PartNumber] [varchar](20) NULL,
 [Description] [varchar](400) NULL,
 [Qty] [decimal](8, 0) NOT NULL,
 [SrcCommodityCod] [varchar](40) NULL,
 [PartShortDesc] [varchar](100) NULL,
 [SKU] [varchar](30) NULL,
 [SourceInsertUpdateDate] [datetime2](7) NOT NULL,
 CONSTRAINT [PK_Parts_AMER] PRIMARY KEY CLUSTERED
 [ServiceTag] ASC,
 [ComponentID] ASC
I need to exec the following query using SSIS components so that only that data ,is transfered,which does not exist at destination -
select source.*
from parts_amer source left join parts_amer destination
on source.ServiceTag = destination.ServiceTag
and source.ComponentID=destination.ComponentID
where destination.ServiceTag  is null and destination.ComponentID is null
Question - Can Merge component help with this?
Pl help out.
Thanks.

Hi Rvn_venky2605,
The Merge Join Transformation is used to join two sorted datasets using a FULL, LEFT, or INNER join, hence, not suitable in your scenario. As James mentioned, you can use Lookup Transformation to redirect the not matched records to the destination table.
Another option is to write a T-SQL script that makes use of
Merge statement, and execute the script via Execute SQL Task.
References:
http://oakdome.com/programming/SSIS_Lookup.php 
http://www.mssqltips.com/sqlservertip/1511/lookup-and-cache-transforms-in-sql-server-integration-services/ 
Regards,
Mike Yin
TechNet Community Support

Similar Messages

  • SSDT - Using a SharePoint list data feed as source - "column does not exist in the rowset" error

    Hey guys!
    So, I want to use a SharePoint list data to create a cube/tabular model, in order to make a complex analysis in PPS using MDX.
    To create the tabular model, I'm using the SS Data Tools, and importing a feed from the respective SharePoint list (using the _vti_bin/listdata.svcextension and then selecting the list(s) I wanna to import).
    Everything looks fine and smooth, I can select and preview the data in the table import wizard, but in the end, when importing, I always get this error IF the table has one or more row of data (if the table is empty, it's ok...) - the <...>
    column doesn't exist in the rowset.
    (Curiously, when I have the same procedure in PowerPivot for Excel, I have no problems, everything works fine. The problem is that then I get again errors if I try to create a tabular model on SSDT importing a PowerPivot file).
    Here's the error:
    Had you already tried this in SSDT? Are you experiencing the same trouble?
    Best regards, and thanks in advance!
    Jorge Mateus
    Jorge Mateus

    I noticed something else too.
    I can't process Tabular Models on both SSDT and SSMS (2012), but I can process Tabular Models created on PowerPivot.
    I tried to create a Data Feed connection on PowerPivot, and it was successfully created. However, if restoring the PowerPivot Tabular DB on my SSAS Tabular instance and processing (full) the model through SSMS, it won't work.
    Is there anything different on PowerPivot and SSDT related with Partitioning or connections to the data sources?
    Regards,
    Jorge
    Jorge Mateus
    Update:
    When trying to Restore a PowerPivot file on my SSAS Tabular Server and full process the model:
    The operation failed because the source does not contain the requested column. You can fix this problem by updating the column mappings.
    More Details:
    The 'X' column does not exist in the rowset.
    An error occurred while processing the partition 'X_81dabac5-c250-4a8c-8832-ad7fcedd35cb' in table 'X_81dabac5-c250-4a8c-8832-ad7fcedd35cb'.
    The current operation was cancelled because another operation in the transaction failed.
    X is the first column of the source table, no matter if I chose others on the PowerPivot table.
    When trying to import data from a data feed using SSDT:
    The 'X' column does not exist in the rowset.
    An error occurred while processing the partition 'X_ee6be81f-2235-4113-b404-cfcb20647a38' in table 'X_ee6be81f-2235-4113-b404-cfcb20647a38'.
    The current operation was cancelled because another operation in the transaction failed.
    X is the first chosen column to import.

  • Windows 8.1 having same issue: Windows could not parse or process unattend answer file (C:\Windows\Panther\unattend.xml) for pass [specialize]. A component or setting specified in the answer file does not exist.

    I know there are similar other issues with IE 10 and Windows 7.  This is WINDOWS 8.1, and the IE Welcome message is totally absent from the default unattend.xml in the c:\windows\panther directory.  In fact, I did a sysprep without using any injected
    unattend.xml - this is the Microsoft Default!
    So I suspect this will start appearing all over again soon.  Anyone figure out what was causing it?
    Here is the new Specialize section from the xml:
    <settings pass="specialize">
            <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SkipAutoActivation>true</SkipAutoActivation>
            </component>
            <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SkipAutoActivation>true</SkipAutoActivation>
            </component>
            <component name="Microsoft-Windows-SQMApi" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <CEIPEnabled>0</CEIPEnabled>
            </component>
            <component name="Microsoft-Windows-SQMApi" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <CEIPEnabled>0</CEIPEnabled>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <!--<CopyProfile>true</CopyProfile>-->       
                <ComputerName>Win8</ComputerName>
                <TimeZone>Pacific Standard Time</TimeZone>
            </component>
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <!--<CopyProfile>true</CopyProfile>-->         
                <ComputerName>Win8</ComputerName>
                <TimeZone>Pacific Standard Time</TimeZone>
            </component>
            <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <RunSynchronous>
                   <!--<RunSynchronousCommand wcm:action="add">
                        <Order>1</Order>
                        <Description>Disable UAC for Users</Description>
                        <Path>reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA"  /t REG_DWORD /d
    0 /f</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>2</Order>
                        <Description>Disable UAC for Admin</Description>
                        <Path>reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "FilterAdministratorToken" /t REG_DWORD
    /d 0 /f</Path>
                    </RunSynchronousCommand>-->
                    <RunSynchronousCommand wcm:action="add">
                        <Description>Enable Admin Account</Description>
                        <Order>3</Order>
                        <Path>net user administrator /active:yes</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Path>powercfg -h off</Path>
                        <Order>4</Order>
                    </RunSynchronousCommand>               
                    <RunSynchronousCommand wcm:action="add">
                        <Order>5</Order>
                        <Path>cmd /c %WINDIR%\Setup\Specialize_x64.cmd</Path>
                    </RunSynchronousCommand>                
                </RunSynchronous>
            </component>
            <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <RunSynchronous>
                   <!--<RunSynchronousCommand wcm:action="add">
                        <Order>1</Order>
                        <Description>Disable UAC for Users</Description>
                        <Path>reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA"  /t REG_DWORD /d
    0 /f</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>2</Order>
                        <Description>Disable UAC for Admin</Description>
                        <Path>reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "FilterAdministratorToken" /t REG_DWORD
    /d 0 /f</Path>
                    </RunSynchronousCommand>-->
                    <RunSynchronousCommand wcm:action="add">
                        <Description>Enable Admin Account</Description>
                        <Order>3</Order>
                        <Path>net user administrator /active:yes</Path>
                    </RunSynchronousCommand>
                    <RunSynchronousCommand wcm:action="add">
                        <Path>powercfg -h off</Path>
                        <Order>4</Order>
                    </RunSynchronousCommand>               
                    <RunSynchronousCommand wcm:action="add">
                        <Order>5</Order>
                        <Path>cmd /c %WINDIR%\Setup\Specialize_x86.cmd</Path>
                    </RunSynchronousCommand>                
                </RunSynchronous>
            </component>
             <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
    xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <BlockPopups>yes</BlockPopups>
                <CompanyName>FYM Inc</CompanyName>
                <DisableAccelerators>true</DisableAccelerators>
                <DisableDevTools>false</DisableDevTools>
                <DisableFirstRunWizard>true</DisableFirstRunWizard>
                <DisableOOBAccelerators>true</DisableOOBAccelerators>
                <DisableWelcomePage>true</DisableWelcomePage>
                <EnableLinksBar>false</EnableLinksBar>
                <FavoritesDelete>true</FavoritesDelete>
                <FilterLevel>High</FilterLevel>
                <Help_Page>www.google.com</Help_Page>
                <Home_Page>www.google.com</Home_Page>
                <LockToolbars>false</LockToolbars>
                <MSCompatibilityMode>false</MSCompatibilityMode>
                <NoDial>true</NoDial>
                <ShowCommandBar>true</ShowCommandBar>
                <ShowInformationBar>true</ShowInformationBar>
                <SuggestedSitesEnabled>false</SuggestedSitesEnabled>
                <SearchScopes>
                    <Scope wcm:action="add">
                        <DisplayQuickPick>true</DisplayQuickPick>
                        <ScopeDefault>true</ScopeDefault>
                        <ScopeDisplayName>Google</ScopeDisplayName>
                        <ScopeKey>Search1</ScopeKey>
                        <ScopeUrl>http://www.google.com/advanced_search?hl=en</ScopeUrl>
                        <ShowSearchSuggestions>true</ShowSearchSuggestions>
                        <ShowTopResult>true</ShowTopResult>
                    </Scope>
                </SearchScopes>
            </component>
            <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <BlockPopups>yes</BlockPopups>
                <CompanyName>FYM Inc</CompanyName>
                <DisableAccelerators>true</DisableAccelerators>
                <DisableDevTools>false</DisableDevTools>
                <DisableFirstRunWizard>true</DisableFirstRunWizard>
                <DisableOOBAccelerators>true</DisableOOBAccelerators>
                <DisableWelcomePage>true</DisableWelcomePage>
                <EnableLinksBar>false</EnableLinksBar>
                <FavoritesDelete>true</FavoritesDelete>
                <FilterLevel>High</FilterLevel>
                <Help_Page>www.google.com</Help_Page>
                <Home_Page>www.google.com</Home_Page>
                <LockToolbars>false</LockToolbars>
                <MSCompatibilityMode>false</MSCompatibilityMode>
                <NoDial>true</NoDial>
                <ShowCommandBar>true</ShowCommandBar>
                <ShowInformationBar>true</ShowInformationBar>
                <SuggestedSitesEnabled>false</SuggestedSitesEnabled>
                <SearchScopes>
                    <Scope wcm:action="add">
                        <DisplayQuickPick>true</DisplayQuickPick>
                        <ScopeDefault>true</ScopeDefault>
                        <ScopeDisplayName>Google</ScopeDisplayName>
                        <ScopeKey>Search1</ScopeKey>
                        <ScopeUrl>http://www.google.com/advanced_search?hl=en</ScopeUrl>
                        <ShowSearchSuggestions>true</ShowSearchSuggestions>
                        <ShowTopResult>true</ShowTopResult>
                    </Scope>
                </SearchScopes>
            </component>
             <component name="Microsoft-Windows-RemoteAssistance-Exe" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
    xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <fAllowFullControl>true</fAllowFullControl>
                    <fAllowToGetHelp>true</fAllowToGetHelp>
             </component>
             <component name="Microsoft-Windows-RemoteAssistance-Exe" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
    xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                    <fAllowFullControl>true</fAllowFullControl>
                    <fAllowToGetHelp>true</fAllowToGetHelp>
             </component>
             <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
    xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DisableWER>1</DisableWER>
             </component>
             <component name="Microsoft-Windows-ErrorReportingCore" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
    xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <DisableWER>1</DisableWER>
             </component>         
            <component name="Microsoft-Windows-powercpl" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                 <!--  High Performance -->
                 <PreferredPlan>8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</PreferredPlan>
                 <!--  Power saver -->
                 <!--  <PreferredPlan>a1841308-3541-4fab-bc81-f71556f20b4a</PreferredPlan> -->
                 <!--  Balenced -->
                 <!--  <PreferredPlan>381b4222-f694-41f0-9685-ff5bb260df2e</PreferredPlan> -->
            </component>
            <component name="Microsoft-Windows-powercpl" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                 <PreferredPlan>8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</PreferredPlan>
            </component>      
            <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <Identification>
                    <JoinWorkgroup>Workgroup</JoinWorkgroup>
                </Identification>
            </component>
            <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <Identification>
                    <JoinWorkgroup>Workgroup</JoinWorkgroup>
                </Identification>
            </component>                
            <component name="Microsoft-Windows-AllUserInstallAgent" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
    xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <LogonWaitForPackageRegistration>false</LogonWaitForPackageRegistration>
            </component>
            <component name="Microsoft-Windows-AllUserInstallAgent" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <LogonWaitForPackageRegistration>false</LogonWaitForPackageRegistration>
            </component>        
        </settings>
    I'm thinking of dumping the entire IE section and see what happens.

    I too received this error as I tried to run my first Windows 8.1 deployment. Per another post I commented out this line
    <IEWelcomeMsg>false</IEWelcomeMsg>
    from the IE section of the unattend.xml. I was then able to run my deployment. I do not see this line in your posting though.
    I referenced this link even though it was for Windows 7.
    http://social.technet.microsoft.com/Forums/en-US/c41a2b69-a591-4cd3-86ab-6a0f8a73b858/getting-windows-could-not-parse-or-process-the-unattend-answer-file-for-pass-specialize-with?forum=mdt
    Hope this helps someone.
    JayTheTech
    To clarify, I edited the unattend.xml file from from Deployment Share, not C:\Windows\Panther.
    DS\control\task sequence ID\unattend.xml
    JayTheTech

  • CUA: SCUG - Transfer Users errors with Output Device does not exist

    Greetings,
    I'm currently setting up CUA on our ECC 6.0 boxes and ran into an issue when I run SCUG and try to transfer the users. We're in the process of upgrading to ECC. The target systems are upgraded copies of our current 4.7 target systems.
    Currently we have CUA connecting to our DEV,TEST, PreProd, and Prod Systems.
    The output devices only reside on the target systems. There are no output devices on our production CUA box.
    I'm trying to setup the ECC CUA box and modeling all the settings to our current environment. Once I set the CUA setting, including the RFC's and ALE connections I ran scug and ran into the issue.
    I only get the error where the Default Output Device is populated. Users with no Default Output transferred without any issues. I looked up notes in OSS and can't seem to find any on this subject.
    Side note: If I remove the output device it transfers without error. Obviously this is not a solutions, I was merely testing out the scenario.
    Any help would be greatly appreciated

    Hi Alex,
    there is just a little comment in SAP note #399917 (point 4).
    As from my knowledge, the SCUM settings are not considered during SCUG. So setting
    'output device' to local will not be a solution.
    The standard way is to transport the ouput device information to your CUA-master system before taking over the users. (create transport in  SPAD).
    I have also another workaround for you gurus, but this will need to modify the standard coding for the time of taking over your users. Using this modification, only a warning message will appear and unknown printers will not be taken into CUA-master system.
    Pls test this proposal carefully (coding is rather old....), this is just a suggestion !
    Include LSUUCF01                                                 
    FORM DEFAULTS_CHECK                                              
    Spool: Ausgabegerät                                            
      IF NOT DEFAULTSX-SPLD IS INITIAL AND                           
         NOT USER_DEFAULTS-SPLD IS INITIAL.                          
        SELECT SINGLE * FROM TSP03 WHERE PADEST = USER_DEFAULTS-SPLD.
        IF SY-SUBRC <> 0.                                            
          PAR1 = USER_DEFAULTS-SPLD.                                 
          CALL FUNCTION 'BALW_BAPIRETURN_GET2'                       
               EXPORTING                                             
                    TYPE       = 'W' "'E' "Warning instead of error                                                                               
    CL         = '01'                                
                    NUMBER     =  29                                 
                    PAR1       = PAR1                                
              IMPORTING                                              
                   RETURN = ERRORTABLE                               
               EXCEPTIONS                                            
                    OTHERS     = 1.                                                                               
    APPEND ERRORTABLE.                                         
        ENDIF.                                                       
      ENDIF.                                                         
    I strongly recommend to undo this modification after you have finished SCUG.
    Good luck, b.rgds, Bernhard

  • I have an "old" Apple ID set up 13 years ago.  Apple has now gone to using email address as the apple ID.  I have apps to update and they ask for old ID.  it does not exist.  How can I get the ID on the app changed to the new apple ID

    I set up an apple id many years ago when itunes was established.  Within the past year or so, Apple has changed to using email address as user id.  My problem is that I have many applications that I can not update due to the fact that it is asking for the password of the old ID.  It does not exist anymore.  Any ideas on how to get the new apple id associated with the application without deleting the application.  Several of these apps I purchased.

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

  • Cannot drop the table because it does not exist in the system catalog. Transaction context in use by another session

    Hi Every one,
    An error has occurred during report processing. (rsProcessingAborted)
    Get Online Help
    Query execution failed for data set 'NonFinTran'. (rsErrorExecutingCommand)
    Get Online Help
    Cannot drop the table '#NonFinTran', because it does not exist in the system catalog. Cannot drop the table '#MultipleNonFinTran',
    because it does not exist in the system catalog. Transaction context in use by another session.
    NOTE: NonFinTran &
    MultipleNonFinTran are
    the Temp table in my storedPoc.
    Please any help me to solve this issue. 
    Thanks & Regards,
    Anil Kumar
    Anil Kumar

    Hi Harsh,
     Below is my Stored Proc
    SELECT @ServerName=datasource from master.dbo.sysservers WHERE catalog='Voyager'    
     SELECT @ServerName3=datasource from master.dbo.sysservers WHERE catalog='AuditLog'    
     SELECT @ServerName2=datasource from master.dbo.sysservers WHERE catalog='Portal'    
     IF @ServerName IS NOT NULL SET @ServerName='[' + @ServerName + '].' ELSE SET @ServerName=''    
     IF @ServerName3 IS NOT NULL SET @ServerName3='[' + @ServerName3 + '].' ELSE SET @ServerName3=''    
     IF @ServerName2 IS NOT NULL SET @ServerName2='[' + @ServerName2 + '].' ELSE SET @ServerName2=''    
     IF Exists(Select * From tempdb.dbo.SysObjects Where Name Like '#NonFinTran%')     
      DROP TABLE #NonFinTran    
     IF Exists(Select * From tempdb.dbo.SysObjects Where Name Like '#MultipleNonFinTran%')     
      DROP TABLE #MultipleNonFinTran    
     CREATE TABLE #NonFinTran (FirstName VARCHAR(40), TaxId VARCHAR(40), TrxID VARCHAR(40), Status VARCHAR(255), Field1 VARCHAR(255), Field2 VARCHAR(255),    
       Field3 VARCHAR(255), Field4 VARCHAR(255), Field5 VARCHAR(255), Field6 VARCHAR(255), DateTime DATETIME,     
       BranchID CHAR(3), BankID CHAR(1), FromAccountID VARCHAR(255), FromAccountType VARCHAR(255))    
     CREATE TABLE #MultipleNonFinTran (FirstName VARCHAR(40), TaxId VARCHAR(40), TrxID VARCHAR(40), Status VARCHAR(255), Field1 VARCHAR(255), Field2 VARCHAR(255),    
       Field3 VARCHAR(255), Field4 VARCHAR(255), Field5 VARCHAR(255), Field6 VARCHAR(255), DateTime DATETIME,     
       BranchID CHAR(3), BankID CHAR(1), FromAccountID VARCHAR(255), FromAccountType VARCHAR(255))     
    INSERT #NonFinTran    
     EXEC('SELECT FirstName, TaxID,     
      TrxID, Status, TrxField1, TrxField2, TrxField3, TrxField4, TrxField5, TrxField6, DateTime, '''', '''', '''', ''''    
     FROM ' + @ServerName3 + 'AuditLog.dbo.CCAuditLogEntryView AS Audit, ' + @ServerName + 'Voyager.dbo.CCUser AS CCUser    
     WHERE CCUser.UserID = Audit.UserID     
      AND Audit.Succeeded = 1     
      AND Audit.TrxID IN (''ChangeBillPayDefaultAccountEdit'',''ChangeExpiryUserPassword'',''ChangePasswordEdit'',    
       ''ChangeUserPassword'',''ManageAddressMaint'',''ManageContactMaint'',''ManageSecretQuestionAnswerEdit'',    
       ''ManageTransLimitMaint'',''OtherBankAccountMaintAdd'',''OtherBankAccountMaintDelete'',''OtherBankAccountMaintEdit'',    
       ''WithinAmBankAccountMaintAdd'',''WithinAmBankAccountMaintDelete'',''WithinAmBankAccountMaintEdit'',    
       ''SetAccountMaskPreferenceAudit'',''ChangeLoginIdAudit'')     
      AND DATEDIFF(DAY, CONVERT(DATETIME, CONVERT(VARCHAR(10), ''' + @StartDate + '''), 103), Audit.DateTime) >= 0     
      AND DATEDIFF(DAY, CONVERT(DATETIME, CONVERT(VARCHAR(10), ''' + @EndDate + '''), 103), Audit.DateTime) <= 0 ')    
     INSERT #MultipleNonFinTran    
     EXEC('SELECT DISTINCT FirstName, TaxID,     
      TrxID, Status, TrxField1, TrxField2, TrxField3, TrxField4, TrxField5, TrxField6, Audit.DateTime as AuditDateTime,    
    (SELECT DISTINCT SUBSTRING(A.BranchCode,3,3)  FROM ' + @ServerName + 'AuditLog.dbo.CCAuditLogEntryView X INNER JOIN ' + @ServerName + 'Voyager.dbo.CCuser U
    ON X.UserId = U.UserId INNER JOIN ' + @ServerName + 'Voyager.dbo.AMHZ_CustomerProfile P ON P.EnrolId = U.TAXID 
    INNER JOIN ' + @ServerName + 'Voyager.dbo.AMHZ_AccountListing A ON A.CIFNO = P.CIFNO
    WHERE X.UserId = Audit.UserId AND A.AccountNo = SUBSTRING(Audit.TrxField1,11,16) AND P.CIFNO = A.CIFNO
    AND (SUBSTRING(A.BranchCode,3,3) <> NULL OR SUBSTRING(A.BranchCode,3,3) <> '''')
    AND CHARINDEX(''AccountID='', Audit.TrxField1, 1) > 0),
      SUBSTRING(TrxField1,14,1), CASE WHEN CHARINDEX(''AccountID='', TrxField1, 1) > 0 THEN     
      SUBSTRING(TrxField1,11,16) ELSE '''' END, CASE WHEN CHARINDEX(''AccountType='', TrxField2, 1) > 0 THEN SUBSTRING(TrxField2,13,3) ELSE '''' END    
     FROM ' + @ServerName3 + 'AuditLog.dbo.CCAuditLogEntryView AS Audit, ' + @ServerName + 'Voyager.dbo.CCUser AS CCUser    
     WHERE CCUser.UserID = Audit.UserID     
      AND Audit.Succeeded = 1     
      AND Audit.TrxID IN (''SetAccountAttributesAudit'',''SetAccountFriendlyNameAudit'',    
      ''AccountProfileMaintULDelete'',''AccountProfileMaintLHAAdd'',''AccountProfileMaintLSCAdd'')
      AND DATEDIFF(DAY, CONVERT(DATETIME, CONVERT(VARCHAR(10), ''' + @StartDate + '''), 103), Audit.DateTime) >= 0     
      AND DATEDIFF(DAY, CONVERT(DATETIME, CONVERT(VARCHAR(10), ''' + @EndDate + '''), 103), Audit.DateTime) <= 0 ')  
      SET @stmt = '    
     SELECT * FROM    
     SELECT BranchName,
     CASE WHEN SUBSTRING(FromAccountID,1,6) IN (''519901'',''559409'')  THEN ''DC''  
    ELSE       
     CASE FromAccountType WHEN ''01'' THEN ''SA '' WHEN ''02'' THEN ''CA '' WHEN ''03'' THEN ''FD ''     
        WHEN ''SA'' THEN ''SA '' WHEN ''CA'' THEN ''CA '' WHEN ''FD'' THEN ''FD '' ELSE FromAccountType + '' ''    
     END 
     END +     
    case when Len(FromAccountID) =16 Then  
       CASE FromAccountType WHEN ''VC'' THEN   
       SUBSTRING(FromAccountID,1,6)+''******''+SUBSTRING(FromAccountID,13,4)      
    WHEN ''MC'' THEN SUBSTRING(FromAccountID,1,6)+''******''+SUBSTRING(FromAccountID,13,4)  END  
         when Len(FromAccountID) =15 Then 
    CASE FromAccountType WHEN ''VC'' THEN   
       SUBSTRING(FromAccountID,1,6)+''******''+SUBSTRING(FromAccountID,13,3)      
    WHEN ''MC'' THEN SUBSTRING(FromAccountID,1,6)+''******''+SUBSTRING(FromAccountID,13,3)  END  
         ELSE FromAccountID   
    ENd  
     AS FromAcctNo,    
     CASE TrxId  
     WHEN ''AccountProfileMaintLHAAdd'' THEN ''Link Account/Card''    
     WHEN ''AccountProfileMaintLSCAdd'' THEN ''Link Account/Card''    
     WHEN ''APMFamilyFirstAdd'' THEN ''Link Family First Account''    
     WHEN ''AccountProfileMaintULDelete'' THEN ''Unlink Account/Card''    
     WHEN ''BalInqFD'' THEN CASE  WHEN Field3 IN (''APMLink=SUCCESS'') THEN ''APMLink Success'' ELSE ''Fixed Deposit Balance Inquiry'' END  
     WHEN ''BalInqCASA'' THEN CASE  WHEN Field3 IN (''APMLink=SUCCESS'') THEN ''APMLink Success'' ELSE
         CASE WHEN FromAccountType IN (''SA'',''01'') THEN ''Savings Account Balance Inquiry'' 
        ELSE ''Current Account Balance Inquiry'' 
       END 
      END    
     WHEN ''StopCheck'' THEN ''Stop Cheque Request''    
     WHEN ''CheckReorder'' THEN ''Order Your Cheque''    
     WHEN ''CheckInquiry'' THEN ''Cheque Inquiry''    
     WHEN ''TransHistFD'' THEN ''Fixed Deposit Transaction History''    
     WHEN ''TransHistCASA'' THEN    
      CASE WHEN FromAccountType IN (''SA'',''01'') THEN ''Savings Account Transaction History'' ELSE ''Current Account Transaction History'' END    
     WHEN ''StmtInqCC'' THEN    
      CASE WHEN FromAccountType IN (''DR'',''03'') THEN ''Debit Card Statement Inquiry'' ELSE ''Credit Card Statement Inquiry'' END    
     WHEN ''StmtInqDA'' THEN    
      CASE WHEN FromAccountType IN (''SA'',''01'') THEN ''Savings Account Statement Inquiry'' ELSE ''Current Account Statement Inquiry'' END    
     WHEN ''StmtReq'' THEN ''Printed Statement Request''    
     WHEN ''StmtInqIAMSTAR'' THEN ''E-AMSTAR Statement Inquiry''    
     WHEN ''Repayment/Transfer Inquiry'' THEN ''Repayment/Transfer Inquiry''    
     WHEN ''Account Inquiry'' THEN ''Account Inquiry''    
     WHEN ''Payment Inquiry'' THEN ''Payment Inquiry''    
     END AS TransType,    
     FirstName AS CustomerName,    
     TaxId, CONVERT(VARCHAR, DateTime, 103) AS Date, CONVERT(VARCHAR, DateTime, 108) AS Time    
     FROM #NonFinTran, ' + @ServerName3 + 'Portal.dbo.TB_Branch AS TB_Branch    
     WHERE     
     BranchId = TB_Branch.BranchCode     
     AND (TB_Branch.InstCode IN (''00001'', ''00003'',''001'',''002''))    
     AND (FromAccountType IN (''SA'', ''CA'', ''FD'', ''01'', ''02'', ''03'')))'    
    EXEC (@stmt)
    IF Exists(Select * From tempdb.dbo.SysObjects Where Name Like '#NonFinTran%')     
     DROP TABLE #NonFinTran    
     IF Exists(Select * From tempdb.dbo.SysObjects Where Name Like '#MultipleNonFinTran%')     
      DROP TABLE #MultipleNonFinTran    
    Anil Kumar

  • Visual studio 2012 the name "initializeControl" does not exist in the namespace in visual WebPart

    Hi All,
    I'm trying to create a visual webpart in SharePoint 2013 using Visual Studio 2012 and I am seeing that the file ascx.g.cs
    is missing and i have this error in file ascx.cs : the name "initializeControl" does not exist in the namespace.
    And like i said i use VS2012 Ultimate
    Can anyone Help me please!!!
    thanks.

    In most scenarios this is caused by some error in code preventing Visual Studio from generating the designer file. You could try to undo the latest changes and see whether the item is being generated or not. Additionally you could try checking if the custom
    tool is still associated with the Visual Web Part SPI in the Properties Window.
    w: http://blog.mastykarz.nl | t:
    @waldekm | c: http://mavention.codeplex.com | c:
    http://mavention.nl

  • Transfer structure 0ACCT_TYPE_TEXT_BC does not exist

    Dear Experts,
    I am facing the following error while activating Transfer rules for any object from Business Content.
    For your information:
    ERROR:  Transfer structure 0ACCT_TYPE_TEXT_BC does not exist.
    1. We are working on BI 7 Version. Patch Level 10 and BI Content Patch Level 001.
    2. Ours is a Fresh Implementation in BI.
    3. This problem is coming for all most all the objects when we are activating theTransfer rules.
    immediate  repliers are appreciable.
    Thanks and Regards,
    Sai Phani.

    Hi All,
    Sorry for the late reply,
    I have solved the issue. Actually that is the problem of Patch Level of BI earlier it was 9 and we have updated it to 16 now, and the BI Content Level also updated to Patch Level 5.
    Then we have edited the Number Range using SNUM T-Code and now it is working fine.
    Thanks for your replies.
    Krishna.

  • Software component with Key ID does not exist

    Hi Friends,
               Here I am in need of your help. I got involved in an upgrade from XI 3.0 to PI 7.1. The Basis has imported all the SWC & Business systems from XI 3.0. When I am trying to activate the objects imported from IR of XI3.0 then It is triggering an error as
    data retrieving failed from Adapter Metadata  | RFC http://sap.com/xi/XI/System. /// ROA_MOA_NOTCOMPLETED.
                Because of this I am unable to activate the imported objects in ID by showing the message as Software component with key ID XXXXXXXXXXXXXXXXXXXXX  does not exist.
                when I went there to ESR then under a software component I found a message under underlying components  like             " XXXXXXXXXXXXXXXXXXXXX not exist"  but I am not aware of the object related to that Key ID.
    Please help me out in this . Thanking you in Advance.
    Regards,
    Sridhar

    Hi Neeetesh,
             I got the alternative solution for my problem. All credit goes to you. I recreated the communication channels instead of using the same ones after Upgrad. Any way we need to change the communication channels after importing the channels but the system is giving the above error message as   "Adapter Software component with Key ID XXXXXXXX......  does not exist".
             But its allowing me to create a new channel. Then based on the neetesh suggestion, I went through and create the new comm channels instead of wasting so much time on the same issue.
            Thanks a lot Neetesh.     
             I am really sorry for not giving your  points.  I am assigning points  now with great pleasure. Here you go.
    Regards,
    Dasari.

  • Error during unattended install of SQL 2012 (..setting 'CLTRESULTDIR' does not exist.)

    Hi ALl,
    I'm trying an automated install of SQL 2012 on WIndows 2012, but I keep running into this error (using a configuration.ini file generated by running through setup and grabbing it just before I clicked 'OK')
    Contents of summary log:
    Overall summary:
       Final result:                  Failed: see details below
       Exit code (Decimal):           -2068578304
       Exit facility code:            1204
       Exit error code:               0
       Exit message:                  The specified directory 'C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir' for setting 'CLTRESULTDIR' does not
    exist.
       Start time:                    2015-01-09 10:19:12
       End time:                      2015-01-09 10:20:07
       Requested action:              Install
    Setup completed with required actions for features.
     Troubleshooting information for those features:
       Next step for SQLEngine:       SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for Replication:     SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for FullText:        SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for DQ:              SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for AS:              SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for RS:              SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for RS_SHP:          SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for RS_SHPWFE:       SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for DQC:             SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for IS:              SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for Conn:            SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for Adv_SSMS:        SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for SDK:             SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for BC:              SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for DREPLAY_CTLR:    SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for DREPLAY_CLT:     SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for BIDS:            SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for SSMS:            SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for SNAC:            SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for SNAC_SDK:        SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for Writer:          SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for BOL:             SQL Server Setup was canceled before completing the operation. Try the setup process again.
       Next step for Browser:         SQL Server Setup was canceled before completing the operation. Try the setup process again.
     Machine Properties:
       Machine name:                  IDCSQLTST11
       Machine processor count:       2
       OS version:                    Future Windows Version
       OS service pack:              
       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
    Package properties:
       Description:                   Microsoft SQL Server 2012
       ProductName:                   SQL Server 2012
       Type:                          RTM
       Version:                       11
       SPLevel:                       0
       Installation location:         E:\SQL_Server_2012_StandardEdition\x64\setup\
       Installation edition:          Standard
    Product Update Status:
       None discovered.
    User Input Settings:
       ACTION:                        Install
       ADDCURRENTUSERASSQLADMIN:      false
       AGTSVCACCOUNT:                 NT Service\SQLSERVERAGENT
       AGTSVCPASSWORD:                <empty>
       AGTSVCSTARTUPTYPE:             Automatic
       ASBACKUPDIR:                   C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Backup
       ASCOLLATION:                   Latin1_General_CI_AS
       ASCONFIGDIR:                   C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Config
       ASDATADIR:                     C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Data
       ASLOGDIR:                      C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Log
       ASPROVIDERMSOLAP:              1
       ASSERVERMODE:                  MULTIDIMENSIONAL
       ASSVCACCOUNT:                  NT Service\MSSQLServerOLAPService
       ASSVCPASSWORD:                 <empty>
       ASSVCSTARTUPTYPE:              Manual
       ASSYSADMINACCOUNTS:            DOMAINAA\SQLADMINS
       ASTEMPDIR:                     C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Temp
       BROWSERSVCSTARTUPTYPE:         Disabled
       CLTCTLRNAME:                  
       CLTRESULTDIR:                  C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir
       CLTSTARTUPTYPE:                Manual
       CLTSVCACCOUNT:                 NT Service\SQL Server Distributed Replay Client
       CLTSVCPASSWORD:                <empty>
       CLTWORKINGDIR:                 C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\WorkingDir
       COMMFABRICENCRYPTION:          0
       COMMFABRICNETWORKLEVEL:        0
       COMMFABRICPORT:                0
       CONFIGURATIONFILE:             E:\SQL_Server_2012_StandardEdition\ConfigurationFile.ini
       CTLRSTARTUPTYPE:               Manual
       CTLRSVCACCOUNT:                NT Service\SQL Server Distributed Replay Controller
       CTLRSVCPASSWORD:               <empty>
       CTLRUSERS:                     DOMAINAA\user12345
       ENABLERANU:                    false
       ENU:                           true
       ERRORREPORTING:                false
       FEATURES:                      SQLENGINE, REPLICATION, FULLTEXT, DQ, AS, RS, RS_SHP, RS_SHPWFE, DQC, BIDS, CONN, IS, BC, SDK, BOL, SSMS, ADV_SSMS,
    DREPLAY_CTLR, DREPLAY_CLT, SNAC_SDK
       FILESTREAMLEVEL:               0
       FILESTREAMSHARENAME:           <empty>
       FTSVCACCOUNT:                  NT Service\MSSQLFDLauncher
       FTSVCPASSWORD:                 <empty>
       HELP:                          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 Service\MsDtsServer110
       ISSVCPASSWORD:                 <empty>
       ISSVCSTARTUPTYPE:              Automatic
       MATRIXCMBRICKCOMMPORT:         0
       MATRIXCMSERVERNAME:            <empty>
       MATRIXNAME:                    <empty>
       NPENABLED:                     0
       PID:                           *****
       QUIET:                         true
       QUIETSIMPLE:                   false
       ROLE:                         
       RSINSTALLMODE:                 DefaultNativeMode
       RSSHPINSTALLMODE:              SharePointFilesOnlyMode
       RSSVCACCOUNT:                  NT Service\ReportServer
       RSSVCPASSWORD:                 <empty>
       RSSVCSTARTUPTYPE:              Manual
       SAPWD:                         <empty>
       SECURITYMODE:                  SQL
       SQLBACKUPDIR:                  <empty>
       SQLCOLLATION:                  Latin1_General_CI_AS
       SQLSVCACCOUNT:                 NT Service\MSSQLSERVER
       SQLSVCPASSWORD:                <empty>
       SQLSVCSTARTUPTYPE:             Automatic
       SQLSYSADMINACCOUNTS:           DOMAINAA\SQLADMINS
       SQLTEMPDBDIR:                  F:\TempDB
       SQLTEMPDBLOGDIR:               <empty>
       SQLUSERDBDIR:                  E:\SQLData
       SQLUSERDBLOGDIR:               D:\SQLLog
       SQMREPORTING:                  false
       TCPENABLED:                    1
       UIMODE:                        Normal
       UpdateEnabled:                 true
       UpdateSource:                  MU
       X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20150109_101753\ConfigurationFile.ini
    Detailed results:
       Feature:                       Database Engine Services
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       SQL Server Replication
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Full-Text and Semantic Extractions for Search
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Data Quality Services
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Analysis Services
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Reporting Services - Native
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Reporting Services - SharePoint
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Reporting Services Add-in for SharePoint Products
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Data Quality Client
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Integration Services
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Client Tools Connectivity
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Management Tools - Complete
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Client Tools SDK
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Client Tools Backwards Compatibility
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Distributed Replay Controller
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Distributed Replay Client
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       SQL Server Data Tools
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Management Tools - Basic
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       SQL Client Connectivity
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       SQL Client Connectivity SDK
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       SQL Writer
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       Documentation Components
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
      Feature:                       SQL Browser
       Status:                        Failed: see logs for details
       Reason for failure:            Setup was canceled for the feature.
       Next Step:                     SQL Server Setup was canceled before completing the operation. Try the setup process again.
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20150109_101753\SystemConfigurationCheck_Report.htm
    Exception summary:
     The following is an exception stack listing the exceptions in outermost to innermost order
     Inner exceptions are being indented
    Exception type: Microsoft.SqlServer.Chainer.Infrastructure.InputSettingValidationException
         Message:
             The specified directory 'C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir' for setting 'CLTRESULTDIR' does not exist.
         HResult : 0x84b40000
             FacilityCode : 1204 (4b4)
             ErrorCode : 0 (0000)
         Data:
           SQL.Setup.FailureCategory = InputSettingValidationFailure
           DisableWatson = true
         Stack:
             at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.LogAllValidationErrorsAndThrowFirstOne(ValidationState vs)
             at Microsoft.SqlServer.Configuration.SetupExtension.ValidateFeatureSettingsAction.ExecuteAction(String actionId)
             at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
             at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context)
         Inner exception type: Microsoft.SqlServer.Configuration.DistributedReplayExtension.DirectoryNotExistException
             Message:
                     The specified directory 'C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir' for setting 'CLTRESULTDIR' does not exist.
             HResult : 0x87d00006
                     FacilityCode : 2000 (7d0)
                     ErrorCode : 6 (0006)
             Data:
               DirectoryPath = C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir
               SettingName = CLTRESULTDIR
               WatsonData = 
    Microsoft.SqlServer.Configuration.DistributedReplayExtension.DirectoryNotExistException@6

    Hello,
    Open the configuration file with notepad, then go to the “features” variable. On the following article you will find what
    means each parameter:
    http://msdn.microsoft.com/en-us/library/ms144259(v=sql.110).aspx#Feature
    You will also find the list of features supported by each edition on the following article:
    http://msdn.microsoft.com/en-us/library/Cc645993(v=sql.110).aspx
    For example, it seems you have DQ and DQC on that configuration file, please remove them with their corresponding commas.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com
    Thanks Albert that worked when I just selected the main features and excluded ones like DQ and DRC. Thing is why would the standard media allow you to install enterprise features, create a configuration file with these enterprise features and then fail?? Why
    would Microsoft tease you like that? Frustrating since I spent hours on this ..

  • The specified domain either does not exist or could not be contacted when logging in through RDP. Server 2012/SBS 2007

    I have a server 2012 machine running RDP and a PDC running SBS 2007. Every once a while all my users get an error saying "The specified domain either does not exist or could not be contacted". After waiting ~5-10 minutes the issue resolves itself.
    I believe it has something to do with the syncing between the two but am not 100% sure. Anyone know a fix or what I should look at? 
    Jerry T

    Hi Jerry,
    Thank you for posting in Windows Server Forum.
    After referring to your error, it seems to have DNS issue in your case which can’t locate the DC. Please check the setting related to DNS issue as following. (Below quoted from
    this thread)
    If this is the case, I would recommend proceeding like that:
    1. Make sure that each DC has only one IP address in use and ONLY one NIC card enabled (Other NICs should be disabled)
    2. Make sure that public DNS servers are configured as DNS forwarders and not in IP settings of DCs
    3. Choose a healthy DC / DNS server and make each DC point to it as primary DNS server
    4. Make each DC / DNS server point to its private IP address as secondary DNS server
    5. Make sure that needed ports for AD replication are opened: http://technet.microsoft.com/en-us/library/bb727063.aspx
    6. Check your DNS zones and remove manually all obsolete / unused DNS records for DCs
    Once done, run ipconfig /registerdns and restart netlogon on each DC you have.
    On the client computer, run ipconfig /flushdns and check again.
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • SCCM 2012 R2 - Reporting Services Point installation - "The Datasource does not exist"

    Hi all,
    Quick bit of background, we have SCCM 2012 R2 installed on a Windows 2012 R2 server. We have the SQL back end off box, configured on a SQL 2012 R2 server running on a Windows Server 2012 R2 cluster. Then there is yet another server which runs the reporting
    services. I've just tried installing the Reporting Services Point on the srs server but it doesn't appear to have worked that well. Here's the info i've got back: 
    A] Site Status > Reporting services point:
    SMS_SITE_SYSTEM_STATUS_SUMMERIZER
    Site System Status Summarizer detected that the availability of the "Reporting services point" role on server "\\NA-SQLR01.in.tna.local" has changed to Failed.
    B] The last message from the SMS_SRS_REPORTING_POINT Component Status is "Site Component Manager successfully installed this component on this site system"
    C] Here's the first chunk of info which appears in the srsrp.log file:
    SMS_EXECUTIVE started SMS_SRS_REPORTING_POINT as thread ID 4204 (0x106C).
    This is a SRS Reporting Point Role as SRSRP registry key exists.
    Waiting for changes for 0 minutes
    Timed Out...
    Set configuration
    Check state
    Check server health.
    Successfully created srsserver SMS_
    Reporting Services URL from Registry [http://sqlreportserver/ReportServer_SQL2012/ReportService2005.asmx]
    Reporting Services is running
    The DataSource does not exist.
    [sqlserver.local\SQL1] [SCCM_XXX] [ConfigMgr_XXX] [sqlreportserver.LOCAL]
    [SQL2012] [1] [] [xxx\SCCM2012Server]
    Confirmed version [11.0.5058.0] for the Sql Srs Instance.
    System.Web.Services.Protocols.SoapException: The item '/ConfigMgr_XXX' cannot be found. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/ConfigMgr_XXX' cannot be found.~   at Microsoft.ReportingServices.Library.ReportingService2005Impl.GetProperties(String
    Item, Property[] Properties, ItemNamespaceEnum itemNamespace, Property[]& Values)~   at Microsoft.ReportingServices.WebServer.ReportingService2005.GetProperties(String Item, Property[] Properties, Property[]& Values)
    Extract resource language packs if exists
    Loading localization resources from directory [D:\SMS_SRSRP\SrsResources.dll]
    Looking for 'English (United Kingdom)' resources
    Looking for 'English' resources
    Found resources for 'English'
    System.Web.Services.Protocols.SoapException: The item '/ConfigMgr_XXX' cannot be found. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/ConfigMgr_XXX' cannot be found.~   at Microsoft.ReportingServices.Library.ReportingService2005Impl.SetProperties(String
    Item, Property[] Properties, Guid batchId)~   at Microsoft.ReportingServices.WebServer.ReportingService2005.SetProperties(String Item, Property[] Properties)
    System.Web.Services.Protocols.SoapException: The permissions granted to user 'NT AUTHORITY\SYSTEM' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user
    'NT AUTHORITY\SYSTEM' are insufficient for performing this operation.~   at Microsoft.ReportingServices.Library.ReportingService2005Impl.CreateFolder(String Folder, String Parent, Property[] Properties, Guid batchId)~   at Microsoft.ReportingServices.WebServer.ReportingService2005.CreateFolder(String
    Folder, String Parent, Property[] Properties)
    (!) SRS root folder was reported missing
    STATMSG: ID=7405 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_SRS_REPORTING_POINT" SYS=sqlreportserver.LOCAL SITE=P01 PID=2120 TID=4204 GMTDATE=Wed Apr 08 08:56:05.349 2015 ISTR0="ConfigMgr_XXX" ISTR1="sqlreportserver.LOCAL"
    ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0
        WARNING: Could not read registry key HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\MPFDM\Inboxes\ on the server, The operating system reported error 2: The system cannot find the file specified.
        WARNING: Could not read registry key HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\MPFDM\Inboxes\ on the server, The operating system reported error 2: The system cannot find the file specified.
    Failures reported during periodic health check by the SRS Server sqlreportserver.LOCAL.
    Registry change
    Waiting for changes for 1 minutes
    After this point i simply get the following info messages looping endlessly:
    Set configuration
    Check state
    Check server health.
    Successfully created srsserver
    Reporting Services URL from Registry [http://sqlreportserver/ReportServer_SQL2012/ReportService2005.asmx]
    Reporting Services is running
    The DataSource does not exist.
    [sqlreportserverlocal\SQL1] [SCCM_XXX] [ConfigMgr_P01] [sqlreportserver.LOCAL]
    [SQL2012] [1] [] [XX\SCCM2012Server]
    [1] [0]
    Confirmed version [11.0.5058.0] for the Sql Srs Instance.
    System.Web.Services.Protocols.SoapException: The item '/ConfigMgr_XXX' cannot be found. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/ConfigMgr_XXX' cannot be found.~   at Microsoft.ReportingServices.Library.ReportingService2005Impl.GetProperties(String
    Item, Property[] Properties, ItemNamespaceEnum itemNamespace, Property[]& Values)~   at Microsoft.ReportingServices.WebServer.ReportingService2005.GetProperties(String Item, Property[] Properties, Property[]& Values)
    Extract resource language packs if exists
    Loading localization resources from directory [D:\SMS_SRSRP\SrsResources.dll]
    Looking for 'English (United Kingdom)' resources
    Looking for 'English' resources
    Found resources for 'English'
    System.Web.Services.Protocols.SoapException: The item '/ConfigMgr_XXX' cannot be found. ---> Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item '/ConfigMgr_P01' cannot be found.~   at Microsoft.ReportingServices.Library.ReportingService2005Impl.SetProperties(String
    Item, Property[] Properties, Guid batchId)~   at Microsoft.ReportingServices.WebServer.ReportingService2005.SetProperties(String Item, Property[] Properties)
    System.Web.Services.Protocols.SoapException: The permissions granted to user 'NT AUTHORITY\SYSTEM' are insufficient for performing this operation. ---> Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions granted to user
    'NT AUTHORITY\SYSTEM' are insufficient for performing this operation.~   at Microsoft.ReportingServices.Library.ReportingService2005Impl.CreateFolder(String Folder, String Parent, Property[] Properties, Guid batchId)~   at Microsoft.ReportingServices.WebServer.ReportingService2005.CreateFolder(String
    Folder, String Parent, Property[] Properties)
    (!) SRS root folder was reported missing
    Failures reported during periodic health check by the SRS Server sqlreportserver.LOCAL.
    Registry change
    Waiting for changes for 1 minutes
    Has anyone come across this issue before? Must admit, I'm not too hot on the sql side of things so any advice or suggestions would be greatly appreciated. Thanks in advance!

    Hi guys, cheers for the swift response.
    Garth, i can access SSRS in IE from the SCCM box and it looks a-ok.
    Paul, nope can't say I've done any configuration of reporting services - the whole thing has been set up by the database team. Having had a trundle through Reporting Services Configuration Manager, it seems the Database team have set up SSRS in line with
    the walkthrough you posted.
    Since i'm not seeing the ConfigMgr_XXX folder appear in SSRS I'm wondering if there's something preventing SCCM from being able to create it. The message
    "Microsoft.ReportingServices.Diagnostics.Utilities.AccessDeniedException: The permissions
    granted to user 'NT AUTHORITY\SYSTEM' are insufficient for performing this operation" sounds like the account SCCM is leveraging to perform the install might not have the right permissions in SSRS. Do i need to delegate specific rights to the NT
    AUTHORITY\SYSTEM account in SRS perhaps?

  • Transfer to IVR in Outbound Campaign does not work

    Hi
    I am configuring an outbound predictive campaign and I need when no agents are available the customer should be transfer to my IVR, but when the call is transferred it is dropped.
    When I check the debugs of the gateway I found  "Busy User" disconnected cause 17. 
    I hope you can help me with this issue.
    UCCE 9.0(2)
    CUCM 9.1
    GW 2921
    My script to Transfer to IVR is like this:
    My campaign configuration is like this:
    Regards.

    Ok, have you configured your Dialer to Handle TR Label which comes as a response through MR PG, for Translation routing request?
    look at below. how your dialer is configured to handle label? what is flow ?
    Modification of Local Static Route File
    The SIP Dialer installation process installs an empty template file named DNPHost in the \icm\customerInstanceName\Dialer directory. This file defines the static route mappings of a dialed number wildcard pattern to the IP address or host name with which an agent phone or CTI Route point is registered. For each static route you wish to define, enter a row in this file in the following format:
    wildcard pattern, IP address or host name, description
    Examples:
    7?????, 10.86.227.144, transferring outbound calls to agent extensions
    86! , 10.86.227.186, for CTI Route Points on CUCM node1
    4?????, gambino.cisco.com, transfer to IVR campaign
    For single gateway deployments, the SIP Dialer reads the static routing info from DNPHost and uses the information from the file to construct the SIP REFER message. If the SIP Dialer is setup to support a voice gateway, the SIP Dialer loads DNPHost, ensures that it has valid routing entries, and sends an alarm if the file does not exist or is invalid.
    See the installed DNPHost file template for additional information about its use.
    regards
    Chintan

  • Detection of product '{7842C220-6E9A-4D5A-AE70-0E138271F883}', feature 'SDK_Full', component '{5459C63B-8203-43FD-9C96-9D643FD17EF0}' failed. The resource 'G:\' does not exist.

    Hi
    We installed SQL Server 2012 from a USB drive and now the event logs report the following repeatedly
    Log Name:      Application
    Source:        MsiInstaller
    Date:          17/10/2014 10:27:02
    Event ID:      1004
    Task Category: None
    Level:         Warning
    Keywords:      Classic
    User:          SYSTEM
    Computer:      xxxxxx
    Description:
    Detection of product '{7842C220-6E9A-4D5A-AE70-0E138271F883}', feature 'SDK_Full', component '{5459C63B-8203-43FD-9C96-9D643FD17EF0}' failed.  The resource 'G:\' does not exist.
    Any ideas of how to stop this would be appreciated.
    Rich

    Thanks for clarifying Rich can you please look at answer given in
    This Thread. I guess issue is because you installed SQL Server from USB drive.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Source message Message Type: POR does not exist in software component versi

    HI All,
    I have a .tpz file exported from an SRM 4.0 PI system which i have imported in SRM 7.0 ECC 6.0 PI.
    I have imported the .tpz file through the import through "client" option.
    I am able to open all the objects but i am not able to open the Message mappings.....
    It is throwing the following error:
    Source message Message Type: PurchaseOrderRequest does not exist in software component version xx_xx_PO_PROCESSING, 1.0 of xx.com Check whether software component version xx_xx_PO_PROCESSING, 1.0 of xx.com is in the Enterprise Services Repository. Import this or a newer version if necessary.
    This needs to resolved very urgently...
    Kindly help...
    Thanx in advance..
    Nandan

    Hi,
    I'd say you need to import some other SWCV which has all the IDOC typos you use in your scenario
    probably this is a prerequisite for importing your SWCV
    I don't think this is related to sp level or anything like that
    it's just that SWCV is missing
    Regards,
    Michal Krawczyk

Maybe you are looking for