We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Exception from HRESULT: 0x80131040

Thread ID:

Created:

Updated:

Platform:

Replies:

95083 Jun 20,2010 03:06 AM UTC Jul 14,2010 03:39 PM UTC General Discussion 7
loading
Tags: General Discussion
Hyung-Jin Lee
Asked On June 20, 2010 03:06 AM UTC

Hello

I made C# program with VS2005 and Syncfuion v5.202.
Then I removed V5.202 and installed v6.302.0.30.

I did clean and re-build the solution. It was successed.
And I clicked the Window form and I got below error message.


Could not load file or assembly 'Syncfusion.Tools.Windows, Version=5.202.0.25, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


Interesting is that other windows forms are Ok, only MainForm
has problem.

Please, give an advice.

Velusamy Subramaniam [Syncfusion]
Replied On June 21, 2010 12:18 PM UTC

Hi Chin,

Thanks for using our Syncfusion products.

The reported issue may occurs in the following scenarios,

1. Referenced assembly could not found in GAC or local directory.

2. Project Bin folder containing different version of Syncfusion.Core assembly.

Also, make sure that project referencing Syncfusion assemblies properties are CopyLocal-True, Specific Version- False.

Also, remove the hardcoded version references in project file. For that open project file in notepad and remove hard coded versions of Syncfusion assemblies.

Please let me know if this helps you.

Thanks,
Velusamy

Hyung-Jin Lee
Replied On June 22, 2010 01:11 PM UTC

Hi Chin,

Thank you for your advice but I have still same problem.
I hope double check what you mention.

1. Referenced assembly could not found in GAC or local directory
-> 'local directioy' means path of properties ??

2. Project Bin folder containing different version of Syncfusion.Core assembly.
-> 'Bin folder' means 'Solution1\bin\debug' ?

3. remove the hardcoded version references in project file. For that open project file in notepad and remove hard coded versions of Syncfusion assemblies.

-> I open project file in windows with notepad and I searched
'5.202.0.25', but nothing in that file.

Please, check what I did was correct.
Thank you

Velusamy Subramaniam [Syncfusion]
Replied On June 23, 2010 12:57 PM UTC

Hi Chin,

Thanks for the update.

All the steps you have did above is correct.

Seems still V5.2.0.2 assemblies are referring in your project. Could you please ensure that project referencing Syncfusion assemblies properties are CopyLocal=True, Specific Version=False.

Please let me know if this helps you.

Regards,
Velusamy

Hyung-Jin Lee
Replied On July 3, 2010 02:12 AM UTC

Hi Velusamy

I checked everything but I could not find what is wrong.
I am sorry to bother you but please check this.

'Error list' in Visual Studio show message ;

"ResX file Could not load file or assembly 'Syncfusion.Tools.Windows, Version =5.202.0.25, Culture=neutral, PublicKey Token=3d67ed1f87d44c89' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.(Exception from HRESULT:0x80131040) Line 13557, Position 5. cannot be parsed. "

I also checked the properties of assemblies.
And Contrl+F and type "5.202.0.25", It showed noting match...

Chin.

Velusamy Subramaniam [Syncfusion]
Replied On July 5, 2010 09:31 AM UTC

Hi Chin,

Could you please some more information about the issue ?

1) Currently, which Essential Studio Version you are using in your project ?

2) For a sample could you please send the project file to us ?. It would be more helpful to diagnosis the issue properly.

Please let me know if you have any queries.

Thanks,
Velusamy

Hyung-Jin Lee
Replied On July 13, 2010 11:32 AM UTC

Hi Velusamy

I am sorry I hoped I send my sorce code but I can't because of
security issue. The source code is in my company.


I updated V6.302.0.30 and I got error when I open
MainForm. (Other forms are OK.)
No error when I run the program.

I open the project file with word pad and fond that



Please, notices 'PublicKeyToken'.
'PublicKeyToken'of other Syncfusion dll fies except
Syncfusion.core.dll are 3d67ed1f87d44c89.

I think '3d67ed1f87d44c89' is for Version 5.202.0.25,
becuase error massge.

(Could not load file or assembly 'Syncfusion.Tools.Windows,
Version=5.202.0.25, Culture=neutral,
PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies.
The located assembly's manifest definition does not match the
assembly reference. (Exception from HRESULT: 0x80131040))

PublicKeyToken at 'C:\WINDOWS\assembly' is same with the
project file.
I changed the PublicKeyToken at project file with wordpad.
3d67ed1f87d44c89 -> 632609b4d040f6b4.

But I don't know at 'C:\WINDOWS\assembly'.
Has PublicKeyToken something to do with this problem ??



Velusamy Subramaniam [Syncfusion]
Replied On July 14, 2010 03:39 PM UTC

Hi Hyung-Jin.

Thanks for the update.

All the Syncfusion assemblies are signed by one key and Syncfusion.core is signed by different key. So, only Syncfusion.core having the different publicktokenkey.

The issue which you have faced is not related to the publickeytoken.

Please check that in your project the Syncfusion.core referring the 6.3.0.30 version assembly and Sycnfusion.Tools.Windows referring the V5.2.0.25. So, only you have faced the "The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040))"

To resolve this issue. Open the project in the Visual Studio and refer the proper version of the Syncfusion assemblies.

Please let me know if you have any queries.

Thanks,
Velusamy

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;