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

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

Anonymous
Not applicable
1,561 Views
3 Replies
Message 1 of 4

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

Anonymous
Not applicable

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

0 Likes
1,562 Views
3 Replies
Replies (3)
Message 2 of 4

augusto.goncalves
Alumni
Alumni

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
Twitter @augustomaia
Autodesk Developer Network
Message 3 of 4

Anonymous
Not applicable

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

0 Likes
Message 4 of 4

Anonymous
Not applicable
0 Likes