This article contains information about the issues that you might encounter while using Data Quality Services (DQS), and how to resolve them. Please let us know if you encounter any other issues (not documented here) while using DQS by posting it on Data Quality Services MSDN Forum. If you want to contribute to this article, use the Edit tab at the top (require sign-in). This article will be updated as and when we come across new issues, or resolve existing issues.
While working with DQS, you might encounter any of the following issues:
If you try to connect to a Data Quality Server by using Data Quality Client, you receive the following error message:
“Cannot connect to the <DataQualityServer_Name>” Message Id: LogOnWindowFailedToConnect
This occurs if any of the following three is true:
If you installed a cumulative update or patch to update DQS, you might receive the following error while trying to connect to Data Quality Server using your Data Quality Client:
To fix this issue, follow the instructions available at Upgrade DQS: Installing Cumulative Updates or Hotfix Patches on Data Quality Services (en-US).
After attaching the DQS databases to the same or a different SQL Server instance containing Data Quality Server, you might receive the following error while trying to connect to Data Quality Server on the particular server using your Data Quality Client:
To fix this issue, you must run some Transact-SQL statements after attaching the DQS databases. To do so:
After installing .NET Framework updates on your Data Quality Server computer, you might receive any of the following three errors while trying to connect to Data Quality Server using your Data Quality Client:
To fix this issue, you must run dqsinstaller.exe at the command prompt with the -upgradedlls command line parameter. For detailed information, see Upgrade SQLCLR Assemblies After .NET Framework Update.
When you try to connect to a Data Quality Server using the Data Quality Client application, you might receive the following error:
“The context.DQSession argument cannot be null." Message Id: InfArgumentCannotBeNull
To fix this issue:
When you log on to the Data Quality Client application, all the options in the Data Quality Client home screen are unavailable/dimmed. To fix this issue, ensure that the user account with which you logged on to the Data Quality Client is assigned one of the three dqs roles (dqs_administrator, dqs_kb_editor, and dqs_kb_operator) on the DQS_MAIN database. For information about doing so, see Grant DQS Roles to Users.
Your source/destination database will not be available in the DQS client for any of the DQS operations (knowledge discovery, cleansing, matching, and data export) if the source/destination database is not in the same SQL Server instance as the Data Quality Server. To fix this issue, ensure that your source/destination database is in the same SQL Server instance as the Data Quality Server you are connected to.
While opening a knowledge base in the Open knowledge base screen to perform some activity, you might notice that only a single activity out of the three activities (Domain Management, Knowledge Discovery, and Matching Policy) is available. This happens because the knowledge base is in the middle of an activity, and you can continue with only that activity on that knowledge base. The State field displays the granular level of the activity that is currently active for the knowledge base. Even if you unlock the knowledge base, other activities are still not available, and you have to continue with the currently active activity.
To perform any other activity on the knowledge base, you can do either of the following:
Data columns of the NVARCHAR(MAX) and VARCHAR(MAX) data types are not supported in the DQS Cleansing component in Integration Services. As such, these data columns are unavailable for mapping in the Mapping tab of DQS Cleansing Transformation Editor, and hence cannot be cleansed.
To fix this issue, before processing these data columns using the DQS Cleansing component, you must convert them to DT_STR or DT_WSTR data type using the Data Conversion transform.
The following error might appear if the Data Quality Client application is left idle for an extended period of time:
This however does not lead to loss of work. Click OK in the error message to close it, and continue with your work. If Data Quality Client does not respond after closing the error message, restart your Data Quality Client application.
The following error might appear when you click Next in the Map stage of the knowledge discovery, data cleansing, or data matching activities:
This error occurs because your source table contains columns of certain data types such as geography, geometry, image, and hierarchyid. Options to fix this issue; 1. Remove the columns of these data types from your source table, and map your source table columns again with DQS domains in the Data Quality Client application. 2. Import the data into an Excel spreadsheet and use DQS to analyze the data from there. Note that if you insert the data from a database source, you may find that DQS analyzes the empty rows if the complete spreadsheet has a linked datasource e.g. SQL table. This will cause the task to take much longer than required, so save the file without the linked data by copying the data to a new file and saving.
The following error message might appear while exporting the cleansed data to an Excel file during the cleansing activity:
Similarly, on exporting the matching data to an Excel file during the matching activity, the following error message might appear:
This error occurs because DQS does not allow export of the cleansing or matching results to an Excel file if you are using 64-bit version of Excel. You can export the results only to a SQL Server database or to a .csv file. To workaround this issue, export the results to a SQL Server database or to a .csv file if you are using 64-bit version of Excel.
One of the following two error messages might appear while running a SSIS package that contains a DQS Cleansing component: ERROR MESSAGE 1:
ERROR MESSAGE 2:
This error occurs because the length of the name of the data quality project created as a result of running the SSIS package is more than the maximum allowed number of characters (128) in DQS. Whenever, you run an SSIS package containing a DQS Cleansing component, a data quality project is automatically created in DQS with the following naming convention: <SSIS Package Name>.<DQS Cleansing component name>_DateTimeStamp_{GUID}_GUID. For example: MyPackage.DQSCleansingExample_6/9/2012 1:43:48 PM_{0E27D092-5153-4F4C-848D-7D78AC3BB672}_cf0aa4f5-3cac-431d-9a71-32e124322e3c To resolve this issue, shorten the names of your package and the DQS Cleansing component to ensure that the length of the automatically generated data quality project name is less than 128 characters.
You might receive the following error when running an SSIS package containing DQS Cleansing component:
This error occurs if the SSIS package is run against a Data Quality Server installation, which is different from the one against which the SSIS package was created. The Data Cleansing component in the SSIS package internally stores the "ID" of the knowledge base against which it is mapped instead of storing the "name" of the knowledge base. The Knowledge Base ID for the same knowledge bases is different in diffferent Data Quality Server installations. Hence, the DQS cleansing component is unable to locate the Knowledge Base ID for the same knowledge base on another Data Quality Server installation, and throws this error. To resolve this issue, before running the SSIS package against the new Data Quality Server installation, edit the package to change the connection string to point to the new Data Quality Server. This changes the Knowledge Base ID in the package accordingly, and you will be able run the package succesfully against the new Data Quality Server installation.
Carsten Siemens edited Revision 35. Comment: Fixed typos
Richard Mueller edited Revision 34. Comment: Replaced RGB values with color names in HTML to restore colors
Richard Mueller edited Revision 33. Comment: Removed (en-US) from title, added tags
DJThompson edited Revision 23. Comment: Alternate workaround for the DQS datatypes / connection issue
Kumar Vivek edited Revision 11. Comment: Added link to the DQS Resources on TechNet Wiki
Kumar Vivek edited Revision 9. Comment: Added issue about unavailable options in Data Quality Client
Kumar Vivek edited Revision 7. Comment: Converted smart quotes to straight quotes to aid search.
Kumar Vivek edited Revision 6. Comment: Added the issue pertaining to NVARCHAR(MAX) and VARCHAR(MAX) data types
Kumar Vivek edited Revision 5. Comment: Added the issue: "Error: The Data Quality Services client application could not start."
Kumar Vivek edited Revision 4. Comment: Fixed formatting issues.
Kumar Vivek edited Original. Comment: Fixed formatting issues
Kumar Vivek edited Revision 1. Comment: Fixed some more formatting issues.
Kumar Vivek edited Revision 2. Comment: Formatting issues