Author Topic: acsign and .NET apps that target com  (Read 2780 times)

0 Members and 1 Guest are viewing this topic.

vegbruiser

  • Guest
acsign and .NET apps that target com
« on: March 12, 2010, 11:40:47 AM »
We have a batch printing/folder setup C# .NET application (not written by me) that targets the com interface(s) available in AutoCAD 2006.

Up until a couple of weeks ago it was working fine; Nothing has changed with the program since then, or the AutoCAD installation, yet when we run it now, AutoCAD complains that it can't load acsign.arx

Does anybody know what this file does? As renaming it to something else makes the application work no problem. I figured it was due to a change/patch within Windows - all the machines are running Windows XP 32 bit complete with Internet Exploder 6.

Here is the (very simple) code that it fails on:

Code: [Select]
Autodesk.AutoCAD.Interop.AcadApplication acapp = new Autodesk.AutoCAD.Interop.AcadApplication();
String line = "C:\\Temp\\test.dwg";
acapp.Visible = true;
AcadDocument doc = acapp.Documents.Open("filename", false,""); // FAILs here.

The error we get in AutoCAD (if the acsign.arx file is not renamed) is:

"Error loading AcSign services"

Thanks in advance.