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

Could not load file or assembly 'Telerik.Charting,

11 Answers 410 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stuart Knight
Top achievements
Rank 1
Stuart Knight asked on 03 Oct 2008, 11:17 AM

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Charting, Version=2.0.4.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 69:         <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 70:         <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 71: <add assembly="Telerik.Charting, Version=2.0.4.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/>Line 72:         <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 73:         <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>


i am using of rad controls 

<

product>

<

controlName>Controls</controlName>

<

radControlName>RadControls</radControlName>

<

firstLetter>C</firstLetter>

<

version>Q2 2008 SP1</version>

<

chmUrl></chmUrl>

<

manualUrl></manualUrl>

<

pdfManualUrl></pdfManualUrl>

</

product>

11 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 03 Oct 2008, 11:27 AM
Hi Stuart,

The error states "Could not load file or assembly 'Telerik.Charting, Version=2.0.4.0", that is there is no such assembly available in the Bin folder or in the machine GAC. The reason is simple - Telerik.Web.UI 2008 Q2 SP2 (the latest release) uses Telerik.Charting version 2.0.5. You can update your web.config file to refer to this version of Telerik.Charting and it will be fine.

Best wishes,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Stuart Knight
Top achievements
Rank 1
answered on 03 Oct 2008, 01:11 PM
do i have to download update version of telerik controls.
Telerik.Web.UI 2008 Q2 SP2  and Telerik.Charting version 2.0.5.
0
Paul
Telerik team
answered on 03 Oct 2008, 01:16 PM
Hi Stuart,

We do recommend you always use the latest versions of the controls if possible. So, in a word - YES.

Best wishes,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Stuart Knight
Top achievements
Rank 1
answered on 03 Oct 2008, 01:23 PM
From where or how i can upgrade my controls?
0
Paul
Telerik team
answered on 03 Oct 2008, 01:33 PM
Hi Stuart,

Please refer to this help article for details on the matter.

Kind regards,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Stuart Knight
Top achievements
Rank 1
answered on 08 Oct 2008, 05:08 PM
Hi Paul,

Thanks for your help.

I have now updated my web.config file to 2.0.5.0, yet I am still getting almost the same Configuration error.  See below.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Charting, Version=2.0.5.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 68: 				<add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 69: 				<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 70: 				<add assembly="Telerik.Charting, Version=2.0.5.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/></assemblies>

I am trying to sort this out for a clients website and Telerik controls don't seem to want to work on the server solution they have provided.

It is working on our local system, but not on the server.

If you've got any more ideas, they would be greatly appreciated.

Thanks
Stuart
0
Ves
Telerik team
answered on 09 Oct 2008, 06:25 AM
Hi Stuart,

As Paul noticed, the error states "Could not load file or assembly 'Telerik.Charting, Version=2.0.5.0", that is there is no such assembly available in the Bin folder or in the machine GAC.

As the solution works locally, I suppose Telerik.Charting is installed in your local system's GAC, but not in the server's GAC. If adding Telerik.Charting to server's GAC is not an option, you can add it to the web site local Bin folder.

Hope this helps.

Sincerely,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Moon
Top achievements
Rank 2
answered on 17 Oct 2008, 07:07 PM
Hi, I'm snooping in on this one because I'm getting the same error with 2.0.5. I have Telerik.web.ui.dll in my bin folder, but not charting.

I do own my own web servers, so I can't think of a reason why I can't load it in my GAC, other than the fact that I dont' know what that is or how to do it. Can you tell me how to put it in my GAC?

Also, I will be having several websites on this serving using the Telerik controls, so it would be nice to have even the telerik.web.ui.dll in one place instead of in every project.

Is that possible? If so, where should I put it and how should I reference it?

I've been on a six month contract using q1 2008 asp.net classic telerik. But now I'm going off this contract and working for my own clients again, so I am on trial with the Q3 ajax version and do intend to purchase it while you're having the special through nov. 5, hopefully, if I can get everything setup and working on my own.

Thanks,
Moon
0
Ves
Telerik team
answered on 20 Oct 2008, 08:12 AM
Hi Moon,

Please, check this help topic, dedicated to adding RadControls to GAC. As for the GAC itself -- you can check these articles:
As for the error -- our records show that you have downloaded RadControls for ASP.NET AJAX Q2 2008, so my answer will be for this version. Please, make sure that Telerik.Charting v2.0.5 is available - either in app's Bin folder or in GAC. You can find Telerik.Charting.dll in bin and in bin35 folder of your Telerik.RadControls installation folder along with Telerik.Web.UI.dll. The files in bin folder target .NET framework versions 2.0 and 3.0 while those in bin35 target .NET 3.5. This is discussed in details here.

For RadControls for ASP.NET AJAX Q3 2008 -- there will be no Telerik.Charting.dll, so you will not have to worry about it. It will be merged in Telerik.Web.UI.dll in the same manner as it is done in RadChart.Net2.dll. You can find more details in this blog post.

Sincerely,
Ves
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Moon
Top achievements
Rank 2
answered on 20 Oct 2008, 08:40 PM
So do I understand correctly that although the latest release is Q3, the download for the free trial is Q2 and there is no free trial for Q3?

thanks.
0
Serrin
Top achievements
Rank 1
answered on 20 Oct 2008, 09:11 PM
Hey Moon,

I don't think Q3 is being released until next month...  We're currently on Q2 still (with whatever SP it is on).  Or at least that's what my trial download page says. :)

Oh, wait, ASP.NET Ajax roadmap is confirming that for us:

Our next major release (Q3 2008) will be available in the first half of November.
Tags
General Discussions
Asked by
Stuart Knight
Top achievements
Rank 1
Answers by
Paul
Telerik team
Stuart Knight
Top achievements
Rank 1
Ves
Telerik team
Moon
Top achievements
Rank 2
Serrin
Top achievements
Rank 1
Share this question
or