.NET

.NET

Reply
New Member
a1ex2
Posts: 2
Registered: ‎06-09-2011
Message 1 of 4 (699 Views)

actvieX can't create object/call rejected by callee problem

699 Views, 3 Replies
06-09-2011 02:14 PM

I created a vb.net stand alone program. Used the following to create the CAD object:

CreateObject("Autocad.Application")

for doing some batch job.

 

Then I deploy it to a group of computers. It is working fine for some computers and others failed with either "actvieX can't create object" or "call rejected by callee". All computers has AutoCAD full version(Mechanical or Electrical) installed. Did any one has similar experience that can share how to fix it?

 

Regards!

 

Alex

ADN Support Specialist
augusto.goncalves
Posts: 390
Registered: ‎04-30-2009
Message 2 of 4 (688 Views)

Re: actvieX can't create object/call rejected by callee problem

06-10-2011 06:08 AM in reply to: a1ex2

Hi,

 

Usually the quickest solution is implement a interface to help Windows understand the connection. Check at:

 

How to: Fix 'Application is Busy' and 'Call was Rejected By Callee' Errors
http://msdn.microsoft.com/en-us/library/ms228772.aspx


Regards,

 

Augusto Goncalves

Autodesk Developer Network

Regards,



Augusto Goncalves
Autodesk Developer Network
New Member
a1ex2
Posts: 2
Registered: ‎06-09-2011
Message 3 of 4 (679 Views)

Re: actvieX can't create object/call rejected by callee problem

06-10-2011 10:39 AM in reply to: augusto.goncalves

Thanks very much for your information. That is a good help.

That is the solution for "Call rejected by callee".  

 

How about the error "Active X can't create Object"? We have different version of AutoCAD in different machines. Range from 2008, 2010 and 2012, Mechanical, Electrical or just General. I suspect it is caused by Windows Registry. What do you think?

 

Regards,

 

Alex

Active Contributor
HomeBoyLV
Posts: 47
Registered: ‎06-04-2004
Message 4 of 4 (665 Views)

Re: actvieX can't create object/call rejected by callee problem

06-10-2011 08:42 PM in reply to: a1ex2
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.