User 82b20b535e
19-08-2015 13:28:31
Hi,
I have packaged the ChemAxon Dlls and create a setup to be installed on a test server which I do not have access. I have Chem Axon version 15.6.2200
Chem Axon is throwing an error as outlined below. Test server does not have a ChenmAxon installation and all the DLLS required are copied to the bin folder of the application.
What are the DLLS required in order to connect to the database using ChemAxon
MainFactory.Database.OpenJChem(connection);
The type initializer for 'ChemAxon.NET.IKVM.DB.Entities.AbstractDatabaseHandler' threw an exception.
System.TypeInitializationException: The type initializer for 'ChemAxon.NET.IKVM.DB.Entities.AbstractDatabaseHandler' threw an exception. ---> java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver
at Java_java_lang_Class.forName0(String name, Boolean initialize, ClassLoader loader)
at java.lang.Class.forName(String className, CallerID )
at java.lang.Class.forName(String className)
at ChemAxon.NET.IKVM.DB.Driver.DriverManager.???
?????(Object )
at ChemAxon.NET.IKVM.DB.Driver.DriverManager.Load(DatabaseDriver driver)
at ChemAxon.NET.IKVM.DB.Entities.AbstractDatabaseHandler.???
??????(DatabaseDriver driver)
at ChemAxon.NET.IKVM.DB.Entities.AbstractDatabaseHandler.LoadJDBCDrivers()
at ChemAxon.NET.IKVM.DB.Entities.AbstractDatabaseHandler.???
??????()
at ChemAxon.NET.IKVM.DB.Entities.AbstractDatabaseHandler..cctor()
--- End of inner exception stack trace ---
at ChemAxon.NET.IKVM.DB.Entities.AbstractDatabaseHandler..ctor(IDatabaseURLConverter databaseURLConverter)
at ChemAxon.NET.IKVM.DB.Entities.JChemDatabaseHandler..ctor(IDatabaseURLConverter databaseURLConverter)
at ChemAxon.NET.API.DB.DBHandlerFactory.OpenJChem(IDatabaseURLConverter connection)
at ASPStructure.PanacheDatabase..ctor(ConnectionData connectioninfo)
at ASPStructure.PanacheStructure.GetStructure(ConnectionData connectioninfo, String primarykey, PASSEDKEY keypassed)