.NET

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

New AcadApplicationClass fails

236 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 (236 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 (236 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 (236 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
@=""
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.