Problem with JChem, Version=5.2.6.0

User 8170b160d9

30-10-2009 08:37:52

System.IO.FileLoadException was unhandled
  Message="Could not load file or assembly 'JChem, Version=5.2.6.0, Culture=neutral, PublicKeyToken=d25ce09139c726a9' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
  Source="SimpleImport_VS2005"
  FileName="JChem, Version=5.2.6.0, Culture=neutral, PublicKeyToken=d25ce09139c726a9"
  FusionLog="=== Pre-bind state information ===\r\nLOG: User = ANALCHEM\\Administrator\r\nLOG: DisplayName = JChem, Version=5.2.6.0, Culture=neutral, PublicKeyToken=d25ce09139c726a9\n (Fully-specified)\r\nLOG: Appbase = file:///C:/Program Files/ChemAxon/JChem .NET API/Examples/SimpleImport/bin/Debug/\r\nLOG: Initial PrivatePath = NULL\r\nCalling assembly : SimpleImport_VS2005, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.\r\n===\r\nLOG: This bind starts in default load context.\r\nLOG: No application configuration file found.\r\nLOG: Using machine configuration file from C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\config\\machine.config.\r\nLOG: Post-policy reference: JChem, Version=5.2.6.0, Culture=neutral, PublicKeyToken=d25ce09139c726a9\r\nLOG: Attempting download of new URL file:///C:/Program Files/ChemAxon/JChem .NET API/Examples/SimpleImport/bin/Debug/JChem.DLL.\r\nWRN: Comparing the assembly name resulted in the mismatch: Revision Number\r\nERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.\r\n"
  StackTrace:
       at SimpleImport.ImportForm.importBtn_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at SimpleImport.Program.Main() in C:\Program Files\ChemAxon\JChem .NET API\Examples\SimpleImport\Program.cs:line 17
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

ChemAxon 6e93227fcc

30-10-2009 09:08:05

Hi,


I have just checked and it seems there is a problem indeed. The issue is with JChem.dll which has a wrong version 5.2.6.65535 instead of 5.2.6.0.


I will write here when is fixed and when you can download again.


Calin Naghi.

User 8170b160d9

30-10-2009 09:16:14

Thanks!

ChemAxon 6e93227fcc

30-10-2009 16:19:19

Hi,


I have updated the installer (.msi) with the correct one. Please download it again and check.


Calin Naghi.