Hello.
I have a problem with an application developed in J# Visual Studio .NET 2005 and AutoCAD MAP 3D 2012. I read that J# is not compatible with the framework 4.0.
Is there any way to run the application with MAP 2010 without migrating my application?
The error is as follows:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.TypeInitializationException: The type initializer for 'java.lang.System' threw an exception. ---> java.lang.UnsatisfiedLinkError: Unable to load DLL 'vjsnativ': No se puede encontrar el módulo especificado. (Exception from HRESULT: 0x8007007E) ---> System.DllNotFoundException: Unable to load DLL 'vjsnativ': No se puede encontrar el módulo especificado. (Exception from HRESULT: 0x8007007E)
at com.ms.vjsharp.VJSlibString.BJLoadResourceDll<PInvokeHelper>vjsnativ(String path, String file, String fallBackFile)
at com.ms.vjsharp.VJSlibString.BJLoadResourceDll(String path, String file, String fallBackFile)
at com.ms.vjsharp.VJSlibString.__loadUIDll()
at com.ms.vjsharp.VJSlibString.getString(Int32 ID)
at java.lang.System..cctor()
--- End of inner exception stack trace ---
at java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown)
at java.lang.System..cctor()
--- End of inner exception stack trace ---
at java.lang.System.getSecurityManager()
at java.lang.Class.getMethods()
at com.vividsolutions.jump.util.java2xml.XMLBinder.setter(Class c, String field) in D:\TRABAJOS\PROY - LOCALGIS 2011\LOCALGIS MAP 2011 VS2005\LocalGIS\LibreriasApoyo\com\vividsolutions\jump\util\java2xml\XMLBinder.java:line 320
at com.vividsolutions.jump.util.java2xml.XML2Java.1.normalTagSpecFound(String xmlName, String javaName, List specChildElements) in D:\TRABAJOS\PROY - LOCALGIS 2011\LOCALGIS MAP 2011 VS2005\LocalGIS\LibreriasApoyo\com\vividsolutions\jump\util\java2xml\XML2Java.java:line 75
at com.vividsolutions.jump.util.java2xml.XML2Java.1.tagSpecFound(String xmlName, String javaName, List specChildElements) in D:\TRABAJOS\PROY - LOCALGIS 2011\LOCALGIS MAP 2011 VS2005\LocalGIS\LibreriasApoyo\com\vividsolutions\jump\util\java2xml\XML2Java.java:line 99
at com.vividsolutions.jump.util.java2xml.XMLBinder.visit(List specElements, SpecVisitor visitor, Class c) in D:\TRABAJOS\PROY - LOCALGIS 2011\LOCALGIS MAP 2011 VS2005\LocalGIS\LibreriasApoyo\com\vividsolutions\jump\util\java2xml\XMLBinder.java:line 277
at com.vividsolutions.jump.util.java2xml.XML2Java.read(XmlElement tag, Object object, List specElements) in D:\TRABAJOS\PROY - LOCALGIS 2011\LOCALGIS MAP 2011 VS2005\LocalGIS\LibreriasApoyo\com\vividsolutions\jump\util\java2xml\XML2Java.java:line 52
at com.vividsolutions.jump.util.java2xml.XML2Java.read(XmlElement tag, Class c) in D:\TRABAJOS\PROY - LOCALGIS 2011\LOCALGIS MAP 2011 VS2005\LocalGIS\LibreriasApoyo\com\vividsolutions\jump\util\java2xml\XML2Java.java:line 198
at com.vividsolutions.jump.util.java2xml.XML2Java.read(XmlTextReader reader, Class c) in D:\TRABAJOS\PROY - LOCALGIS 2011\LOCALGIS MAP 2011 VS2005\LocalGIS\LibreriasApoyo\com\vividsolutions\jump\util\java2xml\XML2Java.java:line 45
at com.vividsolutions.jump.util.java2xml.XML2Java.read(String xml, Class c) in D:\TRABAJOS\PROY - LOCALGIS 2011\LOCALGIS MAP 2011 VS2005\LocalGIS\LibreriasApoyo\com\vividsolutions\jump\util\java2xml\XML2Java.java:line 32
at com.vividsolutions.jump.util.java2xml.ObtenerEsquema..ctor(String Ruta) in D:\TRABAJOS\PROY - LOCALGIS 2011\LOCALGIS MAP 2011 VS2005\LocalGIS\LibreriasApoyo\com\vividsolutions\jump\util\java2xml\ObtenerEsquema.java:line 13
at LocalGIS.FrmPuntoInformacion..ctor(PromptEntityResult ent, Document doc, Editor ed, Boolean readOnly) in D:\TRABAJOS\PROY - LOCALGIS 2011\LOCALGIS MAP 2011 VS2005\LocalGIS\LocalGIS\formularios\FrmPuntoInformacion.cs:line 93
at LocalGIS.AutocadCommand.LocalGisPuntoInformacion() in D:\TRABAJOS\PROY - LOCALGIS 2011\LOCALGIS MAP 2011 VS2005\LocalGIS\LocalGIS\AutocadCommand.cs:line 117
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.PerDocumentCommandClass.Invoke(MethodInfo mi, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()
Hi,
are there some conflicts with release-numbers?
You mention first Map3D 2012, then you ask for Map3D 2010, the directories where you build to have 2011 as year; your VisualStudio release is 2005 (which is designed for Framework 2.0) and you ask for running Framework 3.5 (for AutoCAD 2010) or Framework 4.0 (for AutoCAD 2012) .... my head is spinning now.
For dotNET based develoepment for AutoCAD 2010 the suggested version of VisualStudio is 2008, for AutoCAD 2012 it's VisualStudio 2010. IMHO even if you work in tricky ways to get that running, you will have problems debugging it, so I would prefere to update VS.
Good luck, - alfred -
Hello alfred.neswadba
Sorry for the confusion of versions.
The problem is that I have a Visual Studio 2005 with a project developed in J#. This runs perfectly with previous verions AutoCAD MAP 2012, but with the 2012 version can not run J # project because the framework does not support 4.0.