Ask Experts Questions for FREE Help!
 

Free Answers in 3 Easy Steps

Register Now
3 Steps
 


Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.
  Answer this Question    Ask about Visual Basic    Ask about another Subject  
 

omairkhan
Jun 24, 2009, 10:17 PM
Can you please tell me how to send a COM object to a Web service...
as it give error that unable to generate XML code.
and in inner exception, it says:
"Unable to generate a temporary class (result=1).
error CS0122: 'System.__ComObject' is inaccessible due to its protection level
error CS0122: 'System.__ComObject' is inaccessible due to its protection level"

please help me...:confused:

Perito
Jun 25, 2009, 04:23 AM
Is the subroutine that calls this declared as Private? Change its access to Public.