call com object from web service
-
I want to use a com object from a web service. I get fancy security related errors like this: Retrieving the COM class factory for component with CLSID {E42CF104-DB12-4E6D-9053-D5424128DB72} failed due to the following error: 80070005 :doh: Is it possible to use com in a webservice? If so, how should I do it to avoid these security related errors? greetings, Niko.
-
I want to use a com object from a web service. I get fancy security related errors like this: Retrieving the COM class factory for component with CLSID {E42CF104-DB12-4E6D-9053-D5424128DB72} failed due to the following error: 80070005 :doh: Is it possible to use com in a webservice? If so, how should I do it to avoid these security related errors? greetings, Niko.
I don't personally know, but this might be a question better suited for the Web Development[^] or COM[^] forums.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Morality Apart from God Judah Himango
-
I want to use a com object from a web service. I get fancy security related errors like this: Retrieving the COM class factory for component with CLSID {E42CF104-DB12-4E6D-9053-D5424128DB72} failed due to the following error: 80070005 :doh: Is it possible to use com in a webservice? If so, how should I do it to avoid these security related errors? greetings, Niko.
NikoTanghe wrote:
CLSID {E42CF104-DB12-4E6D-9053-D5424128DB72} failed due to the following error: 80070005
80070005 is the numeric value for the constant E_ACCESSDENIED, which is just a general access denied error.
NikoTanghe wrote:
Is it possible to use com in a webservice?
Yes, depending on what you mean by use COM in a web service. If your web service will internally invoke some COM component to perform it's process, absolutely.
- Nick Parker Microsoft MVP - Visual C#
My Blog | My Articles -
NikoTanghe wrote:
CLSID {E42CF104-DB12-4E6D-9053-D5424128DB72} failed due to the following error: 80070005
80070005 is the numeric value for the constant E_ACCESSDENIED, which is just a general access denied error.
NikoTanghe wrote:
Is it possible to use com in a webservice?
Yes, depending on what you mean by use COM in a web service. If your web service will internally invoke some COM component to perform it's process, absolutely.
- Nick Parker Microsoft MVP - Visual C#
My Blog | My ArticlesI am indeed using the com object internally. The object is created and used within a single webmethod. I am accessing the com object by using a com interop (created by add reference...) Why am I getting this AccessDenied error? Is it somehow possible to access the registry and the file system from within a webservice?