COM object in webservice

  • Thread starter Cheung, Jeffrey Jing-Yen
  • Start date
C

Cheung, Jeffrey Jing-Yen

Is there some sort of restriction for instantiating a COM object in a
..NET webservice? I have a method inside my webservice that instantiates
a COM object, and returns a custom class, but if I return the custom
class after I instantiate the COM object, I always get a garbled mess.
I only assume there is an error thrown because I have procedures that
write to a file on the server for error trapping purposes. When I look
in the text file, it is empty. How can I safely error trap exceptions
and ensure that have the right parameters to instantiate my COM?

Regards,

Jeff Cheung
 
J

Joe H

if the web service is being called with anonymous credentials, then you
probably wouldn't have the rights to write to a log file on the server's
disk.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top