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

New AcadApplicationClass fails

3 REPLIES 3
Reply
Message 1 of 4
Tom McHugh
543 Views, 3 Replies

New AcadApplicationClass fails

A VB 2003 program, which works just fine when logged in, fails when not logged in. Anyone know why this might be?

The program is designed to create TIF files from (released) AutoCAD files by plotting to a virtual printer on a nightly basis as a scheduled task.

This works just fine by doing a manually RUN of the task.

It fails miserably when trying to run when no one is logged in.

Try/Catch narrows the problem down to the following line of code:

AutocadApp = New AcadApplicationClass

ex.message says "Server execution failed" and nothing more.

Any help may save what hair I have left.
3 REPLIES 3
Message 2 of 4
cgay
in reply to: Tom McHugh

http://discussion.autodesk.com/thread.jspa?messageID=5110379

This might not be exactly the problem you have, but hopefully it can get you started


C
Message 3 of 4
Tom McHugh
in reply to: Tom McHugh

Thanks for the response.

Unfortunately the possible solution has a problem (which now has to be researched). But you're right, it's a start.

Thanks again.
Message 4 of 4
Tom McHugh
in reply to: Tom McHugh

Finally results, which might be useful to someone else.

Below are some registry keys/values obtained from autodesk support. Note my PC had all values the same EXCEPT ONE. Changing this one value caused Cad Manager Tool to run.

Then, when it ran, it fixed the New AcadApplicationClass instantiation problem.

Below is the fix:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R16.1\ACAD-301:409\CadManagerControl]
@=""
"CurVer"="1.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R16.1\ACAD-301:409\CadManagerControl\CommunicationCenter]
@=""
"LocalPatchListLocation"=""
"EnableSerialNumberPassing"=dword:00000000
"EnableNonPatchNotifications"=dword:00000001
"EnableCommunicationCenter"=dword:00000001
"DataPollingURL"="http://webservices.autodesk.com/CommCntrLinkCollectionRequest"
"PreviewMode"=dword:00000000
"MaintenancePatchNotificationOption"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R16.1\ACAD-301:409\CadManagerControl\DesignCenter]
"HomePageUrl"="http://webservices.autodesk.com/DesignCenter"
"EnableDesignCenter"=dword:00000001
"EnableSerialNumberPassing"=dword:00000000
@=""

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