.NET

.NET

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

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

661 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: 346
Registered: ‎04-30-2009
Message 2 of 4 (650 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 (641 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 (627 Views)

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

06-10-2011 08:42 PM in reply to: a1ex2
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.