digistam
2010-03-10 15:08:01 UTC
I have build a web service with Microsoft LogParser 2.2. When I use the web
service from localhost, everything works fine. When I want to use the web
service from a remote server, I get this result:
System.UnauthorizedAccessException: Retrieving the COM class factory for
component with CLSID {8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66} failed due to the
following error: 80070005.
at Service.GetQuery(String keyword) in
c:\inetpub\wwwroot\webservice\App_Code\Service.cs:line 35
Line 35 in Service.cs is this:
// Instantiate the LogQuery object
LogQuery oLogQuery = new LogQuery();
I allready looked in Control Panel > Administrative tools > Component
services > Computers > This computer > DCom config
and I noticed MSUtil exists (MSUtil is needed to work with LogParser's
services)
I understand it's a permission problem (code 80070005) but I don't
understand how to solve it. Please advice
service from localhost, everything works fine. When I want to use the web
service from a remote server, I get this result:
System.UnauthorizedAccessException: Retrieving the COM class factory for
component with CLSID {8CFEBA94-3FC2-45CA-B9A5-9EDACF704F66} failed due to the
following error: 80070005.
at Service.GetQuery(String keyword) in
c:\inetpub\wwwroot\webservice\App_Code\Service.cs:line 35
Line 35 in Service.cs is this:
// Instantiate the LogQuery object
LogQuery oLogQuery = new LogQuery();
I allready looked in Control Panel > Administrative tools > Component
services > Computers > This computer > DCom config
and I noticed MSUtil exists (MSUtil is needed to work with LogParser's
services)
I understand it's a permission problem (code 80070005) but I don't
understand how to solve it. Please advice