.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

3 REPLIES 3
Reply
Message 1 of 4
a1ex2
1092 Views, 3 Replies

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

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

3 REPLIES 3
Message 2 of 4
augusto.goncalves
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
Twitter @augustomaia
Autodesk Developer Network
Message 3 of 4
a1ex2
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

Message 4 of 4
HomeBoyLV
in reply to: a1ex2

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost