PC Review


Reply
Thread Tools Rate Thread

access to COM object denied

 
 
Dica
Guest
Posts: n/a
 
      25th Sep 2007
i'm using the altovaxml COM component to validate my xml (far superior to
the built in .net xml validators) but keep getting an error message:

Retrieving the COM class factory for component with CLSID
{533BAC07-C702-4D91-8D37-39FDC919A19C} failed due to the following error:
80070005.

this is access error message, so i've manually granted the network system
account NTFS execute permissions on the altova EXE, which made no
difference. i've also run dcomcnfg, trying to grant execute perms on the COM
component there, but the altoval COM object isn't listed there, though there
is a registery listing. if i set the impersonate option within the
web.config to an admin account, my code runs fine, but i really don't want
to run the app under the admin account.

how can i set execute perms on the network service for this COM class?

tks


 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      25th Sep 2007
On Sep 25, 4:26 pm, "Dica" <genp...@hotmail.com> wrote:
> i'm using the altovaxml COM component to validate my xml (far superior to
> the built in .net xml validators) but keep getting an error message:
>
> Retrieving the COM class factory for component with CLSID
> {533BAC07-C702-4D91-8D37-39FDC919A19C} failed due to the following error:
> 80070005.
>
> this is access error message, so i've manually granted the network system
> account NTFS execute permissions on the altova EXE, which made no
> difference. i've also run dcomcnfg, trying to grant execute perms on the COM
> component there, but the altoval COM object isn't listed there, though there
> is a registery listing. if i set the impersonate option within the
> web.config to an admin account, my code runs fine, but i really don't want
> to run the app under the admin account.
>
> how can i set execute perms on the network service for this COM class?
>
> tks


http://www.altova.com/manual2008/Alt...tinterface.htm

 
Reply With Quote
 
Dica
Guest
Posts: n/a
 
      26th Sep 2007

"Alexey Smirnov" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Sep 25, 4:26 pm, "Dica" <genp...@hotmail.com> wrote:
>> i'm using the altovaxml COM component to validate my xml (far superior to
>> the built in .net xml validators) but keep getting an error message:
>>
>> Retrieving the COM class factory for component with CLSID
>> {533BAC07-C702-4D91-8D37-39FDC919A19C} failed due to the following error:
>> 80070005.
>>
>> this is access error message, so i've manually granted the network system
>> account NTFS execute permissions on the altova EXE, which made no
>> difference. i've also run dcomcnfg, trying to grant execute perms on the
>> COM
>> component there, but the altoval COM object isn't listed there, though
>> there
>> is a registery listing. if i set the impersonate option within the
>> web.config to an admin account, my code runs fine, but i really don't
>> want
>> to run the app under the admin account.
>>
>> how can i set execute perms on the network service for this COM class?
>>
>> tks

>
> http://www.altova.com/manual2008/Alt...tinterface.htm


i tried that, but it didn't work. i've found that the command line xml
validator is more reliable that the COM object in validating XML, so i'm
just going to call a bat file and parse the results from the Process job.

tks anyhow.


>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
access denied creating excel object =?Utf-8?B?Q2hyaXM=?= Microsoft Dot NET 0 9th Feb 2005 09:59 PM
Access denied, when accessing object =?Utf-8?B?YWNjZXNzIGRlbmllZCAgcmVzcG9uc2U=?= Microsoft Dot NET 0 14th Jun 2004 12:01 PM
Help on access denied when create a com object Cristiano Trebian Microsoft Dot NET 1 2nd Mar 2004 11:35 PM
Access Denied trying to instantiate a wrappered com object? Ben Pryhoda Microsoft C# .NET 1 18th Nov 2003 09:26 PM
Access Denied trying to create New Instantance of Object Ian Microsoft Dot NET 3 29th Sep 2003 08:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:13 PM.