Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Timeout error with "QV user manager.bat"

I'm running QV Powertool in 11.2 SR6.

I've got a scheduled task that runs the "QV user manager.bat" file. 

The .bat file has been configured as show here:

cd /d "e:\ProgramData\QlikTech\QlikView Power Tools\Qv User Manager 11"

qv-user-manager -l=cal > "e:\ProgramData\QlikTech\SourceDocuments\Dropbox\Admin\Userlist.txt"


Recently the .bat has been populating the text shown below into the Userlist.txt file instead of the desired data.

UserName;LastUsed;QuarantinedUntil;Document;Server

The request channel timed out while waiting for a reply after 00:00:59.9990234. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

Any ideas on what might be causing the timeout?  Or as to how I can extend the wait time a bit longer?



3 Replies
ergustafsson
Partner - Specialist
Partner - Specialist

Hi Matt,

This is hardcoded in the application, but as you can see on qv-user-manager/qv-user-manager/app.config at master · braathen/qv-user-manager · GitHub you should be able to configure timeouts yourself if you compile the software.

Regards,

Erik

Not applicable
Author

Thank you Erik!  I see the timer variables on line 18 of the code. 

I went into

E:\ProgramData\QlikTech\QlikView Power Tools\Qv User Manager 11 and opened qv-user-manager.exe.config in notepad and found that it contained the same code you referenced in the github link.

I created a backup of qv-user-manager.exe.config

Then I opened qv-user-manager.exe.config in notepad and bumped up the timeout, opentime, and sendtime variables up to 00:02:00 and saved the changes.

Hoping that qv-user-manager.exe used the .config file as a settings file I ran the "QV user manager.bat" again and it timed out at 00:01:00.

How would I go about compiling this qv-user-manager.exe.config file into a new / alternate "Qv User Manager 11.exe"?

ergustafsson
Partner - Specialist
Partner - Specialist

Hi Matt,

I believe you need to change it in the sourcecode and then compile, not just the config file. I might be wrong here, might be on the QMS end, but at qv-user-manager/qv-user-manager at master · braathen/qv-user-manager · GitHub you can see that they are using C# files (.cs) and it needs to be compiled in Visual Studio. I.e. download all the source files, make all necessary changes and then compile it with Visual Studio. See File Extension .CS Details for more details.

Regards,

Erik