Xp_cmdshell error

Hi,
I have an old SQL 2000 server that uses
xp_cmdshell. Been working fine for years.
Now it comes up with an error
when I run this:
exec master.dbo.xp_cmdshell 'dtsrun -E -Swsisql3 -NImport_APDIST'
I get this error:
Cannot load the DLL ppspps, or one of the DLLs it
references. Reason: 126(The specified module could not be found.).
So in
troubleshooting I run this:
use master
go
sp_helpextendedproc 'xp_cmdshell'
the results:
name dll
xp_cmdshell
ppspps
I can't seem to figure out why the DLL is missing? I searched for
ppspps.dll and is not on the server. Is this even the correct file?
qeqw

8Looks something is not what it should be on that server. When I run
EXEC sp_helpextendedproc 'xp_cmdshell'
on SQL 2000, I get:
name            dll    
xp_cmdshell     xplog70.dll
DBCC CHECKDB and DBCC CHECKCATALOG on master could be a start to see whether there is plain corruption.
But I would also look around to see if there are other spooky things.
I guess that you can repair it by dropping and readding xp_cmdshell, but it is not that it is supported - then again, nor is SQL 2000 these days...
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • Xp_cmdshell error, but not calling xp_cmdshell anywhere

    I'm using SQL Server 2005.  My company uses a very large, complex legal services developed by an outside firm, with whom we work pretty closely.  I'm adapting a stored procedure that writes one record into a table which has several required columns
    (NOT NULL)  The procedure also invokes another stored procedure and a user-defined function.
    So far as I can tell, I'm passing in all of the required parameters; for any column that is not required, I'm passing in NULL.  I'm invoking the procedure as follows:
    EXEC sp_WriteARecord <key value 1>, <key value 2>, <key value 3>, <key value 4>, NULL, NULL, NULL, NULL
    When I make this call, I get the following error:
    Msg 229, Level 14, State 5, Procedure xp_cmdshell, Line 1
    The EXECUTE permission was denied on the object 'xp_cmdshell', database 'mssqlsystemresource', schema 'sys'.
    The problem is, there is no call to xp_cmdshell in any of the procedures or the function.  I don't think I've ever seen this before, unless I was, for some reason, trying to see if I could actually call xp_cmdshell.  I'm not a DBA, and I know that
    I have server-level Admin privileges, but I don't believe that's the problem.
    I hope this is enough detail to adequately describe the problem.  I'd be very grateful if anyone can point me in the right direction.

    The query that Sean gave you have a potential problem, the string xp_cmdshell may be split up over two lines in sys.comments. This is safer:
    SELECT object_name(object_id) FROM sys.sql_modules WHERE definition LIKE '%xp_cmdshell%'
    And you should have db_owner rights when you run this.
    Note: if procedures have been created WITH ENCRYPTION, you will come back empty-handed.
    But something is certainly calling xp_cmdshell. That we can tell from here.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • SP with xp_cmdshell gives an error in the MessageQueue, but executes successfully in SSMS.

    Hi All,
    I have a SP, which calls xp_cmdshell in it. This SP is being used in a MessageQueue. 
    The SQL server and Agent services are configured using a Domain service account, and this service account has a login under the sysadmin server role as well.
    When the MessageQueue is invoked, the SP returns the following exception :
    The xp_cmdshell proxy account information cannot be retrieved or is invalid. Verify that the '##xp_cmdshell_proxy_account##' credential exists and contains valid information.
    But when I execute the SP in SSSMS, under the service account login (which is a sysadmin), it successfully executes.
    I even created the ##xp_cmdshell_proxy_account## credential, but the Message Queue never stops giving this error.
    This is how the queue looks like :
    CREATE QUEUE [dbo].[TestxmCmdshellQueue]
    WITH STATUS = ON ,
    RETENTION = OFF ,
    ACTIVATION (      STATUS = ON ,
                            PROCEDURE_NAME = [dbo].[SpWithxp_cmdshell_Init] ,
                            MAX_QUEUE_READERS = 5 ,
                            EXECUTE AS N'dbo'  ),
    POISON_MESSAGE_HANDLING (STATUS = OFF) 
    The Service account is configured as a Local Administrator in the Local Server as well.
    I am running SQL Server 2008 R2 Sp2 on a Windows Server 2008 R2 Enterprise Machine. 
    Please let me know what I am missing here.

    I Made TRUSTWORTHY = ON in the database and the SP executed without any problem by the Message Queue.
    No, that is not the solution.
    Yes, it works. And it is a lot simpler than the solution I pointed you to. But it opens a big security hole. Or, well, depending how things you are on your server, it may be entirely uncontroversial. But as long as I don't know anything, I will have
    to assume that it is a security hole. And even if there is no one today on the server who is db_owner in the database but who should not be sysadmin, that could happen in the future.
    So, to anyone else who is reading this: don't set your databases to be trustworthy, unless you fully understand the implication. The correction solution is to use certificate signing. I describe this in detail in my article, and this article also explains
    the dangers with TRUSTWORTHY.
    http://www.sommarskog.se/grantperm.html
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Xp_cmdshell giving error

    HI All,
    I was trying to get the list of all the files in the folder,am getting an error saying "
    '\\file01\EDW\Perf\' is not recognized as an internal or external command,
    Please help
    declare @files table (ID int IDENTITY, FileName varchar(200))
    insert into @files execute xp_cmdshell '\\file01\EDW\Perf\'
    select * from @files
    Thanks in Advance.

    xp_cmdshell doesnt list files in folder by itself
    i think what you need is this
    declare @files table (ID int IDENTITY, FileName varchar(200))
    insert into @files execute xp_cmdshell 'DIR "\\file01\EDW\Perf"'
    select * from @files
    where FileName NOT LIKE '%<DIR>%'
    AND FileName NOT LIKE '%bytes%'
    AND FileName IS NOT NULL
    courtesy
    http://oakdome.com/programming/SQL_FileListing.php
    Also account executing xp_cmdshell should be a sysadmin
    Otherwise you need to configure a proxy account for this
    http://www.databasejournal.com/features/mssql/xpcmdshell-for-non-system-admin-individuals.html
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Xp_cmdshell raising error when running script on a remote server by server authentication

    Sqlcmd: Error: Error occurred while opening or operating on file C:\ewApps\Source\MyIssueApp\Scripts\DBScripts\issueUpdateSchemaVersion.sql (Reason: The system cannot find the path specified).
    here is my sql script-
    Declare @ScriptVersion ='1.1'
    Declare @TargetScriptVersionNo = '1.1'
    Declare @DBServerName VARCHAR(50)= 'remote-a'
    Declare @DBName VARCHAR(50)='mydb'
    Declare @FilePath NVARCHAR(MAX)= 'C:\ewApps\Source\MyIssueApp\Scripts\DBScripts\issueUpdateSchemaVersion.sql'
    DECLARE @UserName VARCHAR(10) = 'sa'
    DECLARE @Password VARCHAR(20) = 'sql1k9@abcd'
    DECLARE @Command =''
    set @Command = ' sqlcmd -S ' + @DBServerName + ' -U ' + @UserName + ' -P '+ @Password + ' -d ' + @DBName + ' -i "'+ @FilePathForAllScript + '" -v SubScriptVersion=''' + @VersionNumber + ''''
    EXEC xp_cmdshell @Command
    the generated string @command is -
    sqlcmd -S ewp-dev14 -U sa -P sql2k8@dev14 -d a -i "C:\ewApps\Source\MyIssueApp\Scripts\DBScripts\issueUpdateSchemaVersion.sql" -v SubScriptVersion='1.1'
    and also
    sqlcmd -S ewp-dev14 -U sa -P sql2k8@dev14 -d a -i C:\ewApps\Source\MyIssueApp\Scripts\DBScripts\issueUpdateSchemaVersion.sql -v SubScriptVersion='1.1'
    i think this is a long path related issue, but when i pass a small path, it works like c:\ewapps\issueUpdateSchemaVersion.sql, but i cant use small path , the path mentioned above is mandatory..
    i dont have any space in my path still i have tried it by applying both "" (double codes) and without double codes but its not working, and showing following error-
    Sqlcmd: Error: Error occurred while opening or operating on file C:\ewApps\Source\MyIssueApp\Scripts\DBScripts\issueUpdateSchemaVersion.sql (Reason: The system cannot find the path specified).
    all the above parameters are coming from a batch file.
    Note- My this server is at TFS, can it be an issue ?? please help...

    Yes, files are properly located.
    than what can be the solution for this ??
    Double-check and triple-check. Computers rarely lie. If the machine says The system cannot find the path specified that rarely means
    I'm just too lazy be bothered right now, and that's why I don't find it.
    Run "xp_cmdshell 'DIR'" on various parts in the path to troubleshoot:
    xp_cmdshell 'DIR C:\ewApps\Source\MyIssueApp\Scripts\DBScripts\issueUpdateSchemaVersion.sql'
    xp_cmdshell 'DIR C:\ewApps\Source\MyIssueApp\Scripts\DBScripts\'
    etc, with and without quotes.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to capture error messages for BCP when running through XP_CMDSHELL

    XP_cmdshell returns 0 as success when running BCP that causes insertion failure for any records (failure because of truncation, data type mismatch etc.)
    One way is to capture output message in temp table and can parse the messages. but I am looking for some direct methods.

    Hi Naveen Raikwar,
    We can use insert/execute syntax to insert error output to a file, here is a good article, please see:
    http://www.sqlservercentral.com/articles/Error+Handling/69196/
    And here is a similar thread, please refer to:
    http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/b37ec1fd-ea2f-4546-93c1-8bb9d589710d
    Thanks,
    Eileen
    Eileen Zhao
    TechNet Community Support

  • Fatal error while executing the DQS installer on SQL Server 2014

    Hi all.
    I am receiving the following error when attempting to install DQS on the following platform:
    Windows Server 2012
    Microsoft SQL Server 2014 - 12.0.2000.8 (X64)   Feb 20 2014 20:04:26   Copyright (c) Microsoft Corporation  Enterprise Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: )
    (no entries in event viewer)
    Error is:
    [4/15/2015 8:45:04 AM] Fatal error while executing the DQS installer.
    Microsoft.Ssdqs.Proxy.ImportExport.ImportExportException: Error occurred in a server proxy call during the import/export process. ---> Microsoft.Ssdqs.Proxy.ImportExport.ImportProcessFailedException: System.NullReferenceException: Object reference not set
    to an instance of an object.
       at System.Security.Cryptography.CryptoStream..ctor(Stream stream, ICryptoTransform transform, CryptoStreamMode mode)
       at Microsoft.Ssdqs.ImportExportManagement.ImportExport.ImportExportReader..ctor(Stream stream)
       at Microsoft.Ssdqs.ImportExportManagement.ImportExport.ImportExportManager.Import(Stream input)
       at Microsoft.Ssdqs.ImportExportManagement.Calibrator.ImportKnowledgebaseCalibrator.Calibrate(IMasterContext masterContext, CalibrationMode calibrationMode, ConfigurationDomParameter calibratorConfiguration)
       at Microsoft.Ssdqs.Core.Service.Calibration.Impl.ExecuteCalibratorFlow.Process(IMasterContext context)
       --- End of inner exception stack trace ---
       at Microsoft.Ssdqs.Proxy.ImportExport.ImportAsProcessManager.WaitUntillProcessCompletes(Int64 processId, Int64 knowledgebaseId, ImportExportCancellationToken cancelToken)
       at Microsoft.Ssdqs.Proxy.ImportExport.ImportAsProcessManager.KnowledgebaseImport(String kbName, String kbDescription, String fileName, ImportExportCancellationToken cancelToken)
       at Microsoft.Ssdqs.DqsInstaller.Logic.Actions.LoadOutOfTheBoxDataAction.Execute()
       at Microsoft.Ssdqs.DqsInstaller.Logic.ActionExecuter.ExecuteAllActions()
       at Microsoft.Ssdqs.DqsInstaller.Logic.Installer.Main(String[] args)
    Thanks for any advice you can give.
    Full log below:
    Microsoft (R) DQS Installer Command Line Tool
    Copyright (c) 2014 Microsoft. All rights reserved.
    [4/15/2015 7:58:20 AM] DQS Installer started. Installation log will be written to C:\Program Files\Microsoft SQL Server\MSSQL12.DW01\MSSQL\Log\DQS_install.log
    [4/15/2015 7:58:20 AM] Setting the collation to default value: SQL_Latin1_General_CP1_CI_AS
    [4/15/2015 7:58:20 AM] Using instance: DW01, catalog: DQS.
    [4/15/2015 7:58:20 AM] Executing action: Validate collation argument.
    [4/15/2015 7:58:20 AM] Action 'Validate collation argument' finished successfully.
    [4/15/2015 7:58:20 AM] Executing action: Check whether system reboot is pending.
    [4/15/2015 7:58:20 AM] Action 'Check whether system reboot is pending' finished successfully.
    [4/15/2015 7:58:20 AM] Executing action: Create data quality event source.
    [4/15/2015 7:58:20 AM] Action 'Create data quality event source' finished successfully.
    [4/15/2015 7:58:20 AM] Executing action: Request Database Master Key password from user..
    Microsoft (R) DQS Installer Command Line Tool
    Copyright (c) 2014 Microsoft. All rights reserved.
    [4/15/2015 8:39:59 AM] DQS Installer started. Installation log will be written to C:\Program Files\Microsoft SQL Server\MSSQL12.DW01\MSSQL\Log\DQS_install.log
    [4/15/2015 8:39:59 AM] Parsing DqsInstaller command line arguments.
    [4/15/2015 8:39:59 AM] Setting the catalog to default value: DQS
    [4/15/2015 8:39:59 AM] Setting the collation to default value: SQL_Latin1_General_CP1_CI_AS
    [4/15/2015 8:39:59 AM] Using instance: DEV01, catalog: DQS.
    [4/15/2015 8:39:59 AM] Executing action: Validate collation argument.
    [4/15/2015 8:39:59 AM] Action 'Validate collation argument' finished successfully.
    [4/15/2015 8:39:59 AM] Executing action: Check whether system reboot is pending.
    [4/15/2015 8:39:59 AM] Action 'Check whether system reboot is pending' finished successfully.
    [4/15/2015 8:39:59 AM] Executing action: Create data quality event source.
    [4/15/2015 8:39:59 AM] Action 'Create data quality event source' finished successfully.
    [4/15/2015 8:39:59 AM] Executing action: Request Database Master Key password from user..
    [4/15/2015 8:41:05 AM] Action 'Request Database Master Key password from user.' finished successfully.
    [4/15/2015 8:41:05 AM] Executing action: Approve removal of data quality services previous schema.
    [4/15/2015 8:41:05 AM] Action 'Approve removal of data quality services previous schema' finished successfully.
    [4/15/2015 8:41:05 AM] Executing action: Load Installation Scripts.
    [4/15/2015 8:41:05 AM] Extracting script to: C:\Users\SqlServiceAcct\AppData\Local\Temp\3mo2vwbu.xch
    [4/15/2015 8:41:06 AM] Extracting script: db\create_core_db_objects.sql
    [4/15/2015 8:41:06 AM] Extracting script: db\create_logic_db_objects.sql
    [4/15/2015 8:41:06 AM] Extracting script: db\create_transient_db_objects.sql
    [4/15/2015 8:41:06 AM] Extracting script: db\static_data.sql
    [4/15/2015 8:41:06 AM] Extracting script: db\drop_dq_databases.sql
    [4/15/2015 8:41:06 AM] Extracting script: db\db_version.sql
    [4/15/2015 8:41:06 AM] Extracting script: helper\DeleteSchemaDs.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\drop_all_assemblies.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\create_databases.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\drop_databases.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\drop_all_tables.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\drop_database_properties.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\master_create.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\master_recreate.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\register_assemblies.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\register_assemblies_tsql.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\register_dq_assemblies.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\create_service_broker_objects.sql
    [4/15/2015 8:41:06 AM] Extracting script: sql\drop_service_broker_objects.sql
    [4/15/2015 8:41:06 AM] Extracting script: db\set_dq_databases_single_user.sql
    [4/15/2015 8:41:06 AM] Extracting script: db\set_dq_databases_multi_user.sql
    [4/15/2015 8:41:06 AM] Extracting script: db\upgrade_all_versions.sql
    [4/15/2015 8:41:06 AM] Extracting script: recreate_schema.bat
    [4/15/2015 8:41:06 AM] Extracting script: upgrade_schema.bat
    [4/15/2015 8:41:06 AM] Extracting script: upgrade_version_tables.bat
    [4/15/2015 8:41:06 AM] Extracting script: drop_databases.cmd
    [4/15/2015 8:41:06 AM] Extracting script: register_dlls.cmd
    [4/15/2015 8:41:06 AM] Extracting script: unregister_dlls.cmd
    [4/15/2015 8:41:06 AM] Extracting script: assembly_paths_retail.txt
    [4/15/2015 8:41:06 AM] Extracting script: DQS_Data.dqs
    [4/15/2015 8:41:06 AM] Extracting script: DefaultKbs.xml
    [4/15/2015 8:41:06 AM] Total scripts extracted: 31
    [4/15/2015 8:41:06 AM] Action 'Load Installation Scripts' finished successfully.
    [4/15/2015 8:41:06 AM] Executing action: Create data quality schema.
    [4/15/2015 8:41:06 AM] Script: 'recreate_schema.bat CMTSQLSVR04\DEV01 DQS SQL_Latin1_General_CP1_CI_AS'
    [4/15/2015 8:41:06 AM] .  Trying to connect using Windows Authentication and db name...
    [4/15/2015 8:41:06 AM] Run create_databases.sql to create Data Quality Service databases if they do not exist.
    [4/15/2015 8:41:07 AM] 
    [4/15/2015 8:41:07 AM]  --> Running File: create_databases.sql
    [4/15/2015 8:41:07 AM] ---[ Creating databases ]---
    [4/15/2015 8:41:07 AM] Changed database context to 'master'.
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --> Running File: drop_dq_database.sql
    [4/15/2015 8:41:10 AM] ---[ Dropping Data Quality Databases ]---
    [4/15/2015 8:41:10 AM] Creating DQS databases (DQS_MAIN, DQS_PROJECTS, DQS_STAGING_DATA)...
    [4/15/2015 8:41:10 AM] Configuring DQS databases
    [4/15/2015 8:41:10 AM] Configuration option 'clr enabled' changed from 0 to 1. Run the RECONFIGURE statement to install.
    [4/15/2015 8:41:10 AM] Configuration option 'show advanced options' changed from 0 to 1. Run the RECONFIGURE statement to install.
    [4/15/2015 8:41:10 AM] Configuration option 'xp_cmdshell' changed from 0 to 1. Run the RECONFIGURE statement to install.
    [4/15/2015 8:41:10 AM] Creating Master Key for database DQS_MAIN...
    [4/15/2015 8:41:10 AM] Creating Module Signing Certificate for database DQS_MAIN...
    [4/15/2015 8:41:10 AM] Exporting Certificate from DQS_MAIN
    [4/15/2015 8:41:10 AM] Importing Certificate into DQS_PROJECTS
    [4/15/2015 8:41:10 AM] Configuration option 'xp_cmdshell' changed from 1 to 0. Run the RECONFIGURE statement to install.
    [4/15/2015 8:41:10 AM] Creating DQS roles
    [4/15/2015 8:41:10 AM] Run master_recreate.sql to recreate Data Quality Service Main and Projects Databases and drop all tables including known temporary tables.
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --> Running master_recreate.sql
    [4/15/2015 8:41:10 AM] ---[ Recreate DQS Main and Projects Databases ]---
    [4/15/2015 8:41:10 AM] Changed database context to 'DQS_STAGING_DATA'.
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --> Running File: drop_database_properties.sql
    [4/15/2015 8:41:10 AM] ---[ Dropping Database Properties]---
    [4/15/2015 8:41:10 AM] Changed database context to 'DQS_PROJECTS'.
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --> Running File: drop_all_tables.sql
    [4/15/2015 8:41:10 AM] ---[ Dropping all SSDQS Database objects and KB schemas ]---
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --[ Drop all Symmetric Keys ]
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --[ Drop all Certificates ]
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --[ Drop all FK constraints ]
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --[ Drop all views ]
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --[ Drop all tables and synonyms ]
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --[ Drop all database triggers ]
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --[ Drop all stored procedures in Knowledge Base schemas ]
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --[ Drop all types in Knowledge Base schemas ]
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --[ Drop all Knowledge Base schemas ]
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --> Running File: drop_database_properties.sql
    [4/15/2015 8:41:10 AM] ---[ Dropping Database Properties]---
    [4/15/2015 8:41:10 AM] Changed database context to 'DQS_MAIN'.
    [4/15/2015 8:41:10 AM] 
    [4/15/2015 8:41:10 AM]  --> Running File: drop_all_tables.sql
    [4/15/2015 8:41:10 AM] ---[ Dropping all SSDQS Database objects and KB schemas ]---
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --[ Drop all Symmetric Keys ]
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --[ Drop all Certificates ]
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --[ Drop all FK constraints ]
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --[ Drop all views ]
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --[ Drop all tables and synonyms ]
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --[ Drop all database triggers ]
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --[ Drop all stored procedures in Knowledge Base schemas ]
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --[ Drop all types in Knowledge Base schemas ]
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --[ Drop all Knowledge Base schemas ]
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --> Running File: drop_database_properties.sql
    [4/15/2015 8:41:11 AM] ---[ Dropping Database Properties]---
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --> Running master_create.sql
    [4/15/2015 8:41:11 AM] ---[ Creating and Populating Main DQS DB ]---
    [4/15/2015 8:41:11 AM] Changed database context to 'DQS_STAGING_DATA'.
    [4/15/2015 8:41:11 AM] Changed database context to 'DQS_PROJECTS'.
    [4/15/2015 8:41:11 AM] Changed database context to 'DQS_MAIN'.
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --> Running File: create_core_db_objects.sql
    [4/15/2015 8:41:11 AM] ---[  Creating Certificates  ]---
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM] ---[  Creating Symmetric Keys  ]---
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM] ---[  Creating Tables  ]---
    [4/15/2015 8:41:11 AM] Creating Table:     A_TEST   
    [4/15/2015 8:41:11 AM] Creating Table:     A_TEST2   
    [4/15/2015 8:41:11 AM] Creating Table:     A_FLOW   
    [4/15/2015 8:41:11 AM] Creating Table:     A_FLOW_ANSWER   
    [4/15/2015 8:41:11 AM] Creating Table:     A_EXECUTION_UNIT
    [4/15/2015 8:41:11 AM] Creating Table:     A_CODE_GROUP   
    [4/15/2015 8:41:11 AM] Creating Table:     A_CODE_MEMBER   
    [4/15/2015 8:41:11 AM] Creating Table:     A_CONFIGURATION   
    [4/15/2015 8:41:11 AM] Creating Table:     A_PROCESS   
    [4/15/2015 8:41:11 AM] Creating Table:     A_SERVICE_BROKER_TASK   
    [4/15/2015 8:41:11 AM] Creating Table:     A_KNOWLEDGEBASE   
    [4/15/2015 8:41:11 AM] Creating Table:     A_KNOWLEDGEBASE_AUDIT   
    [4/15/2015 8:41:11 AM] Creating Table:     A_KNOWLEDGEBASE_ACTIVITY   
    [4/15/2015 8:41:11 AM] Creating Table:     A_PROFILING_ACTIVITY_ARCHIVE   
    [4/15/2015 8:41:11 AM] Creating Table:     A_CLIENT_SESSION   
    [4/15/2015 8:41:11 AM] Creating Table:     A_REFERENCE_DATA_PROVIDER   
    [4/15/2015 8:41:11 AM] Creating Table:     A_REFERENCE_DATA_PROVIDER_SCHEMA   
    [4/15/2015 8:41:11 AM] Creating Table:     A_REFERENCE_DATA_CACHE   
    [4/15/2015 8:41:11 AM] Creating Table:     A_REFERENCE_DATA_CACHE_SUGGESTION   
    [4/15/2015 8:41:11 AM] Creating Table:     A_REFERENCE_DATA_CACHE_SUGGESTION_PARSED   
    [4/15/2015 8:41:11 AM] Creating Table:     A_REFERENCE_DATA_AUDIT   
    [4/15/2015 8:41:11 AM] Creating Table:     A_IMPORTED_PROJECT   
    [4/15/2015 8:41:11 AM] Creating Table:     A_SPELLER_DICTIONARY_VALUE   
    [4/15/2015 8:41:11 AM] Creating Table:     A_SPECIAL_CHARACTER_RULE   
    [4/15/2015 8:41:11 AM] Creating Table:     A_PERSISTENT_CACHE   
    [4/15/2015 8:41:11 AM] Creating Table:     A_TEMPLATE_OBJECTS   
    [4/15/2015 8:41:11 AM] Creating Table:     A_TEMPLATE_FOREIGN_KEYS   
    [4/15/2015 8:41:11 AM] Creating Table:     A_TEMPLATE_COLUMNS   
    [4/15/2015 8:41:11 AM] ---[ Creating Views ]---
    [4/15/2015 8:41:11 AM] Creating View:      V_A_FLOW
    [4/15/2015 8:41:11 AM] Creating View:      V_A_KNOWLEDGEBASE
    [4/15/2015 8:41:11 AM] Creating View:      V_A_KNOWLEDGEBASE_AUDIT
    [4/15/2015 8:41:11 AM] Creating View:     V_A_REFERENCE_DATA_PROVIDER   
    [4/15/2015 8:41:11 AM] Changed database context to 'DQS_PROJECTS'.
    [4/15/2015 8:41:11 AM] Changed database context to 'DQS_MAIN'.
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --> Running File: static_data.sql
    [4/15/2015 8:41:11 AM] ---[ Inserting Data ]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert Cleansing configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert Logging settings section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert Logging settings section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert Association configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert DataValueService configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert Association rules configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert IndexService configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert Knowledgebase configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert Notification configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert Interactive Cleansing configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Reference Data configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert client paging configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Insert client process sampling configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Matching configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Profiling configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Process configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[FileStorageManager configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[ImportExportManager configuration section]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Reference Data Add provider]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Reference Data Add provider schema]---
    [4/15/2015 8:41:11 AM] ---[Add Special characters for term normalization]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] 
    [4/15/2015 8:41:11 AM]  --> Running File: db_version.sql
    [4/15/2015 8:41:11 AM] ---[ Running version related work ]---
    [4/15/2015 8:41:11 AM] Changed database context to 'DQS_MAIN'.
    [4/15/2015 8:41:11 AM] Creating Table:     A_DB_VERSION_INFO   
    [4/15/2015 8:41:11 AM] Creating Table:     A_DB_VERSION   
    [4/15/2015 8:41:11 AM] Creating Table:     A_DB_VERSION_UPGRADE_SCRIPTS   
    [4/15/2015 8:41:11 AM] Creating Table:     A_DB_VERSION_UPGADE_SCRIPT_PATH   
    [4/15/2015 8:41:11 AM] Creating view:     V_DB_VERSION 
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (0 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (0 rows affected)
    [4/15/2015 8:41:11 AM] ---[Add DB Version information]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (0 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (0 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (0 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Add DB Version upgrade scripts]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Add DB Version upgrade scripts path]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] ---[Add DB Version upgrade scripts path]---
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] (1 rows affected)
    [4/15/2015 8:41:11 AM] Changed database context to 'DQS_PROJECTS'.
    [4/15/2015 8:41:11 AM] Creating Table:     A_DB_VERSION in PROJECTS database 
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM]
    [4/15/2015 8:41:11 AM] Action 'Create data quality schema' finished successfully.
    [4/15/2015 8:41:11 AM] Executing action: Register data quality assemblies and stored procedures.
    [4/15/2015 8:41:11 AM] Script: 'register_dlls.cmd CMTSQLSVR04\DEV01 DQS'
    [4/15/2015 8:41:12 AM] .  Trying to connect using Windows Authentication and db name...
    [4/15/2015 8:41:12 AM] 
    [4/15/2015 8:41:12 AM]  --> Running File: drop_all_assemblies.sql
    [4/15/2015 8:41:12 AM] ---[ Dropping all SSDQS Executable Objects ]---
    [4/15/2015 8:41:12 AM] 
    [4/15/2015 8:41:12 AM]  --> Drop all SSDQS Types
    [4/15/2015 8:41:12 AM] 
    [4/15/2015 8:41:12 AM]  --> Drop all SSDQS Assemblies
    [4/15/2015 8:41:12 AM] 
    [4/15/2015 8:41:12 AM]  --> Drop all SSDQS Schemas
    [4/15/2015 8:41:12 AM] 
    [4/15/2015 8:41:12 AM]  --> Drop all CLR Assemblies
    [4/15/2015 8:41:12 AM] 
    [4/15/2015 8:41:12 AM]  --> Drop DQ startup stored procedure DQInitDQS_MAIN
    [4/15/2015 8:41:12 AM] Changed database context to 'master'.
    [4/15/2015 8:41:12 AM] 
    [4/15/2015 8:41:12 AM]  --> Running File: drop_service_broker_objects.sql
    [4/15/2015 8:41:12 AM] ---[ Dropping all SSDQS Service Broker Objects ]---
    [4/15/2015 8:41:12 AM] Changed database context to 'DQS_MAIN'.
    [4/15/2015 8:41:12 AM] Dropping Service Broker Services.
    [4/15/2015 8:41:12 AM] Dropping Service Broker Queues.
    [4/15/2015 8:41:12 AM] Dropping Service Broker Contracts.
    [4/15/2015 8:41:12 AM] Dropping Service Broker Messages.
    [4/15/2015 8:41:12 AM] Completed - Service Broker objects dropped.
    [4/15/2015 8:41:12 AM] 
    [4/15/2015 8:41:12 AM]  --> Running register_assemblies.sql
    [4/15/2015 8:41:12 AM] ---[ Registering Assemblies ]---
    [4/15/2015 8:41:12 AM] Changed database context to 'DQS_MAIN'.
    [4/15/2015 8:41:12 AM] 
    [4/15/2015 8:41:12 AM]  --> Registering Assemblies
    [4/15/2015 8:41:12 AM]      The following Warnings are benign to DQSInstaller and may be ignored.
    [4/15/2015 8:41:12 AM] 
    [4/15/2015 8:41:12 AM]      * Register .NET dependency assemblies
    [4/15/2015 8:41:25 AM] Warning: The Microsoft .NET Framework assembly 'system.management, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:25 AM] Warning: The Microsoft .NET Framework assembly 'system.configuration.install, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:25 AM] Warning: The Microsoft .NET Framework assembly 'system.runtime.serialization, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:25 AM] Warning: The Microsoft .NET Framework assembly 'smdiagnostics, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:25 AM] Warning: The Microsoft .NET Framework assembly 'system.windows.forms, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:25 AM] Warning: The Microsoft .NET Framework assembly 'system.drawing, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:25 AM] Warning: The Microsoft .NET Framework assembly 'accessibility, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:25 AM] Warning: The Microsoft .NET Framework assembly 'system.runtime.serialization.formatters.soap, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the
    SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:25 AM] Warning: The Microsoft .NET Framework assembly 'microsoft.jscript, version=10.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:26 AM] Warning: The Microsoft .NET Framework assembly 'system.management.instrumentation, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server
    hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:27 AM] Warning: The Microsoft .NET Framework assembly 'system.messaging, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:27 AM] Warning: The Microsoft .NET Framework assembly 'system.directoryservices, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'system.enterpriseservices, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=amd64.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'system.runtime.remoting, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'system.web, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=amd64.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'microsoft.build.framework, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'system.xaml, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'system.runtime.caching, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'microsoft.build.utilities.v4.0, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server
    hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'system.directoryservices.protocols, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server
    hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'system.design, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'system.drawing.design, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'system.web.regularexpressions, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'microsoft.build.tasks.v4.0, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM] Warning: The Microsoft .NET Framework assembly 'system.serviceprocess, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:44 AM]      * Register Microsoft.Practices assemblies
    [4/15/2015 8:41:47 AM] Warning: The Microsoft .NET Framework assembly 'microsoft.csharp, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:47 AM] Warning: The Microsoft .NET Framework assembly 'system.dynamic, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [4/15/2015 8:41:47 AM] 
    [4/15/2015 8:41:47 AM]      The preceding Warnings are benign to DQSInstaller and may be ignored.
    [4/15/2015 8:41:48 AM] 
    [4/15/2015 8:41:48 AM]  --> Running register_dq_assemblies.sql
    [4/15/2015 8:41:48 AM] ---[  Registering Data Quality assemblies ]---
    [4/15/2015 8:41:49 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.infra, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:50 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.core, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:51 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.dataservice, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:51 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.referencedata, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:52 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.index, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:52 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.associationrules, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:53 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.datavalueservice, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:54 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.domainrules, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:54 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.cleansing, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:55 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.association, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:55 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.flow, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:56 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.matching, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:57 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs, version=12.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [4/15/2015 8:41:57 AM] Resource file was not copied
    [4/15/2015 8:41:57 AM] 
    [4/15/2015 8:41:57 AM]  --> Running register_assemblies_tsql.sql
    [4/15/2015 8:41:57 AM] ---[ Registering Assemblies for TSQL]---
    [4/15/2015 8:41:57 AM] Changed database context to 'master'.
    [4/15/2015 8:41:57 AM] Changed database context to 'DQS_MAIN'.
    [4/15/2015 8:41:57 AM] 
    [4/15/2015 8:41:57 AM]      * Clear the Code Member Table A_CODE_MEMBER.
    [4/15/2015 8:41:57 AM]
    [4/15/2015 8:41:57 AM] (0 rows affected)
    [4/15/2015 8:41:57 AM] 
    [4/15/2015 8:41:57 AM]      * Clear the Code Group Table A_CODE_GROUP.
    [4/15/2015 8:41:57 AM]
    [4/15/2015 8:41:57 AM] (0 rows affected)
    [4/15/2015 8:41:57 AM] 
    [4/15/2015 8:41:57 AM]      * Register assemblies T-SQL executable objects
    [4/15/2015 8:41:57 AM]         - Creating assemblies T-SQL registeration stored procedure.
    [4/15/2015 8:41:57 AM] 
    [4/15/2015 8:41:57 AM]      * Creating the internal_core schema
    [4/15/2015 8:41:57 AM]         - Registering Microsoft.Ssdqs.Infra T-SQL executable objects.
    [4/15/2015 8:42:05 AM]         - Registering Microsoft.Ssdqs.Core T-SQL executable objects.
    [4/15/2015 8:42:11 AM]         - Registering Microsoft.Ssdqs.DataService T-SQL executable objects.
    [4/15/2015 8:42:16 AM]         - Registering Microsoft.Ssdqs.ReferenceData T-SQL executable objects.
    [4/15/2015 8:42:21 AM]         - Registering Microsoft.Ssdqs.Index T-SQL executable objects.
    [4/15/2015 8:42:26 AM]         - Registering Microsoft.Ssdqs.Cleansing T-SQL executable objects.
    [4/15/2015 8:42:32 AM]         - Registering Microsoft.Ssdqs.Association T-SQL executable objects.
    [4/15/2015 8:42:37 AM]         - Registering Microsoft.Ssdqs.Flow T-SQL executable objects.
    [4/15/2015 8:42:42 AM]         - Registering Microsoft.Ssdqs T-SQL executable objects.
    [4/15/2015 8:42:51 AM]         - Registering Microsoft.Ssdqs.DataValueService T-SQL executable objects.
    [4/15/2015 8:42:56 AM]         - Registering Microsoft.Ssdqs.DomainRules T-SQL executable objects.
    [4/15/2015 8:43:01 AM]         - Registering Microsoft.Ssdqs.AssociationRules T-SQL executable objects.
    [4/15/2015 8:43:06 AM]         - Registering Microsoft.Ssdqs.Matching T-SQL executable objects.
    [4/15/2015 8:43:12 AM]         - Creating refresh assemblies stored procedure.
    [4/15/2015 8:43:12 AM] Changed database context to 'master'.
    [4/15/2015 8:43:12 AM]         - Creating refresh assemblies helper linked server.
    [4/15/2015 8:43:12 AM]         - Creating and registering [dbo].[DQInitDQS_MAIN] (calls internal_core.InitServer) as startup stored procedure.
    [4/15/2015 8:43:12 AM] 
    [4/15/2015 8:43:12 AM]  --> Running File: create_service_broker_objects.sql
    [4/15/2015 8:43:12 AM] ---[ Registering Service Broker Objects ]---
    [4/15/2015 8:43:12 AM] Changed database context to 'DQS_MAIN'.
    [4/15/2015 8:43:12 AM]         - Creating SB dispatcher stored procedure, messages and contract
    [4/15/2015 8:43:13 AM]         - Creating parallel execution SB queues and services
    [4/15/2015 8:43:13 AM]         - Creating calibration SB queues and services
    [4/15/2015 8:43:13 AM]         - Creating parallel calibration SB queues and services
    [4/15/2015 8:43:13 AM]
    [4/15/2015 8:43:13 AM]
    [4/15/2015 8:43:13 AM] Successfully registered all assemblies.
    [4/15/2015 8:43:13 AM]
    [4/15/2015 8:43:13 AM]
    [4/15/2015 8:43:13 AM] Action 'Register data quality assemblies and stored procedures' finished successfully.
    [4/15/2015 8:43:13 AM] Executing action: Set product version property.
    [4/15/2015 8:43:13 AM] Action 'Set product version property' finished successfully.
    [4/15/2015 8:43:13 AM] Executing action: Create MDS user (if MDS login exists).
    [4/15/2015 8:43:13 AM] Action 'Create MDS user (if MDS login exists)' finished successfully.
    [4/15/2015 8:43:13 AM] Executing action: Load out of the box data.
    [4/15/2015 8:43:22 AM] Started loading knowledgebase 'DQS Data'
    [4/15/2015 8:45:04 AM] Starting installation rollback...
    [4/15/2015 8:45:04 AM] Installation rollback completed successfully.
    [4/15/2015 8:45:04 AM] Fatal error while executing the DQS installer.
    Microsoft.Ssdqs.Proxy.ImportExport.ImportExportException: Error occurred in a server proxy call during the import/export process. ---> Microsoft.Ssdqs.Proxy.ImportExport.ImportProcessFailedException: System.NullReferenceException: Object reference not set
    to an instance of an object.
       at System.Security.Cryptography.CryptoStream..ctor(Stream stream, ICryptoTransform transform, CryptoStreamMode mode)
       at Microsoft.Ssdqs.ImportExportManagement.ImportExport.ImportExportReader..ctor(Stream stream)
       at Microsoft.Ssdqs.ImportExportManagement.ImportExport.ImportExportManager.Import(Stream input)
       at Microsoft.Ssdqs.ImportExportManagement.Calibrator.ImportKnowledgebaseCalibrator.Calibrate(IMasterContext masterContext, CalibrationMode calibrationMode, ConfigurationDomParameter calibratorConfiguration)
       at Microsoft.Ssdqs.Core.Service.Calibration.Impl.ExecuteCalibratorFlow.Process(IMasterContext context)
       --- End of inner exception stack trace ---
       at Microsoft.Ssdqs.Proxy.ImportExport.ImportAsProcessManager.WaitUntillProcessCompletes(Int64 processId, Int64 knowledgebaseId, ImportExportCancellationToken cancelToken)
       at Microsoft.Ssdqs.Proxy.ImportExport.ImportAsProcessManager.KnowledgebaseImport(String kbName, String kbDescription, String fileName, ImportExportCancellationToken cancelToken)
       at Microsoft.Ssdqs.DqsInstaller.Logic.Actions.LoadOutOfTheBoxDataAction.Execute()
       at Microsoft.Ssdqs.DqsInstaller.Logic.ActionExecuter.ExecuteAllActions()
       at Microsoft.Ssdqs.DqsInstaller.Logic.Installer.Main(String[] args)
    Microsoft (R) DQS Installer Command Line Tool
    Copyright (c) 2014 Microsoft. All rights reserved.

    Thank you for the quick response.
    Unfortunately running cmd as admin had no effect on the result. Same exact error.
    After the rollback indicated in the log above, only the DQS_STAGING_DATA database remains in the sql server instance.

  • Fatal Error while Installing DQS.

    Fatal error while trying to install the DQS. Only the DQS staging database is available when I open the SSMS the other databases are not made available with the installation please help out with the error or provide with leads.
    Error Log:
    [11/18/2014 1:49:38 AM] DQS Installer started. Installation log will be written to C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log\DQS_install.log
    [11/18/2014 1:49:39 AM] Setting the collation to default value: SQL_Latin1_General_CP1_CI_AS
    [11/18/2014 1:49:47 AM] Using instance: MSSQLSERVER, catalog: DQS.
    [11/18/2014 1:49:48 AM] Executing action: Validate collation argument.
    [11/18/2014 1:49:48 AM] Action 'Validate collation argument' finished successfully.
    [11/18/2014 1:49:48 AM] Executing action: Check whether system reboot is pending.
    [11/18/2014 1:49:48 AM] Action 'Check whether system reboot is pending' finished successfully.
    [11/18/2014 1:49:48 AM] Executing action: Create data quality event source.
    [11/18/2014 1:49:49 AM] Action 'Create data quality event source' finished successfully.
    [11/18/2014 1:49:49 AM] Executing action: Request Database Master Key password from user..
    [11/18/2014 1:50:38 AM] Action 'Request Database Master Key password from user.' finished successfully.
    [11/18/2014 1:50:38 AM] Executing action: Approve removal of data quality services previous schema.
    [11/18/2014 1:50:38 AM] Action 'Approve removal of data quality services previous schema' finished successfully.
    [11/18/2014 1:50:38 AM] Executing action: Load Installation Scripts.
    [11/18/2014 1:50:38 AM] Extracting script to: C:\Users\Administrator\AppData\Local\Temp\hvu0kshe.qei
    [11/18/2014 1:50:41 AM] Extracting script: db\create_core_db_objects.sql
    [11/18/2014 1:50:41 AM] Extracting script: db\create_logic_db_objects.sql
    [11/18/2014 1:50:41 AM] Extracting script: db\create_transient_db_objects.sql
    [11/18/2014 1:50:41 AM] Extracting script: db\static_data.sql
    [11/18/2014 1:50:41 AM] Extracting script: db\drop_dq_databases.sql
    [11/18/2014 1:50:41 AM] Extracting script: helper\DeleteSchemaDs.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\drop_all_assemblies.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\create_databases.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\drop_databases.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\drop_all_tables.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\drop_database_properties.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\master_create.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\master_recreate.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\register_assemblies.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\register_assemblies_tsql.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\register_dq_assemblies.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\create_service_broker_objects.sql
    [11/18/2014 1:50:41 AM] Extracting script: sql\drop_service_broker_objects.sql
    [11/18/2014 1:50:41 AM] Extracting script: recreate_schema.bat
    [11/18/2014 1:50:41 AM] Extracting script: drop_databases.cmd
    [11/18/2014 1:50:41 AM] Extracting script: register_dlls.cmd
    [11/18/2014 1:50:41 AM] Extracting script: unregister_dlls.cmd
    [11/18/2014 1:50:41 AM] Extracting script: assembly_paths_retail.txt
    [11/18/2014 1:50:41 AM] Extracting script: DQS_Data.dqs
    [11/18/2014 1:50:42 AM] Extracting script: DefaultKbs.xml
    [11/18/2014 1:50:42 AM] Total scripts extracted: 25
    [11/18/2014 1:50:42 AM] Action 'Load Installation Scripts' finished successfully.
    [11/18/2014 1:50:42 AM] Executing action: Create data quality schema.
    [11/18/2014 1:50:42 AM] Script: 'recreate_schema.bat SHANKS-PC DQS SQL_Latin1_General_CP1_CI_AS'
    [11/18/2014 1:50:42 AM] .  Trying to connect using Windows Authentication and db name...
    [11/18/2014 1:50:43 AM] Changed database context to 'master'.
    [11/18/2014 1:50:54 AM] Creating DQS databases (DQS_MAIN, DQS_PROJECTS, DQS_STAGING_DATA)...
    [11/18/2014 1:50:54 AM] Configuring DQS databases
    [11/18/2014 1:50:54 AM] Configuration option 'clr enabled' changed from 0 to 1. Run the RECONFIGURE statement to install.
    [11/18/2014 1:50:54 AM] Creating Master Key for database DQS_MAIN...
    [11/18/2014 1:50:54 AM] Creating Module Signing Certificate for database DQS_MAIN...
    [11/18/2014 1:50:54 AM] Exporting Certificate from DQS_MAIN
    [11/18/2014 1:50:54 AM] Importing Certificate into DQS_PROJECTS
    [11/18/2014 1:50:54 AM] Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install.
    [11/18/2014 1:50:54 AM] Configuration option 'xp_cmdshell' changed from 0 to 1. Run the RECONFIGURE statement to install.
    [11/18/2014 1:50:54 AM] Configuration option 'xp_cmdshell' changed from 1 to 0. Run the RECONFIGURE statement to install.
    [11/18/2014 1:50:54 AM] Creating DQS roles
    [11/18/2014 1:50:54 AM] Changed database context to 'DQS_STAGING_DATA'.
    [11/18/2014 1:50:54 AM]  
    [11/18/2014 1:50:54 AM]  --> Running File: drop_database_properties.sql
    [11/18/2014 1:50:54 AM] Changed database context to 'DQS_PROJECTS'.
    [11/18/2014 1:50:54 AM]  
    [11/18/2014 1:50:54 AM]  --> Drop all SSDQS Database objects and KB schemas
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all Symmetric Keys ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all Certificates ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all FK constraints ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all views ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all tables and synonyms ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all database triggers ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all stored procedures in Knowledge Base schemas ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all types in Knowledge Base schemas ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all Knowledge Base schemas ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --> Running File: drop_database_properties.sql
    [11/18/2014 1:50:56 AM] Changed database context to 'DQS_MAIN'.
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --> Drop all SSDQS Database objects and KB schemas
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all Symmetric Keys ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all Certificates ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all FK constraints ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all views ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all tables and synonyms ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all database triggers ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all stored procedures in Knowledge Base schemas ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all types in Knowledge Base schemas ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --[ Drop all Knowledge Base schemas ]
    [11/18/2014 1:50:56 AM]  
    [11/18/2014 1:50:56 AM]  --> Running File: drop_database_properties.sql
    [11/18/2014 1:50:56 AM] Changed database context to 'DQS_STAGING_DATA'.
    [11/18/2014 1:50:56 AM] Changed database context to 'DQS_PROJECTS'.
    [11/18/2014 1:50:56 AM] Changed database context to 'DQS_MAIN'.
    [11/18/2014 1:50:57 AM]  
    [11/18/2014 1:50:57 AM]  --> Running File: create_core_db_objects.sql
    [11/18/2014 1:50:57 AM] ---[  Creating Certificates  ]---
    [11/18/2014 1:50:57 AM]  
    [11/18/2014 1:50:57 AM] ---[  Creating Symmetric Keys  ]---
    [11/18/2014 1:50:57 AM]  
    [11/18/2014 1:50:57 AM] ---[  Creating Tables  ]---
    [11/18/2014 1:50:57 AM] Creating Table:     A_TEST    
    [11/18/2014 1:50:57 AM] Creating Table:     A_TEST2    
    [11/18/2014 1:50:57 AM] Creating Table:     A_FLOW    
    [11/18/2014 1:50:57 AM] Creating Table:     A_FLOW_ANSWER    
    [11/18/2014 1:50:57 AM] Creating Table:     A_EXECUTION_UNIT 
    [11/18/2014 1:50:57 AM] Creating Table:     A_CODE_GROUP    
    [11/18/2014 1:50:57 AM] Creating Table:     A_CODE_MEMBER    
    [11/18/2014 1:50:57 AM] Creating Table:     A_CONFIGURATION    
    [11/18/2014 1:50:57 AM] Creating Table:     A_PROCESS    
    [11/18/2014 1:50:57 AM] Creating Table:     A_SERVICE_BROKER_TASK    
    [11/18/2014 1:50:57 AM] Creating Table:     A_KNOWLEDGEBASE    
    [11/18/2014 1:50:57 AM] Creating Table:     A_KNOWLEDGEBASE_AUDIT    
    [11/18/2014 1:50:57 AM] Creating Table:     A_KNOWLEDGEBASE_ACTIVITY    
    [11/18/2014 1:50:57 AM] Creating Table:     A_PROFILING_ACTIVITY_ARCHIVE    
    [11/18/2014 1:50:57 AM] Creating Table:     A_CLIENT_SESSION    
    [11/18/2014 1:50:57 AM] Creating Table:     A_REFERENCE_DATA_PROVIDER    
    [11/18/2014 1:50:57 AM] Creating Table:     A_REFERENCE_DATA_PROVIDER_SCHEMA    
    [11/18/2014 1:50:57 AM] Creating Table:     A_REFERENCE_DATA_CACHE    
    [11/18/2014 1:50:57 AM] Creating Table:     A_REFERENCE_DATA_CACHE_SUGGESTION    
    [11/18/2014 1:50:57 AM] Creating Table:     A_REFERENCE_DATA_CACHE_SUGGESTION_PARSED    
    [11/18/2014 1:50:57 AM] Creating Table:     A_REFERENCE_DATA_AUDIT    
    [11/18/2014 1:50:57 AM] Creating Table:     A_IMPORTED_PROJECT    
    [11/18/2014 1:50:57 AM] Creating Table:     A_SPELLER_DICTIONARY_VALUE    
    [11/18/2014 1:50:57 AM] Creating Table:     A_SPECIAL_CHARACTER_RULE    
    [11/18/2014 1:50:57 AM] Creating Table:     A_PERSISTENT_CACHE    
    [11/18/2014 1:50:57 AM] Creating Table:     A_TEMPLATE_OBJECTS    
    [11/18/2014 1:50:57 AM] Creating Table:     A_TEMPLATE_FOREIGN_KEYS    
    [11/18/2014 1:50:57 AM] Creating Table:     A_TEMPLATE_COLUMNS    
    [11/18/2014 1:50:57 AM] ---[ Creating Views ]---
    [11/18/2014 1:50:57 AM] Creating View:      V_A_FLOW
    [11/18/2014 1:50:57 AM] Creating View:      V_A_KNOWLEDGEBASE
    [11/18/2014 1:50:57 AM] Creating View:      V_A_KNOWLEDGEBASE_AUDIT
    [11/18/2014 1:50:57 AM] Creating View:     V_A_REFERENCE_DATA_PROVIDER    
    [11/18/2014 1:50:57 AM] Changed database context to 'DQS_PROJECTS'.
    [11/18/2014 1:50:57 AM] Changed database context to 'DQS_MAIN'.
    [11/18/2014 1:50:57 AM]  
    [11/18/2014 1:50:57 AM]  --> Running File: static_data.sql
    [11/18/2014 1:50:57 AM] ---[ Insert Data ]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Insert Cleansing configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Insert Logging settings section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Insert Logging settings section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Insert Association configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Insert DataValueService configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Insert Association rules configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Insert IndexService configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Insert Knowledgebase configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Insert Notification configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] ---[Insert Interactive Cleansing configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Reference Data configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Insert client paging configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Insert client process sampling configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Matching configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Profiling configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Process configuration section]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Reference Data Add provider]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] ---[Reference Data Add provider schema]---
    [11/18/2014 1:50:57 AM] ---[Add Special characters for term normalization]---
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] (1 rows affected)
    [11/18/2014 1:50:57 AM] 
    [11/18/2014 1:50:57 AM] Action 'Create data quality schema' finished successfully.
    [11/18/2014 1:50:57 AM] Executing action: Register data quality assemblies and stored procedures.
    [11/18/2014 1:50:57 AM] Script: 'register_dlls.cmd SHANKS-PC DQS'
    [11/18/2014 1:50:58 AM] .  Trying to connect using Windows Authentication and db name...
    [11/18/2014 1:50:58 AM]  
    [11/18/2014 1:50:58 AM]  --> Drop all SSDQS Executable Objects
    [11/18/2014 1:50:58 AM]  
    [11/18/2014 1:50:58 AM]  --> Drop all SSDQS Types
    [11/18/2014 1:50:58 AM]  
    [11/18/2014 1:50:58 AM]  --> Drop all SSDQS Assemblies
    [11/18/2014 1:50:58 AM]  
    [11/18/2014 1:50:58 AM]  --> Drop all SSDQS Schemas
    [11/18/2014 1:50:58 AM]  
    [11/18/2014 1:50:58 AM]  --> Drop all CLR Assemblies
    [11/18/2014 1:50:58 AM]  
    [11/18/2014 1:50:58 AM]  --> Drop DQ startup stored procedure DQInitDQS_MAIN
    [11/18/2014 1:50:58 AM] Changed database context to 'master'.
    [11/18/2014 1:50:58 AM]  
    [11/18/2014 1:50:58 AM]  --> Drop all SSDQS Service Broker Objects
    [11/18/2014 1:50:58 AM] Changed database context to 'DQS_MAIN'.
    [11/18/2014 1:50:58 AM] Dropping Service Broker Services.
    [11/18/2014 1:50:58 AM] Dropping Service Broker Queues.
    [11/18/2014 1:50:58 AM] Dropping Service Broker Contracts.
    [11/18/2014 1:50:58 AM] Dropping Service Broker Messages.
    [11/18/2014 1:50:58 AM] Completed - Service Broker objects dropped.
    [11/18/2014 1:50:58 AM] Changed database context to 'DQS_MAIN'.
    [11/18/2014 1:50:58 AM]  
    [11/18/2014 1:50:58 AM]  --> Registering Assemblies
    [11/18/2014 1:50:58 AM]  
    [11/18/2014 1:50:58 AM]      * Register .NET dependency assemblies
    [11/18/2014 1:51:49 AM] Warning: The Microsoft .NET Framework assembly 'system.management, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:52:00 AM] Warning: The Microsoft .NET Framework assembly 'system.configuration.install, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:52:00 AM] Warning: The Microsoft .NET Framework assembly 'system.runtime.serialization, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:52:00 AM] Warning: The Microsoft .NET Framework assembly 'smdiagnostics, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:52:00 AM] Warning: The Microsoft .NET Framework assembly 'system.windows.forms, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:52:00 AM] Warning: The Microsoft .NET Framework assembly 'system.drawing, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:52:00 AM] Warning: The Microsoft .NET Framework assembly 'accessibility, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:52:00 AM] Warning: The Microsoft .NET Framework assembly 'system.runtime.serialization.formatters.soap, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in
    the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:52:00 AM] Warning: The Microsoft .NET Framework assembly 'microsoft.jscript, version=10.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:52:00 AM] Warning: The Microsoft .NET Framework assembly 'system.management.instrumentation, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server
    hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:52:00 AM] Warning: The Microsoft .NET Framework assembly 'system.messaging, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:52:00 AM] Warning: The Microsoft .NET Framework assembly 'system.directoryservices, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'system.enterpriseservices, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=amd64.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'system.runtime.remoting, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'system.web, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=amd64.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'microsoft.build.framework, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'system.xaml, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'system.runtime.caching, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'microsoft.build.utilities.v4.0, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server
    hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'system.directoryservices.protocols, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server
    hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'system.design, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'system.drawing.design, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'system.web.regularexpressions, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server
    hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'microsoft.build.tasks.v4.0, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted
    environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM] Warning: The Microsoft .NET Framework assembly 'system.serviceprocess, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:25 AM]      * Register Microsoft.Practices assemblies
    [11/18/2014 1:53:30 AM] Warning: The Microsoft .NET Framework assembly 'microsoft.csharp, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:30 AM] Warning: The Microsoft .NET Framework assembly 'system.dynamic, version=4.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment
    and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    [11/18/2014 1:53:30 AM]  
    [11/18/2014 1:53:30 AM]      * Register DQ assemblies
    [11/18/2014 1:53:34 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.infra, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [11/18/2014 1:53:35 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.core, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [11/18/2014 1:53:35 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.dataservice, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [11/18/2014 1:53:36 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.referencedata, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [11/18/2014 1:53:37 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.index, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [11/18/2014 1:53:37 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.associationrules, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted
    environment.
    [11/18/2014 1:53:38 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.datavalueservice, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted
    environment.
    [11/18/2014 1:53:39 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.domainrules, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [11/18/2014 1:53:44 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.cleansing, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [11/18/2014 1:53:45 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.association, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [11/18/2014 1:53:45 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.flow, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [11/18/2014 1:53:46 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs.matching, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [11/18/2014 1:53:47 AM] Warning: The SQL Server client assembly 'microsoft.ssdqs, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91, processorarchitecture=msil.' you are registering is not fully tested in SQL Server hosted environment.
    [11/18/2014 1:53:47 AM] Resource file was not copied
    [11/18/2014 1:53:47 AM] Changed database context to 'master'.
    [11/18/2014 1:53:47 AM] Changed database context to 'DQS_MAIN'.
    [11/18/2014 1:53:47 AM]  
    [11/18/2014 1:53:47 AM]      * Clear the Code Member Table A_CODE_MEMBER.
    [11/18/2014 1:53:47 AM] 
    [11/18/2014 1:53:47 AM] (0 rows affected)
    [11/18/2014 1:53:47 AM]  
    [11/18/2014 1:53:47 AM]      * Clear the Code Group Table A_CODE_GROUP.
    [11/18/2014 1:53:47 AM] 
    [11/18/2014 1:53:47 AM] (0 rows affected)
    [11/18/2014 1:53:47 AM]  
    [11/18/2014 1:53:47 AM]      * Register assemblies T-SQL executable objects
    [11/18/2014 1:53:47 AM]         - Creating assemblies T-SQL registeration stored procedure.
    [11/18/2014 1:53:47 AM]  
    [11/18/2014 1:53:47 AM]      * Creating the internal_core schema
    [11/18/2014 1:53:47 AM]         - Registering Microsoft.Ssdqs.Infra T-SQL executable objects.
    [11/18/2014 1:54:01 AM]         - Registering Microsoft.Ssdqs.Core T-SQL executable objects.
    [11/18/2014 1:54:01 AM]         - Registering Microsoft.Ssdqs.DataService T-SQL executable objects.
    [11/18/2014 1:54:02 AM]         - Registering Microsoft.Ssdqs.ReferenceData T-SQL executable objects.
    [11/18/2014 1:54:02 AM]         - Registering Microsoft.Ssdqs.Index T-SQL executable objects.
    [11/18/2014 1:54:02 AM]         - Registering Microsoft.Ssdqs.Cleansing T-SQL executable objects.
    [11/18/2014 1:54:03 AM]         - Registering Microsoft.Ssdqs.Association T-SQL executable objects.
    [11/18/2014 1:54:03 AM]         - Registering Microsoft.Ssdqs.Flow T-SQL executable objects.
    [11/18/2014 1:54:03 AM]         - Registering Microsoft.Ssdqs T-SQL executable objects.
    [11/18/2014 1:54:08 AM]         - Registering Microsoft.Ssdqs.DataValueService T-SQL executable objects.
    [11/18/2014 1:54:08 AM]         - Registering Microsoft.Ssdqs.DomainRules T-SQL executable objects.
    [11/18/2014 1:54:08 AM]         - Registering Microsoft.Ssdqs.AssociationRules T-SQL executable objects.
    [11/18/2014 1:54:08 AM]         - Registering Microsoft.Ssdqs.Matching T-SQL executable objects.
    [11/18/2014 1:54:08 AM]         - Creating refresh assemblies stored procedure.
    [11/18/2014 1:54:10 AM] Changed database context to 'master'.
    [11/18/2014 1:54:10 AM]         - Creating refresh assemblies helper linked server.
    [11/18/2014 1:54:10 AM]         - Creating and registering [dbo].[DQInitDQS_MAIN] (calls internal_core.InitServer) as startup stored procedure.
    [11/18/2014 1:54:10 AM]  
    [11/18/2014 1:54:10 AM]      * Register Service Broker objects
    [11/18/2014 1:54:10 AM] Changed database context to 'DQS_MAIN'.
    [11/18/2014 1:54:10 AM]         - Creating SB dispatcher stored procedure, messages and contract
    [11/18/2014 1:54:10 AM]         - Creating parallel execution SB queues and services
    [11/18/2014 1:54:10 AM]         - Creating calibration SB queues and services
    [11/18/2014 1:54:10 AM]         - Creating parallel calibration SB queues and services
    [11/18/2014 1:54:10 AM] 
    [11/18/2014 1:54:10 AM] 
    [11/18/2014 1:54:10 AM] Successfully registered all assemblies.
    [11/18/2014 1:54:10 AM] 
    [11/18/2014 1:54:10 AM] 
    [11/18/2014 1:54:10 AM] Action 'Register data quality assemblies and stored procedures' finished successfully.
    [11/18/2014 1:54:10 AM] Executing action: Set product version property.
    [11/18/2014 1:54:10 AM] Action 'Set product version property' finished successfully.
    [11/18/2014 1:54:10 AM] Executing action: Create MDS user (if MDS login exists).
    [11/18/2014 1:54:10 AM] Action 'Create MDS user (if MDS login exists)' finished successfully.
    [11/18/2014 1:54:10 AM] Executing action: Load out of the box data.
    [11/18/2014 1:54:14 AM] Started loading knowledgebase 'DQS Data'
    [11/18/2014 1:59:54 AM] Starting installation rollback...
    [11/18/2014 1:59:55 AM] Installation rollback completed successfully.
    [11/18/2014 1:59:55 AM] Fatal error while executing the DQS installer.
    Microsoft.Ssdqs.Infra.Exceptions.EntryPointException: Execution of DB script 'Microsoft.Ssdqs.Core.Service.KnowledgebaseManagement.TSQL.create_logic_tables_and_copy_data.sql' failed.
       at Microsoft.Ssdqs.Proxy.Database.DBAccessClient.Exec()
       at Microsoft.Ssdqs.Proxy.EntryPoint.KnowledgebaseManagementEntryPointClient.KnowledgebasePublish(Knowledgebase knowledgebase)
       at Microsoft.Ssdqs.DqsInstaller.Logic.Actions.LoadOutOfTheBoxDataAction.Execute()
       at Microsoft.Ssdqs.DqsInstaller.Logic.ActionExecuter.ExecuteAllActions()
       at Microsoft.Ssdqs.DqsInstaller.Logic.Installer.Main(String[] args)
    [11/18/2014 2:08:25 AM] DQS Installer started. Installation log will be written to C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Log\DQS_install.log
    [11/18/2014 2:08:25 AM] Setting the collation to default value: SQL_Latin1_General_CP1_CI_AS
    [11/18/2014 2:08:26 AM] Using instance: MSSQLSERVER, catalog: DQS.
    [11/18/2014 2:08:26 AM] Executing action: Validate collation argument.
    [11/18/2014 2:08:26 AM] Action 'Validate collation argument' finished successfully.
    [11/18/2014 2:08:26 AM] Executing action: Check whether system reboot is pending.

    Can you check in event viewer for the actual errors? What is @@version?
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

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

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

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

  • Error creating a file in filestream folder

    So, we have a filestream table that we have been using and copying a significant number of image file into over the past month (about 6 million).  So far, the copying has been going well but have run into a problem which I cannot find an explanation
    or cure. 
    When I try to create a new folder, I am getting the following message:
    An unexpected error is keeping you from creating the folder.  If you continue to receive this error, you can use the error code to search for help with this problem. 
    Error 0x8007013D: The system cannot find message text for message number 0x%1 in the message file for %2
    Any thoughts?

    Hi Mark Anthony Erwin,
    Usually, when you can create a new folder to store the FILESTREAM data , you need to enable the XP_CMDSHELL feature on SQL Server, then create a FILESTREAM enabled database, and create a table with FILESTREAM columns to store FILESTREAM data. Once the FILESTREAM
    table is created successfully, we can  insert any other files to FILESTREAM table via OPENROWSET function, For more information, see:
    http://www.mssqltips.com/sqlservertip/1850/using-insert-update-and-delete-to-manage-sql-server-filestream-data/.
    According to your description, you want to create a new folder in the FILESTREAM folder, you need to check if you don’t set and reconfigure the xp_cmdshell.
    For existing databases, you can use the
    ALTER DATABASE statement to add a FILESTREAM filegroup.
    ALTER DATABASE [FileStreamDataBase]
    ADD FILE (NAME = N'FileStreamDB_FSData2', FILENAME = N'C:\Filestream\FileStreamData2')
    TO FILEGROUP FileStreamGroup
    GO
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    hi,
    am running the below command for moving sql serevr mdf and ldf files  from one  drive to another : c  drive to d drive:
    but am getting the below error
    SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\abc.mdf". Operating system error 2: "2(The system cannot find the file specified.)".
    use master
    DECLARE @DBName nvarchar(50)
    SET @DBName = 'CMP_143'
    DECLARE @RC int
    EXEC @RC = sp_detach_db @DBName
    DECLARE @NewPath nvarchar(1000)
    --SET @NewPath = 'E:\Data\Microsoft SQL Server\Data\';
    SET @NewPath = 'D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\';
    DECLARE @OldPath nvarchar(1000)
    SET @OldPath = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\';
    DECLARE @DBFileName nvarchar(100)
    SET @DBFileName = @DBName + '.mdf';
    DECLARE @LogFileName nvarchar(100)
    SET @LogFileName = @DBName + '_log.ldf';
    DECLARE @SRCData nvarchar(1000)
    SET @SRCData = @OldPath + @DBFileName;
    DECLARE @SRCLog nvarchar(1000)
    SET @SRCLog = @OldPath + @LogFileName;
    DECLARE @DESTData nvarchar(1000)
    SET @DESTData = @NewPath + @DBFileName;
    DECLARE @DESTLog nvarchar(1000)
    SET @DESTLog = @NewPath + @LogFileName;
    DECLARE @FILEPATH nvarchar(1000);
    DECLARE @LOGPATH nvarchar(1000);
    SET @FILEPATH = N'xcopy /Y "' + @SRCData + N'" "' + @NewPath + '"';
    SET @LOGPATH = N'xcopy /Y "' + @SRCLog + N'" "' + @NewPath + '"';
    exec xp_cmdshell @FILEPATH;
    exec xp_cmdshell @LOGPATH;
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    go
    can anyone pls help how to set the db offline. currently  i  stopped the sql server services from services.msc and started the  sql server agent.
    should i stop both services for moving from one drive to another?
    note: I tried teh below solution but this didint work:
    ALTER DATABASE <DBName> SET OFFLINE WITH ROLLBACK IMMEDIATE
    Update:
    now am getting the message :
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    (3 row(s) affected)
    (3 row(s) affected)
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)".

    First you should have checked the database mdf/ldf name and location by using the command
    Use CMP_143
    Go
    Sp_helpfile
    Looks like your database CMP_143 was successfully detached but mdf/ldf location or name was different that is why it did not get copied to target location.
    Database is already detached that’s why db offline failed
    Msg 15010, Level 16, State 1, Procedure sp_detach_db, Line 40
    The database 'CMP_143' does not exist. Supply a valid database name. To see available databases, use sys.databases.
    EXEC @RC = sp_attach_db @DBName, @DESTData, @DESTLog
    Attached step is failing as there is no mdf file
    Msg 5120, Level 16, State 101, Line 1
    Unable to open the physical file "D:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\CMP_143.mdf". Operating system error 2: "2(The system cannot find the file specified.)"
    Solution:
    Search for the physical files(mdf/ldf) in the OS and copy to target location and the re-run sp_attach_db with right location and name of mdf/ldf.

  • Problems enabling xp_cmdshell

    We migrated a SQL Server 2005 server to SQL 2008R2 SP3 this past Sunday, with one named instance. One of the things we missed was that xp_cmdshell was enabled on the old server. The SQL server name is fl2000-sql002 and the SProc is using this code:
    SET @bcpCommand
    = 'bcp.exe AdjustmentRequests.##AdjustmentRequestCSVFinal out "\\fl2000-netcon01\DefPath\Charge Imports\result.csv" -S fl2000-sql002 -U AdjustmentRequests -P [Pwd] -t, -c'
    EXEC
    master..xp_cmdshell
    @bcpCommand
    The programmers request was to grant the local SQL ID named 'AdjustmentRequests' the ability to execute xp_cmdshell, but I want to use a generic SQLProxy account in case future SProc's also need the
    ability. Because it is referencing a remote UNC path, I created a new dedicated domain proxy account named SQL002DB.Proxy.
    I've done this before years ago but I didn't document the exact steps, so I was searching for the process again. I tried a few different links, and then ended up on the link I recognized from the last setup on one of our other SQL servers...
    http://sqlblog.com/blogs/tibor_karaszi/archive/2007/08/23/xp-cmdshell-and-permissions.aspx.
    At this point in time, the instance doesn't not have a login for the SQLProxy account, nor the domain\SQL002db.Proxy account, there are not any entries in the Credentials, and there are not any entries in the SQL Agent\Proxies\OperatingSystem(CmdExec)
    containers. I refreshed all containers to confirm.
    The commands I'm attempting to use are below.
    --1, allow   xp_cmdshell
    EXEC sp_configure 'xp_cmdshell', 1
    RECONFIGURE
    GO
    --2, grant permission to xp_cmdshell
    USE master
    CREATE LOGIN SQLProxy WITH PASSWORD =   'XP_Cmdshell'
    CREATE USER SQLProxy FROM LOGIN SQLProxy
    GRANT EXECUTE ON xp_cmdshell TO SQLProxy
    EXECUTE AS login = 'SQLProxy'
    EXEC sp_xp_cmdshell_proxy_account   'Domain\SQL002DB.Proxy','Pwd'
    EXECUTE AS login = 'SQLProxy'
    EXEC xp_cmdshell 'DIR C:\*.*'
    REVERT
    Regardless if I login as sa or login with my domain account which is a member of the sysadmin role, I receive these messages upon execution:
    Configuration option 'xp_cmdshell' changed from 1 to 1. Run the RECONFIGURE statement to install.
    Msg 15023, Level 16, State 1, Line 4
    User, group, or role 'SQLProxy' already exists in the current database.
    Msg 229, Level 14, State 5, Procedure sp_xp_cmdshell_proxy_account, Line 1
    The EXECUTE permission was denied on the object 'sp_xp_cmdshell_proxy_account', database 'mssqlsystemresource', schema 'sys'.
    Msg 229, Level 14, State 5, Procedure xp_cmdshell, Line 1
    The EXECUTE permission was denied on the object 'xp_cmdshell', database 'mssqlsystemresource', schema 'sys'.
    Now I see the SQLProxy login ID listed, but nothing else. What am I doing wrong? The staff are sharpening their pitchforks because they are having to run this process manually.

    Logged in as sa:
    EXEC
    sp_xp_cmdshell_proxy_account[Domain\SQL002DB.Proxy],
    'Pwd'
    Msg 15137, Level 16, State 1, Procedure sp_xp_cmdshell_proxy_account, Line 1
    An error occurred during the execution of sp_xp_cmdshell_proxy_account. Possible reasons: the provided account was invalid or the '##xp_cmdshell_proxy_account##' credential could not be created. Error code: '5'.
    USE
    master;
    GO
    CREATE
    USER [Domain\SQL002DB.Proxy]
    FOR
    LOGIN [Domain\SQL002DB.Proxy];
    GRANT
    EXECUTE
    ON
    xp_cmdshell
    TO [Domain\SQL002DB.Proxy];
    Msg 15023, Level 16, State 1, Line 1
    User, group, or role 'Domain\SQL002DB.Proxy' already exists in the current database.

  • SSIS Package execution error from powershell

    Hi I have written a powershell script to exec SSIS packages. I am passing variable values at runtime by reading it from a text file.
    But it throws an error.
    Here is my script.
    #Read Data from Parameter File
    $variable=Get-Content D:\Batch\Bin\ETLParameters.txt
    $variable.GetType()
     $dest_conn_str=$variable[1]
     $mail_cc=$variable[2]
     $mail_from=$variable[3]
     $mail_str=$variable[4]
     $mail_to=$variable[5]
     $pkg_path=$variable[6]
     $ps_exe_path=$variable[7]
     $ps_script_cmd=$variable[8]
     $ps_script_path=$variable[9]
     $src_conn_str=$variable[10]
     $src_sys_id=$variable[11]
    #Executing SSIS packages from command prompt
    $cmd = 'dtexec /f "' + $pkg_path + 'pkg_ntas_all.dtsx' + '"' + ' /SET \Package.Variables[User::src_conn_str].Properties[Value];"' + $src_conn_str + '"' + ' /SET \Package.Variables[User::dest_conn_str].Properties[Value];"'
    + $dest_conn_str + '"' + ' /SET \Package.Variables[User::src_sys_id].Properties[Value];"' + $src_sys_id + '"' + ' /SET \Package.Variables[User::pkg_file_path].Properties[Value];"' + $pkg_path + '"' +
    ' /SET \Package.Variables[User::mail_str].Properties[Value];"' + $mail_str + '"' + ' /SET \Package.Variables[User::mail_from].Properties[Value];"' + $mail_from + '"' + ' /SET \Package.Variables[User::mail_to].Properties[Value];"'
    + $mail_to + '"'+ ' /SET \Package.Variables[User::mail_cc].Properties[Value];"' + $mail_cc + '"' + ' /SET \Package.Variables[User::ps_exe_path].Properties[Value];"' + $ps_exe_path + '"' + ' /SET
    \Package.Variables[User::ps_script_path].Properties[Value];"' + $ps_script_path + '"' + ' /SET \Package.Variables[User::ps_script_cmd].Properties[Value];"' + $ps_script_cmd + '"'  
    $cmd
    DECLARE @returncode int
    EXEC @returncode = xp_cmdshell @cmd
    Types of error that I get -
    If I run the $cmd directly. Which is the concatenated string of dtexec command with parameters. It doesn't do anything, not even an error and the pwoershell execution just completes.
    If I use exec EXEC @returncode = xp_cmdshell @cmd    ----- Then it throws me the error that the exec is not recognized name of cmdlet.
    Please help as I a noob in any kind of scripting.

    I did but it just printed the entire string on the command line and assigned all the values.
    PS C:\Users\dev_setup> . D:\Batch\Bin\runETL.ps1
    IsPublic IsSerial Name                                     BaseType
    True     True     Object[]                                
    System.Array
    dtexec /f "D:\ETL\test\test\test_ETL\pkg_all.dtsx" /SET "\Package.
    Variables[User::src_conn_str].Properties[Value]";"Data Source=SOURCE1;Initial Catalog=tagtest;Provider=SAOLEDB.11;Integrated Security=SSPI;
    " /SET "\Package.Variables[User::dest_conn_str].Properties[Value]";"destinationDb;User ID=FP_DEV;Password=**********;Initial Catalog=xyz;Provider=SQLOLEDB.1;Persist Security Info=True;Auto Translate=False;Packet Size=10240;" /SET " \Package.Variables[User::src_sys_id].Properties[Value]
    ";"100200" /SET "\Package.Variables[User::pkg_file_path].Properties[Value]";"D:\ETL\test\test\test_ETL\" /SET "\Package.Variables[User::mail_str].Properties[Value]";"SmtpServer=mailhost.test.com;UseWindowsAuthentication=False;EnableSsl=False;" /SET "\Package.Variables[User::mail_from].Properties[Value]
    ";"[email protected]" /SET "\Package.Variables[User::mail_to].Properties[Value]";"[email protected]" /SET "\Package.Variables[User::mail_cc].Properties[Value]";"[email protected]" /SET "\Package.Variables[User::ps_exe_path].Properties[Value]";"C:\Windows\System32\WindowsPower
    Shell\v1.0\PowerShell.exe" /SET "\Package.Variables[User::ps_script_path].Properties[Value]";"D:\ETL\Powershell_Script\" /SET "\Package.Variables[User::ps_script_cmd].Properties[Value]";"create_historical_reject_file.ps1 -input_variable"
    PS C:\Users\svc_sp_fp_dev_setup>
    But when I just run it without passing the parameters it runs. What might be the issue.

  • SQL Server 2012 - xp_cmdshell - second call fails.

    I have just upgraded a system from 2008 R2 to 2012 SP1.
    I have an issue with a scheduled SP that fails 'randomly' whilst processing/emailing a series of files created by a previous SP.
    The SP gets a directory list and processes each file. The processing involves issuing a 'move' command via XP_cmdshell and then adds the filename to a variable.
    At the end of the SP, the list of files is used as an attahement list to a mail command.
    The problem is that the first move works, then when the next file is moved I get a failure reported (SOMETIMES).
    The actual failure is: Incorrect syntax near 'Begi'. [SQLSTATE 42000] (Error 102). 
    I thought I had fixed it by inserting some 'debugging' select statements - but the problem came back.
    The call to xp_cmdshell is of the form 'move "filename and directory 1" "filenname and directory 2". After investigation it appears that more than one set of double quotes *may* have some bearing on the issue and I can resolve it by removing
    all the double quotes (no imbedded spaces in filenames so I am OK).
    Before I remove the quotes however, I would be interested if anyone can shed any light on the 'randomness' of the issue - it doesn't always occur and the adding of simple "Select 'AT Step x' " type debugging statements (with output to file and
    log output turned on in SQL Server agent job) appears to sometimes fix the issue.
    Stan

    Good news - I have got the code to post (I have stripped out some company specific parts).
    Bad news - the issue is not repeatable!
    I post the code however for you listening and viewing pleasure :-(
    alter PROCEDURE [dbo].[Test_TTF]
    As
    Begin
    SET NOCOUNT ON
    SET CONCAT_NULL_YIELDS_NULL ON
    SET ARITHABORT ON
    SET ANSI_NULLS ON
    SET ANSI_NULL_DFLT_ON ON
    SET ANSI_PADDING ON
    SET ANSI_WARNINGS ON
    SET QUOTED_IDENTIFIER ON
    Declare
    @ResultCode int,
    @ErrorCode int,
    @ErrorMessage varchar(2000),
    @f_id int,
    @m_id int,
    @gf_id int,
    @FileMask varchar(100),
    @TodayDate datetime,
    @DirectoryCmd varchar(600),
    @FileMoveCmd varchar(600),
    @FileName varchar(100),
    @FileProcessedDirectory varchar(500),
    @FileUnprocessedDirectory varchar(500),
    @FileAttachments varchar(max)
    Set @FileAttachments = ''
    Set @TodayDate = GetDate()
    Set @FileMask = '100???TC????.TXT'
    Set @FileProcessedDirectory = 'C:\Stan\T2\'
    Set @FileUnProcessedDirectory = 'C:\Stan\T1\'
    --Process files.
    --Get a list of files.
    Set @DirectoryCmd = 'Dir /b "' + @FileUnprocessedDirectory + @FileMask
    --Create FileList table variable.
    Declare @FileList Table (
    [f_id] [int] Identity(1,1) Not Null,
    [FileName] [varchar](100) Null
    --Get a directory list of the files.
    Insert Into @FileList
    Execute master.sys.xp_cmdshell @DirectoryCmd
    --Read the first file to process.
    Select Top 1
    @f_id = [f_id],
    @FileName = [FileName]
    From @FileList
    Where [FileName] Is Not Null
    And [FileName] <> 'File Not Found'
    order by [f_id]
    --Start of files loop.
    While (@@Rowcount <> 0)
    Begin
    -- select 'Starting to process ' + ltrim(rtrim(@FileName))
    --Build the file attachement list command.
    If Len(RTrim(LTrim(@FileAttachments))) = 0
    Set @FileAttachments = @FileProcessedDirectory + @FileName
    Else
    Set @FileAttachments = @FileAttachments + ';' + @FileProcessedDirectory + @FileName
    -- select 'Current Attachments = ' + ltrim(rtrim(@fileattachments))
    --Move the files to the processed directory.
    Begin Try
    Set @FileMoveCmd = 'Move "' + @FileUnprocessedDirectory + @FileName + '" "' + @FileProcessedDirectory + @FileName + '"'
    -- select 'Movecmd=' + @FileMoveCmd
    Execute @ResultCode = master.sys.xp_cmdshell @FileMoveCmd , NO_OUTPUT
    -- select 'File ' + @FileName + ' has been moved'
    End Try
    Begin Catch
    Set @ErrorCode = Error_Number()
    Set @ErrorMessage = Error_Message()
    Goto DumpErrorDetail
    End Catch
    --Read the next file to process.
    ReadNextFile:
    Select Top 1
    @f_id = [f_id],
    @FileName = [FileName]
    From @FileList
    Where [f_id] > @f_id
    And [FileName] Is Not Null
    And [FileName] <> 'File Not Found'
    order by [f_id]
    End --End of files loop.
    If @ErrorCode <> 0
    Return (@ErrorCode)
    Else
    Return(0)
    DumpErrorDetail:
    Begin
    Return(-1)
    End
    End --End of stored procedure.

  • EXEC master..xp_cmdshell

    Hi:
    I have a SSIS package, which, when I execute from Visual Studio it executes fine.
    It has about 10 Variables declared, all the 10 variables contain Oracle queries that are set to the Data SOurce in the Data Flow Task.
    When I run this package from Visual Studio the package runs fine but when I execute the same package from an SP
    Like this...
    EXEC master..xp_cmdshell 'dtexec /F "C:\XXX\Integration Services Project1\Integration Services Project1\XXXUsers.dtsx"'
    (harcoded the variables for now)
    It throws up errors for all the variables declared.. errors are as follows
    Error: 2014-08-21 16:47:55.39
       Code: 0xC02020F6
       Source: PERSON LIST XXX PersonList Data Source [2]
       Description: Column "ACTIVE_CARD_NO" cannot convert between unicode and non-unicode string data types.
    End Error
    Warning: 2014-08-21 16:47:55.40
       Code: 0x800470C8
       Source: PERSON LIST XXXX PersonList Data Source [2]
       Description: The external columns for XXX PersonList Data Source are out of synchronization with the data source columns.
    The external column "ACTIVE_CARD_NO" needs to be updated.
    End Warning
    Error: 2014-08-21 16:47:55.40
       Code: 0xC004706B
       Source: PERSON LIST SSIS.Pipeline
       Description: XXXX PersonList Data Source" failed validation and returned validation status "VS_ISBROKEN".
    End Error
    The string data from the source is coming as 'Unicode String', I have added a 'Data Conversion' task to convert it to string[DT_STR].
    What could be wrong here

    Hi Sudhakar,
    This issue is more related to SQL Server Integration Services, I will move this thread to SSIS fourm for better support.
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Elvis Long
    Elvis Long
    TechNet Community Support

Maybe you are looking for

  • Migration assistant with photos and music on an external drive

    I have an I 7 ready to turn on, I will be transferring from a mac mini. I have 100 gigs of msic and about 80 gigs of photos that my mini access for I tunes and i photo. Will the migration assistant copy the photos and music from the external hard dri

  • How to install jTDS jdbc driver

    I've heard so much about this jTDS driver, and had it with the current jdbc driver i'm using. I'm using slserver 7. i would like to install the jtds driver. I just downloaded the .jar file. how do i install the driver. which directory do i put it in?

  • Photoshop Elements 12 keeps crashing

    My Photoshop Elements 12 keeps crashing. I've tried rebooting, I've tried upgrading, I don't know what else to do and I have a HUGE job due tomorrow.

  • Easily drag n drop to a cd-rw

    with a pc you can easily put a cd-rw disc into the drive and start draging files or picture to it to save. Is there a way to do that on the macbook pro without going into the disk utility every time you put it back in the drive. Or do I need to downl

  • Unable to Compile EJB Sample

    Environment: Windows NT4, sp5, WLS 5.1/sp 2, Sun JDK1.2.2 As illustrated in 'Introduction to BEA Weblogic Server', pp 101-102, I'm compiling the Emp EJB sample. I successfully compiled the java programs, moved the XML files, and created the initial J