SMILESRecordReader not found

User 4363319cff

04-12-2014 14:18:18

I am getting the error below when I try to get a molecule after passing in a SMILES string. Is it possible I am not using the correct dlls?


using chemaxon.formats;


using chemaxon.marvin.io.formats.smiles;


Molecule queryMolecule = MolImporter.importMol("CCC");


Cannot create record reader for SMILES: class chemaxon.marvin.io.formats.smiles.SMILESRecordReader not found

ChemAxon abe887c64e

04-12-2014 14:53:19

Hi Julian,


Thank you for your question. Could you, please, specify which ChemAxon product, and which version of it, are you using?


Krisztina

User 4363319cff

04-12-2014 14:58:54

I am using JCHEM BASE 5.11

ChemAxon abe887c64e

05-12-2014 08:14:31

Hi Julian,


Are you using the Java-based JChem Base or our other product: JChem for .NET?


Thank you,


Krisztina

User 4363319cff

05-12-2014 12:40:32

I am using JChem for .NET

ChemAxon e49cf225c6

05-12-2014 15:26:28

Hi,


 


Please, make sure that your installation is correct. You should find a dll under this folder: C:\windows\assembly\GAC_MSIL\ChemAxon.IKVM.MarvinBeans.formats.smiles\


 


If you couldn't find this folder or dll, please try to reinstall the JChem .NET API.


 


Here you can find how to setup a ChemAxon .NET project: http://www.chemaxon.com/dotNET/examples.html

ChemAxon bd13b5bd77

05-12-2014 16:53:05

Hi,


 


I think the simplest to add only 4 dlls ChemAxon.NET, IKVM, Base, Forms.


http://www.chemaxon.com/dotNET/6.3/examples.html


and use our new .NET interface rather than the Java codes under .net.


What is the workflow you would like to run?


 


Reading a SMILES is pretty simple:


var benzeneMolecule = MainFactory.Chemistry.CreateMolecule("C1=CC=CC=C1", MoleculeFormat.Unknown); 


Viktor

User 4363319cff

05-12-2014 16:57:33

Hi,


 


I downloaded the latest libraries and upgraded my database structure table. The code now works.


 


Thanks for looking into this.


 


Julian