Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi!
I try to reload Qv-report by using QVDistributionService from another server, where is not installed QVDistributionService:
"\\QVServer\C$\Program Files\QlikView\Distribution Service\QVDistributionService.exe" -r="\\Server\Path\Report.qvw"
So i have an error:
Error Failed to create QlikView Engine.. Exception=System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {BE1F19B5-415E-11D1-934D-0040333C91CC} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at QVBWrapper.Document.<CreateQVBProcess>b__30(Boolean mutexCreated)
at SolutionGlobal.GlobalMutex.Lock(Action`1 action, TimeSpan timeout)
at QVBWrapper.Document.CreateQVBProcess(ILogBucket logBucket, Boolean createEmptyDoc)
Is anybody know what I need to do to fix it?
Thanks for your help.
If the purpose of doing a reload from another computer is to get a trigger mechanism rather than off-loading the first Distribution Service then there are several ways of doing that. For instance QMSEXE.exe which you can find here on the Qlik Community would help you with that.
This cannot be fixed. Run the QDS on a platform where it has been properly installed. You can use remote execution in powershell to accomplish that.
If you like technical explanations:
To reload QVW Documents, the QlikView Distribution Service needs another program called QVB.exe. To find and start QVB.exe, QDS will lookup the registration of the program in the (local) registry. However, because QDS and additional tools haven't been installed on this platform, there will be no registry entries for QVB.exe and QDS will be unable to start the reload engine. Technically impossible.
Peter
If the purpose of doing a reload from another computer is to get a trigger mechanism rather than off-loading the first Distribution Service then there are several ways of doing that. For instance QMSEXE.exe which you can find here on the Qlik Community would help you with that.
QMSEDX.exe
(Sorry Petter, couldn't resist )
Ha ha ... sometimes the fingers don't write what the brain tells them to ... and then finally the eyes read what the brain think they should and not what they actually see...