<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Configurable ODBC Directory Service Connector issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Configurable-ODBC-Directory-Service-Connector-issues/m-p/367763#M1275440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes exactly, thanks Ralph, I can see the users I have brought in using the configurable ODBC but when i try to view a groups listing I don't see the groups I am trying to utilize per the query and it gives the log entry I pasted. It looks like there is a problem with a string not getting single quotes when the query is constructed on the qv server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2012 17:46:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-30T17:46:48Z</dc:date>
    <item>
      <title>Configurable ODBC Directory Service Connector issues</title>
      <link>https://community.qlik.com/t5/QlikView/Configurable-ODBC-Directory-Service-Connector-issues/m-p/367761#M1275436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I've been struggling hard with trying to get the Configurable ODBC directory service authentication to fully work. Currently i &lt;STRONG&gt;can &lt;/STRONG&gt;pull in users but I am &lt;STRONG&gt;not &lt;/STRONG&gt;able to see groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using version 11 and we have created a view on our source system to pull the appropriate fields in the appropriate manner (from what i can tell).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i look at the log I see this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;7/25/2012 10:33:19.4190937 Information Start web service call ResolveGroups for user QV\george clooney&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;7/25/2012 10:33:19.4347187 Information (Database.DatabaseProvider) rd have been successfully created&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;7/25/2012 10:33:19.4347187 Error (Database.DatabaseProvider) DB-search wasn't successful:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;System.Data.Odbc.OdbcException (0x80131937): ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'GROUP'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;&amp;nbsp;&amp;nbsp; at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;&amp;nbsp;&amp;nbsp; at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;&amp;nbsp;&amp;nbsp; at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;&amp;nbsp;&amp;nbsp; at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;&amp;nbsp;&amp;nbsp; at Database.DatabaseProvider.DoSearch(String[] pattern, eSearchType[] searchTypes, String otherAttribute)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;7/25/2012 10:33:19.4347187 Error (Database.DatabaseProvider) Exception 'System.Data.Odbc.OdbcException (0x80131937): ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'GROUP'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;&amp;nbsp;&amp;nbsp; at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;&amp;nbsp;&amp;nbsp; at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;&amp;nbsp;&amp;nbsp; at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;&amp;nbsp;&amp;nbsp; at System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;&amp;nbsp;&amp;nbsp; at Database.DatabaseProvider.DoSearch(String[] pattern, eSearchType[] searchTypes, String otherAttribute)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;&amp;nbsp;&amp;nbsp; at Database.AbstractDSP.Search(String[] pattern, eSearchType type, String otherattribute)' when searching for 'Database.AbstractDSP+QueryBase'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;7/25/2012 10:33:19.4347187 Warning (Database.DatabaseProvider) SearchCache lock inconsistency found (reader: False writer: True)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;7/25/2012 10:33:19.4347187 Warning Resolving groups caused an exception ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'GROUP'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: times new roman,times;"&gt;Here is the SQL used to generate the 2 views:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;User/Group view:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;create &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;view&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; [sysdba]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[QVENTITY] &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as &lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SELECT &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;cast&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;lower&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;u&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;userid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;nvarchar&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; entityid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;cast&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;lower&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;u&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;nvarchar&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; entity_name&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;cast&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;lower&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;u&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;username&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;nvarchar&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; descr&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;cast&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;lower&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;U&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;EMAIL&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;nvarchar&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; email&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; [A_DEV_75P3HF4]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[sysdba]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[USERINFO] u &lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;union&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SELECT &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;cast&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;lower&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;roleid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;nvarchar&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; entityid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;cast&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;lower&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;rolename&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;nvarchar&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; entity_name&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;cast&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;lower&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;rolename&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;nvarchar&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; descr&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;cast&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;' '&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;nvarchar&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; email&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; [A_DEV_75P3HF4]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[sysdba]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;ROLE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; text-decoration: underline;"&gt;&lt;STRONG&gt;Membership view:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #3366ff;"&gt;create &lt;SPAN style="font-size: 10pt;"&gt;view&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; [sysdba]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[QVUSERROLE] &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as &lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SELECT &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cast&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;lower&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;u&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;userid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;nvarchar&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; memberid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cast&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt;lower&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;r&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;rolename&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;nvarchar&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;30&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;))&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; groupid&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; [A_DEV_75P3HF4]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[sysdba]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[ROLE] r&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;join&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; [A_DEV_75P3HF4]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[sysdba]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[USERROLE] ur &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;on&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; ur&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;roleid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;r&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;roleid&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;join&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; [A_DEV_75P3HF4]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[sysdba]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[USERINFO] u &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;on&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; u&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;userid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;ur&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;userid&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; text-decoration: underline;"&gt;&lt;STRONG&gt;This works fine.. by the way i grabbed this off someone elses post.. how did one peek at the query being used by Qlikview???&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;SELECT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; e&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;entityid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; e&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;NAME&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; e&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;descr&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; e&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;email&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="color: #ff00ff; font-size: 10pt;"&gt; COUNT&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;g&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;memberid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; noGroupMembers&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;FROM QVENTITY e&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEFT &lt;SPAN style="color: #808080; font-size: 10pt;"&gt;JOIN&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; QVuserrole g &lt;/SPAN&gt;ON e.&lt;SPAN style="font-size: 10pt;"&gt;entityid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;g&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;groupid&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;WHERE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; e&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;NAME&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;'george clooney'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt; e&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;descr &lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;'george clooney'&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt; e&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;NAME&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;'george clooney'&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;GROUP &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;BY&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;e&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;entityid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;e&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;NAME&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;e&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;descr&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt; e&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;email&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; text-decoration: underline;"&gt;&lt;STRONG&gt;When I look at the data types in the view they are all nvarchar.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sql_variant_property&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;groupid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;'BaseType'&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sql_variant_property&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;memberid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;'BaseType'&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; [A_DEV_75P3HF4]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[sysdba]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[QVUSERROLE]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;SELECT &lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sql_variant_property&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;entityid&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;'BaseType'&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sql_variant_property&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;entity_name&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;'BaseType'&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sql_variant_property&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;descr&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;'BaseType'&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sql_variant_property&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;email&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt;"&gt;'BaseType'&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; [A_DEV_75P3HF4]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[sysdba]&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;[QVENTITY]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; text-decoration: underline;"&gt;&lt;STRONG&gt;Here is the configuration (which seems to work fine, again, i can pull up a list of users without a problem):&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;dscresource&amp;gt;&amp;lt;id&amp;gt;c8c41604-6b55-463f-b7bf-a16b9bebd978&amp;lt;/id&amp;gt;&amp;lt;name&amp;gt;QV (ODBC://sql2k5-x64-01)&amp;lt;/name&amp;gt;&amp;lt;type&amp;gt;odbc&amp;lt;/type&amp;gt;&amp;lt;path&amp;gt;ODBC://sql2k5-x64-01&amp;lt;/path&amp;gt;&amp;lt;uid&amp;gt;fd4NDOdMx+E=&amp;lt;/uid&amp;gt;&amp;lt;pwd&amp;gt;eWOTXmlgo5XUOpy+s9TLDg==&amp;lt;/pwd&amp;gt;&amp;lt;StringDictionarySerializer&amp;gt;&amp;lt;Entry Key="ServiceTimeoutInSeconds" Value="30" /&amp;gt;&amp;lt;Entry Key="DirectoryLabel" Value="QV" /&amp;gt;&amp;lt;Entry Key="EntityName" Value="entity_name" /&amp;gt;&amp;lt;Entry Key="EntityTableDbName" Value="sysdba.QVENTITY" /&amp;gt;&amp;lt;Entry Key="GroupsTableDbName" Value="sysdba.QVUSERROLE" /&amp;gt;&amp;lt;Entry Key="DataSourceName" Value="SQL Server" /&amp;gt;&amp;lt;Entry Key="ConnDbName" Value="A_DEV_75P3HF4" /&amp;gt;&amp;lt;Entry Key="OverrideConnectionString" Value="" /&amp;gt;&amp;lt;Entry Key="CacheExpiryInMinutes" Value="15" /&amp;gt;&amp;lt;/StringDictionarySerializer&amp;gt;&amp;lt;/dscresource&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG&gt;Is there a bug in qv 11 with configurable ODBC? I wouldn't think it should be this difficult.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG&gt;Thanks in advance,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG&gt;Chris&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Configurable-ODBC-Directory-Service-Connector-issues/m-p/367761#M1275436</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Configurable ODBC Directory Service Connector issues</title>
      <link>https://community.qlik.com/t5/QlikView/Configurable-ODBC-Directory-Service-Connector-issues/m-p/367762#M1275438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris, when you say you are not able to see groups, do you mean in QEMC Users tab?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2012 19:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Configurable-ODBC-Directory-Service-Connector-issues/m-p/367762#M1275438</guid>
      <dc:creator />
      <dc:date>2012-07-26T19:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Configurable ODBC Directory Service Connector issues</title>
      <link>https://community.qlik.com/t5/QlikView/Configurable-ODBC-Directory-Service-Connector-issues/m-p/367763#M1275440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes exactly, thanks Ralph, I can see the users I have brought in using the configurable ODBC but when i try to view a groups listing I don't see the groups I am trying to utilize per the query and it gives the log entry I pasted. It looks like there is a problem with a string not getting single quotes when the query is constructed on the qv server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 17:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Configurable-ODBC-Directory-Service-Connector-issues/m-p/367763#M1275440</guid>
      <dc:creator />
      <dc:date>2012-07-30T17:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Configurable ODBC Directory Service Connector issues</title>
      <link>https://community.qlik.com/t5/QlikView/Configurable-ODBC-Directory-Service-Connector-issues/m-p/367764#M1275442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the same error using Configurable ODBC DSC connecting to MySQL. &lt;/P&gt;&lt;P&gt;I changed the type of the keys entityid, groupid and memberid from string to int - and everything works fine! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got that hint from &lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/message/162432" title="http://community.qlik.com/message/162432"&gt;http://community.qlik.com/message/162432&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"Keep in mind, for group resolution to work at this time, the entityid field of your entity table, and the memberid and groupid fields in the group table cannot contain values greater than max(int), or 2.1 billion, because there is a bug in the group resolution code that doesn't allow numbers larger than that size to be resolved."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 10:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Configurable-ODBC-Directory-Service-Connector-issues/m-p/367764#M1275442</guid>
      <dc:creator />
      <dc:date>2012-09-17T10:04:40Z</dc:date>
    </item>
  </channel>
</rss>

