I have another case now
there is a cluster of 2 QlikView servers
The client restarted the main qlikveiw server and the document cals are lost (all documents had 0 assigned document CALs
I was told by QlikTech that there is an order to follow whenever a restart is needed
Anyway now the problem is on how can I rapidly reassign CALs rapidly?
Shall I restore the CalData.pgo file (knowing that the QlikTech folder is backedup on daily basis)
If you don't remember the old document name, Please follow these steps.
1- Stop all Qlikview Servers.
2-Clear all .pgo files. Not only in Document folder. Search your Server disk by typing *.pgo and delete all. (Of course back up them first)
3- Start all Qlikview Servers.
4-Attach Document and Named CALS and try not to forget deleted document names or first detach Document CALS
There is another good resolution, which will not require you to assign the CALs again.
1)Stop the QlikView Server service.
2)Add PgoAsXmlAlso=1 under [Settings 7] in the Settings.ini file located in %ProgramData%\QlikTech\QlikViewServer (default location)
3)Restart the QlikView Server service
4)Navigate to Root Directory and Open the CalData.pgo.xml file to determine to which document the
CALs were assigned
5) Create a new blank QVW file named the same as document listed in CalData.pgo.xml & save it in
the Root directory
6) In Management Console, navigate to Documents > User Documents and locate QWV created in the
7) Click Document CALs tab and set Number of CALs allocated to this Document to zero and click
This worked like a charm for me.