.NET

Reply
Member
Tom McHugh
Posts: 3
Registered: ‎10-17-2006
Message 1 of 4 (224 Views)

New AcadApplicationClass fails

224 Views, 3 Replies
10-17-2006 08:57 AM
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.
Distinguished Contributor
cgay
Posts: 125
Registered: ‎08-02-2005
Message 2 of 4 (224 Views)

Re: New AcadApplicationClass fails

10-17-2006 01:45 PM 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
Member
Tom McHugh
Posts: 3
Registered: ‎10-17-2006
Message 3 of 4 (224 Views)

Re: New AcadApplicationClass fails

10-19-2006 05:21 AM 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.
Member
Tom McHugh
Posts: 3
Registered: ‎10-17-2006
Message 4 of 4 (224 Views)

Re: New AcadApplicationClass fails

10-27-2006 05:36 AM 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
@=""

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community