SMS bugged with my own example

4 posts / 0 new
Last post
John62
SMS bugged with my own example
Hello! I just installed newest version ofrom SMS component and it bugs. :-) I am using VS 2008 and Windows 7. When I try and make my own example, it throws : "Could not load file or assembly 'Gurux.Common, Version=5.0.0.1, Culture=neutral, PublicKeyToken=ec2512f4e04f0619' or one of its dependencies. The system cannot find the file specified.":"Gurux.Common, Version=5.0.0.1, Culture=neutral, PublicKeyToken=ec2512f4e04f0619"} When you'll fix this? BR, John
Gurux Ltd
Hi John! First, because you're using Windows 7, a 64 bit operating system, check that you have installed the 64 bit version from Gurux SMS. Or you can change the platform from "Any CPU" (default platform) to x86 in VisualStudio. *** A little more of the importance of the setting: The setting (x64 vs. x86) relates to how the CLR will execute the implemented code. According to it's name, CLR (Common Language Runtime) compiles the IL (Intermediate Language) code on the fly, when requested for the first time, the IL code is assembled (turned into machine code), and cached. This also causes the first access to the application to be slower. If you choose to select x86, the code is expecting the application to run on a x86 processor, and CLR can use assembler functions that are exclusive for x86 processors. When selecting x64, the code expects to be able to use bigger registers, and the new x64 functions to speed up your application. If you choose to go with the default ("Any CPU"), the CLR holds on to the standard set of instructions, and doesn't use any platform specific functions.
SimoneSbit

After installing the program and executing i recive this error:

---------------------------

---------------------------
System.IO.FileLoadException: Could not load file or assembly 'ToolBox, Version=1.0.0.4, Culture=neutral, PublicKeyToken=e93fac3f45fc0644' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

File name: 'ToolBox, Version=1.0.0.4, Culture=neutral, PublicKeyToken=e93fac3f45fc0644'

at GXDeviceEditor.MainForm.UpdateResources()

at GXDeviceEditor.MainForm.DefaultLayoutMnu_Click(Object sender, EventArgs e)

at GXDeviceEditor.MainForm..ctor()

at GXDeviceEditor.MainForm.Main()

=== Pre-bind state information ===

LOG: User = SOGGIORNO\Proprietario

LOG: DisplayName = ToolBox, Version=1.0.0.4, Culture=neutral, PublicKeyToken=e93fac3f45fc0644
(Fully-specified)

LOG: Appbase = file:///C:/Programmi/Gurux/GXDeviceEditor Community Edition/

LOG: Initial PrivatePath = NULL

Calling assembly : GXDeviceEditor, Version=5.1.0.38, Culture=neutral, PublicKeyToken=null.

===

LOG: This bind starts in default load context.

LOG: No application configuration file found.

LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.

LOG: Post-policy reference: ToolBox, Version=1.0.0.4, Culture=neutral, PublicKeyToken=e93fac3f45fc0644

LOG: Attempting download of new URL file:///C:/Programmi/Gurux/GXDeviceEditor Community Edition/ToolBox.DLL.

WRN: Comparing the assembly name resulted in the mismatch: Revision Number

ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.

---------------------------
OK
---------------------------

I have toolbox.dll 1.0.4.0, not 1.0.0.4....... Is this the problem? Where i can find the 1.0.0.4 dll toolbox?

Simone.

Kurumi
Kurumi's picture

Hi,

Thanks for a tip. For some reason GXDevice Editor do not find Toolbox in some cases.
We will fix this as soon as we find the reason.

Best Regards,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi