UnauthorizedAccessException = Error accessing COM+ application by webservice

Hi all,

I build a webservice to access a COM+ application.
I install the com+'s proxy in my machine, but when I run the webservice, appear
this error ( in portuguese, that is my original language):

System.UnauthorizedAccessException: Falha na recuperação de factory de classes COM do componente com CLSID {C1F2D7B3-7A69-4368-83EA-43C91A4BB75F} devido ao seguinte erro: 80070005.
em Service.obtemDetento(Int32 iPresidio_Alvo, Int32 iPROR_CODIGO, Int64 lINDICE, Int64 lMatricula, Int64 lCODIGO_DETENTO) na C:\Documents and Settings\leomar-costa\Meus documentos\Visual Studio 2005\WebSites\WebSite1\App_Code\Service.vb:linha 21

The 21 line is:

Dim rnDetento As New PRIepDetRn.clsRNDetentos()

What's is going wrong ?

Thanks a lot,

Leomar

[792 byte] By [Leomar] at [2008-2-20]
# 1

For COM+/Enterprise Services issues not related to transactions please use:

microsoft.public.platformsdk.complus_mts and microsoft.public.dotnet.framework.component_services.

Thanks.

FlorinLazar-MSFT at 2007-8-30 > top of Msdn Tech,Software Development for Windows Vista,Transactions Programming...

Software Development for Windows Vista

Site Classified