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

Reload automation in C#

I have written a c# code that do the reload and set it up in task scheduler. Pre-SR3, the automation works perfectly. When we migrated to SR3, I'm getting this error when the code is running in the SERVER:

Error Message:
Unable to cast COM object of type 'QlikView.ApplicationClass' to interface type 'QlikView.Global'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{7C37E861-415E-11D1-934D-0040333C91CC}' failed due to the following error: The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED)).

So, I updated my code to reference the new QV.exe in my local machine (of course, after uninstalling the previous version, cleaning the registry and rebooting and installing SR3. During testing on my local machine, I'm getting this error:

Error Message:
Retrieving the COM class factory for component with CLSID {AF028A0D-415E-11D1-934D-0040333C91CC} failed due to the following error: 80040154.

If someone has encounter this problem and was able to resolve, your help would be greatly appreciated.

4 Replies
Not applicable
Author

I've a similar problem. See this thread: http://community.qlik.com/forums/t/26792.aspx

I'm using VBS and Ruby and I had the same problem with SR3. I downgraded to SR2 and the problem disappears.

dd. //

Not applicable
Author

I think it's a problem of Qlik, try to send the example to support, pheraps they already have a ticket

Not applicable
Author

It seems to be solved in SR4. It works for me.

biester
Specialist

Actually I had this and other problems with my own C# reloader PoorMansPublisher 😉 - see http://community.qlik.com/forums/p/26747/103453.aspx#103453 - though it had nothing to do with the SR. On one (test) server it works with SR2, SR3 and SR4, on the other one - don't know why and I couldn't find out - it has the mentioned errors (not always, but sometimes), with SR2, SR3 and SR4, and the user has to be logged on while the task is being executed. I made up a support call but support could not reproduce the error, it just worked with them - that was the end of the case ... Perhaps they don't like to see one writing one's own "Publishers" / "Reloaders" 😉

Rgds,
Joachim