none
System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)). at Sy

    Question

  • Hi All,
    In our project their is requirement to convert word document to pdf 
    have used the above it is working fine in loacal machine and in server machine when i have used using iis there is issue i.e

    System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)). at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType) at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType) at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj) 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) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Activator.CreateInstance(Type type) at DMSNew.DownloadPopup.DownloadDocument(String siteURL, String documentName, String filetype) in D:\TFS Projects\DMSVer1.0\DMSNew\DownloadPopup.aspx.cs:line 202 at DMSNew.DownloadPopup.lnkdownloadpopup_Click(Object sender, EventArgs e) in D:\TFS Projects\DMSVer1.0\DMSNew\DownloadPopup.aspx.cs:line 413 Click this link to download tmfreferencemodelversion2025june12(2).pdf 

    Could you Please help me.

    Note I have already installed Microsoft Office 2007 Add-in: Microsoft Save as PDF or XPS.

    My Server Machine 2008 with X86 type
    Thursday, September 27, 2012 3:35 PM

Answers

All replies