This is a migrated thread and some comments may be shown as answers.

Charting .dll error

3 Answers 114 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Philip Senechal
Top achievements
Rank 1
Philip Senechal asked on 28 Jul 2008, 11:05 PM
I'm back to an error after upgrading to the new version of RadControls and I can't seem to figure out where the problem is. Right now I've stripped down everything so the only thing I have in the web.config is the assembly tag:

<add assembly="Telerik.Charting, Version=2.0.2.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/> 

and the path tag:

<add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" /> 

I don't have any chart controls on my page and I get the following error on the web.config file

Could not load file or assembly 'Telerik.Charting, Version=2.0.2.0, Culture=neutralPublicKeyToken=d14f3dcc8e3e8763' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 

I checked my GAC and there are no Telerik controls listed, however, I do have the charting assembly listed in my C:\Windows\assembly directory and it's the current version. I tried to access the site from a computer that has never had Telerik installed on it and got the same error, so it's not client specific. I checked the web server and there is nothing listed in the GAC or the assembly directory for Telerik charting.

I'm at a loss of what else to check. The production server is still using 2007.3 and it works fine. Can you help? Thanks.

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 29 Jul 2008, 08:25 AM
Hi Philip,

I am a bit unsure about your question -- is the Telerik.Charting assembly present in the GAC? Unless you have manually changed it, the default GAC location is C:\Windows\assembly. Generally, Telerik.Web.UI.dll refers to Telerik.Charting.dll, so you need to put Telerik.Charting.dll either in GAC or in the local \Bin folder of your web site.
Please, find this issue discussed in details in this forum thread.

Greetings,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Philip Senechal
Top achievements
Rank 1
answered on 29 Jul 2008, 03:31 PM
I'm not horribly concerned about my development PC, it's the production web server that is having the problem. Unlike most of the people posting in that thread, I actually want to use the charting features, so I have the Telerik.Charting dll file in the bin folder of my website along with the Telerik.Web.UI. I have referenced Telerik charting in both the page with the chart and in the web.config per my previous post. When I deploy everything out to the web server, I get the error I listed in my previous post. I have checked and the versions are correct. I even re-copied the .dll files from the latest download into the bin folder and I still get that error.

What are the steps I need to take to run charting on my production server? I've copied both .dll files to the bin directory on my production server. I've made the entries in the web.config file, and I have a register prefix line in my actual file...versions and public keys all match between everything. Is there something I'm missing? Thanks.
0
Ves
Telerik team
answered on 30 Jul 2008, 07:11 AM
Hello Philip,

According the error message (The located assembly's manifest definition does not match the assembly reference) there is an assembly Telerik.Charting.dll but it does not match the given manifest. Do you use Telerik.Web.UI.dll v 2008.2.723.x (i.e. the latest)? If that is the case, then you will need to use Telerik.Charting.dll v 2.0.3, which is probably located in your /Bin folder, so you will only need to update the web.config reference.

If this still does not solve the issue, can you please provide detailed information about the versions of Telerik.Web.UI.dll and Telerik.Charting.dll used? Thanks.

Kind regards,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Chart (Obsolete)
Asked by
Philip Senechal
Top achievements
Rank 1
Answers by
Ves
Telerik team
Philip Senechal
Top achievements
Rank 1
Share this question
or