5 Replies Latest reply: Apr 27, 2012 4:29 AM by Henco van Ee RSS

    QlikView service DSC stops running

    Henco van Ee

      Hi all,

       

      Does anyone of you has experience with a service crash on the Management Console? We face this almost every day... We need to restart the QV service on the server to get it back on. The service which stops is called DSC@servername. The version we are running is: QV10 SR4. I hope anyone of you can help us out here.

       

      Kind regards,

      Henco

        • QlikView service DSC stops running
          Gary Strader

          What does the DSC log file have in it?

          • QlikView service DSC stops running
            Brett Bleess

            Agree with Gary's comment, but I would also check the QMS log as well, as it may have further information to point in the direction of the underlying issue as well.  It is most likely a timeout issue in contacting the directory service, and you can change this by going to the QEMC\System\Setup and expand your DSC folder and then the DSC resource down to where you can click on the appropriate DSP you are using to reach your directory.  Once there, click on that DSP, and then to the right you will see a pencil icon in the configuration row of the DSP configuration settings.  Click that icon, and you will get a dialog where you can set the cache timeout and the connect timeout, and in this case, I would probably double the connect timemout to give things more time to negotiate.  You could also increase the cache timeout as well to put more time between the cache updates from the directory which may help as well.  If you find any errors in the logs, and the above does not help, please post any warning or error messages you see in either log.

              • QlikView service DSC stops running
                Henco van Ee

                Hi Brett, Thanks for your feedback. Ichanged the time-out settings in the  QEMC. Hope this helps. After arestart of the DSC service I still have errors in the logfile below.

                In the Resources folder I have sixxml-files, including the named keys in the logfile. Hope you can help mefurther…

                 

                (C:\ProgramData\QlikTech\DirectoryServiceConnector\Log)

                4/4/201209:12:35.1764464        Information       Initializing root

                4/4/201209:12:35.2233139        Information       Loading DSP plugins

                4/4/201209:12:35.3014264        Information       Scanning directory D:\Program Files\QlikView\DirectoryService Connector\DSPlugins

                4/4/201209:12:35.3014264        Information       Loading file D:\ProgramFiles\QlikView\Directory Service Connector\DSPlugins\ActiveDirectory.dll

                4/4/201209:12:35.3014264        Information       Loaded plugin Active Directory

                4/4/201209:12:35.3170489        Information       Loading file D:\ProgramFiles\QlikView\Directory Service Connector\DSPlugins\CustomDirectory.dll

                4/4/201209:12:35.3639164        Information       Loaded plugin Custom Directory

                4/4/201209:12:35.3795389        Information       Loading file D:\ProgramFiles\QlikView\Directory Service Connector\DSPlugins\Database.dll

                4/4/201209:12:35.3951614        Information       Loaded plugin Configurable ODBC

                4/4/201209:12:35.4107839        Information       Loading file D:\ProgramFiles\QlikView\Directory Service Connector\DSPlugins\GenericLDAP.dll

                4/4/201209:12:35.4264064        Information       Loaded plugin Configurable LDAP

                4/4/201209:12:35.4264064        Information       Loading file D:\ProgramFiles\QlikView\Directory Service Connector\DSPlugins\LocalDirectory.dll

                4/4/201209:12:35.4264064        Information       Loaded plugin Local Directory

                4/4/201209:12:35.4264064        Information       Loading file D:\Program Files\QlikView\DirectoryService Connector\DSPlugins\WindowsNT.dll

                4/4/201209:12:35.4420289        Information       Loaded plugin Windows NT

                4/4/201209:12:35.4420289        Information       Loaded 6 plugins

                4/4/201209:12:35.4576514        Information       Initializing service

                4/4/201209:12:35.5513864        Error      Exception in SetupResource Exception=System.Collections.Generic.KeyNotFoundException: The given keywas not present in the dictionary.

                   atSystem.ThrowHelper.ThrowKeyNotFoundException()

                   atSystem.Collections.Generic.Dictionary`2.get_Item(TKey key)

                   atDSC.DirectoryFramework.SetupResource(String id, String type, String path,String username, String password, Boolean enabled, IDictionary`2 newSettings)

                4/4/201209:12:35.5670089        Error      Parse error setting up resourceC:\ProgramData\QlikTech\DirectoryServiceConnector\Resources\2e381925-d53e-4851-96d1-d08abc7c2342:The given key was not present in the dictionary.

                4/4/201209:12:35.5826314        Error      Exception in SetupResource Exception=System.Collections.Generic.KeyNotFoundException: The given key wasnot present in the dictionary.

                   atSystem.ThrowHelper.ThrowKeyNotFoundException()

                   atSystem.Collections.Generic.Dictionary`2.get_Item(TKey key)

                   at DSC.DirectoryFramework.SetupResource(Stringid, String type, String path, String username, String password, Booleanenabled, IDictionary`2 newSettings)

                4/4/201209:12:35.5826314        Error      Parse error setting up resourceC:\ProgramData\QlikTech\DirectoryServiceConnector\Resources\3029ecf7-8707-4f96-a782-fac85bb487fb:The given key was not present in the dictionary.

                4/4/201209:12:35.5826314        Error      Exception in SetupResource Exception=System.Collections.Generic.KeyNotFoundException: The given key was notpresent in the dictionary.

                   atSystem.ThrowHelper.ThrowKeyNotFoundException()

                   atSystem.Collections.Generic.Dictionary`2.get_Item(TKey key)

                   atDSC.DirectoryFramework.SetupResource(String id, String type, String path,String username, String password, Boolean enabled, IDictionary`2 newSettings)

                4/4/201209:12:35.5826314        Error      Parse error setting up resourceC:\ProgramData\QlikTech\DirectoryServiceConnector\Resources\4d754190-a86e-4b2a-b689-3d261867d830:The given key was not present in the dictionary.

                4/4/201209:12:35.6138764        Information      (ActiveDirectory.ActiveDirectoryProvider) Looking up RootDSE:LDAP://HVEEDOMAIN.NL/RootDSE

                4/4/201209:12:35.7076114        Information      (ActiveDirectory.ActiveDirectoryProvider) Looking up node:LDAP://HVEEDOMAIN.NL/CN=Partitions,CN=Configuration,DC=HVEEDOMAIN,DC=NL

                4/4/201209:12:35.9107039        Information      (ActiveDirectory.ActiveDirectoryProvider) Finding nCName: DC=HVEEDOMAIN,DC=NL

                4/4/201209:12:35.9263264        Information      (ActiveDirectory.ActiveDirectoryProvider) Searching for netbiosname...

                4/4/201209:12:35.9263264        Information      (ActiveDirectory.ActiveDirectoryProvider) Search hit:LDAP://HVEEDOMAIN.NL/CN=HVEEDOMAIN,CN=Partitions,CN=Configuration,DC=HVEEDOMAIN,DC=NLwith netbiosname HVEEDOMAIN and ncname: dc=HVEEDOMAIN,dc=nl

                4/4/201209:12:35.9263264        Information      (ActiveDirectory.ActiveDirectoryProvider) Adding netbiosname HVEEDOMAIN asprimary domain qualifier

                4/4/201209:12:35.9419489        Error      Exception in SetupResource Exception=System.Collections.Generic.KeyNotFoundException: The given key wasnot present in the dictionary.

                   atSystem.ThrowHelper.ThrowKeyNotFoundException()

                   at System.Collections.Generic.Dictionary`2.get_Item(TKeykey)

                   atDSC.DirectoryFramework.SetupResource(String id, String type, String path,String username, String password, Boolean enabled, IDictionary`2 newSettings)

                4/4/201209:12:35.9575714         Error     Parse error setting up resourceC:\ProgramData\QlikTech\DirectoryServiceConnector\Resources\c563373c-028a-4a25-b92c-09f04e3aa258:The given key was not present in the dictionary.

                4/4/201209:12:35.9575714        Error      Exception in SetupResource Exception=System.Collections.Generic.KeyNotFoundException: The given key wasnot present in the dictionary.

                   atSystem.ThrowHelper.ThrowKeyNotFoundException()

                   atSystem.Collections.Generic.Dictionary`2.get_Item(TKey key)

                   at DSC.DirectoryFramework.SetupResource(Stringid, String type, String path, String username, String password, Booleanenabled, IDictionary`2 newSettings)

                4/4/201209:12:35.9575714        Error      Parse error setting up resourceC:\ProgramData\QlikTech\DirectoryServiceConnector\Resources\de607eb9-67c4-4059-a0fd-aa0d5dcd9610:The given key was not present in the dictionary.

                4/4/201209:12:35.9575714        Information       Starting webservice at port4730

                4/4/201209:12:35.9888164        Information       Initializing done

                4/4/201209:12:36.0200614        Information       Initializing system webserver

                4/4/201209:12:36.0200614        Information       Webserver security set to: Ntlm

                4/4/201209:12:36.0200614        Information       Authorization groupname:QlikView Administrators

                 

                Henco


                  • Re: QlikView service DSC stops running
                    Brett Bleess

                    Well, the first post did not capture everything I wrote.  From what I can see you have some issues in your QVPR, and I think the best thing is to go ahead and open up a Support case at this point, so we can get the additional information we will need and/or just do a WebEx to have a direct look at things with you to try to sort out what is happening here.  We should be able to fix it, but should you not wish to do this, the best work around of which I can think is to stop your QMS service, then rename your QVPR folder in ProgramData\QlikTech\(not sure what version you are running either, so I can't give you exact path, but I think you will know), and rename the qvpr....ini file as well, then restart the QMS which will create a new QVPR etc.  All your tasks will be gone, but if you do not have too many, it may be faster to just recreate things.  We should be able to fix things though if you do create the Support case with us.  Sorry I cannot do more via the forum for you on this one.