473,394 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

access to COM object denied

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
Sep 25 '07 #1
2 3591
On Sep 25, 4:26 pm, "Dica" <genp...@hotmail.comwrote:
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

Sep 25 '07 #2

"Alexey Smirnov" <al************@gmail.comwrote in message
news:11**********************@22g2000hsm.googlegro ups.com...
On Sep 25, 4:26 pm, "Dica" <genp...@hotmail.comwrote:
>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.

>

Sep 26 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ian | last post by:
The beginning of my assembly that I am getting the access error from looks like this. ********************************* Imports System.EnterpriseServices Imports System Imports...
3
by: vincentw56 | last post by:
This is the first time I have tried this. What we have is a com object the generates keys. A developer here wrote a .Net wrapper in C# for this com object. I am trying to call her dll wrapper...
1
by: Ben Pryhoda | last post by:
I have already used a third party com object in my code, and it went easily. Add the reference, call the methods, and get my results. But I am integrating a legacy com object and I follow the...
9
by: | last post by:
Hi All, I have allready tried to ask a similar question , but got no answer until now. In the meantime, I found, that I cannot understand some thread-settings for the Main() function . If I use...
3
by: Sachin_M | last post by:
Hi Friends, I want to develop a web based app where it will talk to a dll (which retrieves real time data from a controller) I've added a com dll reference to my project, the code is something...
3
by: buran | last post by:
Dear ASP.NET Programmers, I am trying to save a new created Word document, but getting the following the error. I granted the necessary rights to the ASPNET user, but I'm still getting this...
2
by: Brent Burkart | last post by:
I am trying to send an email using SMTP server through IIS. I am recieving the following error. Access is denied. Description: An unhandled exception occurred during the execution of the...
3
by: Olivogt | last post by:
Hello, I was just puting an application on the web server but it did not work as usual... - I do develop on my notebook and move released applications to the Web server - both have Sql Server...
12
by: D. Shane Fowlkes | last post by:
This most likely belongs in another forum but I thought I'd start here. I have a COM Object written in VB6. The DLL will access MS Excel and use it's Object Library to write a customized report...
1
by: karthi84 | last post by:
hi, when i tried to open a new excel spread sheet from my web form i got this access denied page. can any one help me in solving this problem. Server Error in '/sk/ContractInvoice'...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.