0 Replies Latest reply on May 2, 2012 8:00 AM by nschick

    CreateObject works when running web application through visual studio but not through IIS


      I have an asp.net web application that needs to use Photoshop.  When I run the application through Visual Studio 2010, it works.  Once I try to run through IIS, I receive this error:



      Retrieving the COM class factory for component with CLSID {D9389EDE-AEF8-4092-9377-075E94B7CB9A} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).


      I've tried many solutions that I've found in verious forums and nothing is working.  I have even tried setting the app pool's identity to myself. 


      The code that produces the error is:   Server.CreateObject("Photoshop.Application");