18 Replies Latest reply: Feb 9, 2017 10:58 AM by Michael Tarallo RSS

    Sense Desktop 3.1 SR4 Problem with multiple accounts on same machine

    Alex K

      Hi @mike_tarallo


      I can't get Qlik Sense Desktop to work with multiple accounts on the same machine.


      Here is my setup:

      Windows 7 64-bit VM fresh image, member of domain, all sorts of group policies in place.


      Downloaded Sense Desktop 3.1 SR4 to "All Users" Desktop for easy access.

      Logged in as user with admin rights - install it successfully, I am able to open Hub.

      Give admin rights to another userid. Log off and log in as user #2 with admin rights.

      Installs successfully. User #2 is able to open Hub. Remove user #2 from Admin group and log off\log in back to make sure even without admin rights it still works - it does. Yay!

      Now, i log in as local admin again and give user #3 admin rights. Log off and log in as user #3 (admin rights in effect)

      Go through same sequence of installing the product - except this time user #3 cannot open Hub. Tried to refresh page with F5 just to get "Could not Reach http://localhost:4848/hub with error (-102)." message.


      Tried uninstalling it, deleting %temp% files, deleting %appdata%\local\Programs folder, restart and then log in with admin rights as user #3 again and installing the Sense Desktop again but can't make it to work...


      Log in as user #2 and application still works


      I can't pinpoint the problem as it's intermittent. Can you help @mike_tarallo?

        • Re: Sense Desktop 3.1 SR4 Problem
          Carmen Reilly

          Hi Alex - just making sure Mike is tagged

           

          Hi mto - as always, really appreciate your assistance!

          • Re: Sense Desktop 3.1 SR4 Problem
            Cathy Duvall

            Hi Alex,

             

            Try pressing F5.

            • Re: Sense Desktop 3.1 SR4 Problem
              Michael Tarallo

              Hi Alex,

               

              So to recap - you are installing Qlik Sense Desktop - 3 times on the same VM using different user accounts?

               

              I would need to reproduce this - in theory as long as each user is logged in with their own profile and they have permissions to install software locally, the installation should work.

               

              Can you verify that you  have 3 separate installation APP directories in the users folders?

               

              You should have 3 - if you installed it 3 times under each user account:

               

              C:\Users\user1\Documents\Qlik\Sense

              C:\Users\user2\Documents\Qlik\Sense

              C:\Users\user3\Documents\Qlik\Sense

               

              C:\Users\user1\AppData\Local\Programs\Qlik\Sense\QlikSense.exe

              C:\Users\user2\AppData\Local\Programs\Qlik\Sense\QlikSense.exe

              C:\Users\user3\AppData\Local\Programs\Qlik\Sense\QlikSense.exe

               

              When Desktop Starts you should have:

               

              C:\Users\user1\AppData\Local\Temp\qlik

              C:\Users\user2\AppData\Local\Temp\qlik

              C:\Users\user3\AppData\Local\Temp\qlik

               

              I will attempt this and see what happens.

               

              I am NOT using a domain account - I am using 3 local accounts.

               

              When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.

               

              Regards,

              Mike Tarallo

              Qlik

                • Re: Sense Desktop 3.1 SR4 Problem
                  Alex K

                  Hi Mike,

                   

                  Below items are there:

                  C:\Users\user\Documents\Qlik\Sense

                  C:\Users\user\AppData\Local\Programs\Qlik\Sense\QlikSense.exe


                  When I launch Sense Desktop I have C:\Users\user\AppData\Local\Temp\QlikSenseBrowserCache instead of qlik folder and it does not go away when desktop is closed.


                  All of the above is valid for 3 different users, but only last one has problem opening the Hub

                    • Re: Sense Desktop 3.1 SR4 Problem
                      Michael Tarallo

                      Ok I sent out a request to the products team - this is odd - not sure if there is some sort of limitation, but you would think 3 separate installations under 3 separate user accounts would work. It is funny that 2 are working and 1 is not.

                       

                      Can you check the log:

                       

                      There should be a log file with desktop in the name here:

                       

                      C:\Users\<user>\AppData\Local\Temp

                       

                      something like: Qlik_Sense_Desktop_3.2_20170201152352.log

                       

                      Mike

                          • Re: Sense Desktop 3.1 SR4 Problem
                            Michael Tarallo

                            Logs look good - please send some screenshots of what happens, see if you can launch

                             

                            C:\Users\mtarallo\AppData\Local\Programs\Qlik\Sense\QlikSense.exe from a COmmand window that we can see if there are any messages or prompts

                             

                            Also - do you have Qlik Sense Server / Enterprise installed on the same system - is this a server o/s or a workstation o/s? - I assume workstation as I think Desktop will not allow you to install on a server o/s. There are conflicts with Desktop and Server being installed on a workstation however.

                             

                            Let's try to exhaust all possibilities.

                             

                            Thanks,

                             

                            Mike

                              • Re: Sense Desktop 3.1 SR4 Problem
                                Alex K

                                Hi Mike,

                                 

                                When I launch it from command line the command window gets closed and I get famous -102 error (attached) when it opens up. Sometimes I get another error - also attached. Pressing F5 few times gets me to 102 error as well.

                                 

                                I don't have any other Qlik software installed on this system. It's a 64-bit Windows 7 box. And remind you - that's the same exact VM that Sense Desktop works for first 2 users.

                                 

                                Thanks,

                                Alex

                                  • Re: Sense Desktop 3.1 SR4 Problem
                                    Michael Tarallo

                                    I have seen that before upon start-up and I press F5 to refresh and works - this is definitely a weird issue - I am waiting on a support case for more information - there may be a known issue here - I'll update you shortly.

                                      • Re: Sense Desktop 3.1 SR4 Problem
                                        Alex K

                                        I also found this warnings and errors in Event Log:

                                         

                                        The description for Event ID 300 from source Qlik Sense Service Dispatcher cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

                                        If the event originated on another computer, the display information had to be saved with the event.

                                        The following information was included with the event:

                                        Working directory is C:\Users\userid3\AppData\Local\Programs\Qlik\Sense

                                         

                                        The description for Event ID 300 from source Qlik Sense Service Dispatcher cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

                                        If the event originated on another computer, the display information had to be saved with the event.

                                        The following information was included with the event:

                                        CProcessManager::StartProcess: CreateProcess API failure (5); Access is denied.

                                        Engine\Engine.exe

                                         

                                        The description for Event ID 300 from source Qlik Sense Service Dispatcher cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

                                        If the event originated on another computer, the display information had to be saved with the event.

                                        The following information was included with the event:

                                        Qlik.converterservice (Converter Service) is disabled

                                         

                                        The description for Event ID 300 from source Qlik Sense Service Dispatcher cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

                                        If the event originated on another computer, the display information had to be saved with the event.

                                        The following information was included with the event:

                                        Child process (4744) started

                                        Facility = Sense Engine

                                        ExePath = Engine\Engine.exe

                                        Script =

                                        Command Line"Engine\Engine.exe" -P 9076 --WSPath "C:\Users\userid3\AppData\Local\Programs\Qlik\Sense\Client" --MigrationPort 9074 --DataPrepPort 9072 --NPrintingPort 9073

                                         

                                        The description for Event ID 300 from source Qlik Sense Service Dispatcher cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

                                        If the event originated on another computer, the display information had to be saved with the event.

                                        The following information was included with the event:

                                        Child process (5096) started

                                        Facility = App Migration

                                        ExePath = Node\Node.exe

                                        Script = MigrationService\index.js

                                        Command Line"Node\Node.exe" "MigrationService\index.js" --context=desktop --port=9074 --log-path="H:\\Documents\Qlik\Sense\Log"

                                        • Re: Sense Desktop 3.1 SR4 Problem
                                          Alex K

                                          Hi Mike, did you hear anything from developers?

                                            • Re: Sense Desktop 3.1 SR4 Problem
                                              Michael Tarallo

                                              Hi Alex - I have not - I am attempting to reproduce this for you.

                                              • Re: Sense Desktop 3.1 SR4 Problem
                                                Michael Tarallo

                                                Hi Alex - I attempted this in Windows 10 and in Windows 7 and was able to install QSD 3.1 SR 4 (3) times start, open hub and create an app - each user had their own directory and copy of that app. - The only thing I made sure to do (as you sated) was Logout NOT switch user. To test, I switched user instead of logging off and there was a QlikSense.exe process being run by the other user - when I logged in as user 2 - Qlik Sense Desktop would not start.

                                                 

                                                I am not sure where else to go with this as it worked on my test systems.

                                                 

                                                Let me see if vkr - has any other advice.

                                                  • Re: Sense Desktop 3.1 SR4 Problem
                                                    Alex K

                                                    After a lot of testing I am convinced that problem I have is user account related. I switched order of users and the account with problem that I used "third" I'm using "first" and i have same problem.

                                                    • Re: Sense Desktop 3.1 SR4 Problem
                                                      Vinay Kapoor

                                                      Hi,

                                                       

                                                      Interesting. In general, Qlik Sense Desktop is not designed to work on a machine with multiple users since this used to be a lead generation tool. As such, you can get around that limitation in the manner you have approached (i.e. by elevating all users to admin and then performing installations). This does however have the potential to cause problems since you have the potential of you local program files being overwritten with every installation (the core installation is shared amongst all users in this case). Also, I suspect what is going on is that you have processes from one user now interfering with other users as the exe from a particular location is already executing a process for a certain user.

                                                       

                                                      Instead of installing it per user, I recommend trying the following:

                                                       

                                                      1. Install Qlik Sense Desktop for the local admin user

                                                      2. Copy all files from the installed location to a common place that every user can access.

                                                      3. Login as user2 or user 3 and then copy past the installation in the user's local content area (for e.g. /documents)

                                                      4. Create a short cut to qlik sense desktop executable on user's desktop and program files and use that to launch Qlik Sense Desktop

                                                       

                                                      This should in theory allow each user to use the desktop in their individual user space instead of sharing system resources.

                                                       

                                                      Let me know if this works out.

                                                       

                                                      Regards,

                                                      Vinay