locked
Com+ Proxy Issue RRS feed

  • Question

  • User1442879938 posted
    I created a com+ component in Power Builder and than installed a proxy on my 
    local machine. Now whenever I call the component using the proxy it returns 
    the following error.
    
    Error From the aspx page:-
    =================

    Retrieving the COM class factory for component with CLSID {058D0479-40A8-45EB-BCCF-00FCBF3B40A0} failed due to the following error: 80070005.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 



    Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {058D0479-40A8-45EB-BCCF-00FCBF3B40A0} failed due to the following error: 80070005.

    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

    To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

    Wednesday, August 12, 2009 12:52 AM

All replies

  • User-1659704165 posted

    Hi,

    it is permision issue..
    Either do some research on CAS(code acess secuirty) and DCOMCNFG

    Or

    http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/aeea74db-ff7d-4d99-9b9f-69354abf38db

    http://www.codeguru.com/forum/printthread.php?t=383912&page=3&pp=15

    http://bytes.com/topic/net/answers/765452-classfactory-failed-due-following-error-80070422-a

    chk the above link

    Wednesday, August 12, 2009 1:25 AM
  • User1442879938 posted

    Well it was to do with the excess permissions of the remote machine, just to test it I gave the local machine and user complete rights of the remote machine..... and guess what it worked without a problem. So now I need to figure out which role specifically need excess of the remote machine.

    Thursday, August 13, 2009 12:49 AM