<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CO_E_SERVER_EXEC_FAILURE when using the automation interface from an ASP.NET application. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CO-E-SERVER-EXEC-FAILURE-when-using-the-automation-interface/m-p/449211#M1238929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*Sigh* I found a solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It *was* security after all :-s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to explicitly set a user (choose for "This user") on the "Identity" tab in dcomcnfg. &lt;/P&gt;&lt;P&gt;I'm not sure why though, as before, it was set on "the launching user", and I did configure the apppool of the web app with the same user, and that didn't work. &lt;/P&gt;&lt;P&gt;I'm sure that user actually tried to launch qv.exe, as I saw it in process explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmmm...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So still looking for an good explanation though... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does it work with an explicitly set user and not with "The launching user" while the launching user is the same as the explicitly set one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2012 20:05:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-18T20:05:56Z</dc:date>
    <item>
      <title>CO_E_SERVER_EXEC_FAILURE when using the automation interface from an ASP.NET application.</title>
      <link>https://community.qlik.com/t5/QlikView/CO-E-SERVER-EXEC-FAILURE-when-using-the-automation-interface/m-p/449210#M1238926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am simply trying to open a .qvw document, save it and close it again from .NET using the automation interface. (When I do this, first the -prj folder is created, so the documentlayout xml files are automatically generated).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, this should be as simple as this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var&lt;/SPAN&gt; qvApp = &lt;SPAN style="color: blue;"&gt;new&lt;/SPAN&gt; QlikView.&lt;SPAN style="color: #2b91af;"&gt;Application&lt;/SPAN&gt;();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: blue;"&gt;var&lt;/SPAN&gt; qvDoc = qvApp.OpenDoc(documentFromDb.FullPath);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; qvDoc.Save();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this code actually works when executed from a simple console application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I execute this in a server context (ASP.NET), I always get an error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 style="font-family: Verdana; font-weight: normal; font-size: 14pt; color: maroon; background-color: #ffffff;"&gt;&lt;EM&gt;Retrieving the COM class factory for component with CLSID {0E4678AA-415E-11D1-934D-0040333C91CC} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).&lt;/EM&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This happens on the first line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried running the web server under different user accounts, even the local administrator account, to no avail. I have tried changing the rights in dcomcnfg, until the point that basically "everyone" had rights to do "everything"... still no change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there uberhaupt *any* way to automate Qlikview *without* using the user interface (as I suppose that's the reason of the problem here, or at least it has something to do with it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really need the files under the -prj folder, and I need them unattended, and I need them from an ASP.NET application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CO-E-SERVER-EXEC-FAILURE-when-using-the-automation-interface/m-p/449210#M1238926</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: CO_E_SERVER_EXEC_FAILURE when using the automation interface from an ASP.NET application.</title>
      <link>https://community.qlik.com/t5/QlikView/CO-E-SERVER-EXEC-FAILURE-when-using-the-automation-interface/m-p/449211#M1238929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*Sigh* I found a solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It *was* security after all :-s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to explicitly set a user (choose for "This user") on the "Identity" tab in dcomcnfg. &lt;/P&gt;&lt;P&gt;I'm not sure why though, as before, it was set on "the launching user", and I did configure the apppool of the web app with the same user, and that didn't work. &lt;/P&gt;&lt;P&gt;I'm sure that user actually tried to launch qv.exe, as I saw it in process explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmmm...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So still looking for an good explanation though... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does it work with an explicitly set user and not with "The launching user" while the launching user is the same as the explicitly set one?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 20:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CO-E-SERVER-EXEC-FAILURE-when-using-the-automation-interface/m-p/449211#M1238929</guid>
      <dc:creator />
      <dc:date>2012-12-18T20:05:56Z</dc:date>
    </item>
  </channel>
</rss>

