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

has not been pre-compiled, and cannot be requested

7 Answers 31 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Esperanza Ramos
Top achievements
Rank 1
Esperanza Ramos asked on 22 Sep 2008, 08:40 PM
Hi, Telerik Team:

I got the RadChart runing fine locally, but when I deploy it to my server machine. I got this error message.

I look at my local C: drive:
  Windows/assembly
 there is a Telerik.Charting file.

but  in my server, it does not have this file.
This may be the reason my RadCharts did not work in server.

Please help, how to put the Telerik.Charting assembly in server machine?

thanks.
Stanley

7 Answers, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 23 Sep 2008, 10:04 AM
Hi Stanley Huang,

You can either use the RadControls installer that installs the Telerik.Charting assembly in the GAC, or you can install the dll manually via the gacutil tool (you can find help article how to do that here).

Alternatively, if you cannot or do not wish to install the Telerik.Charting assembly in the GAC on your server, you can reference the dll as a private assembly (from the project /bin folder instead from the GAC) but note that in this case you need to modify all references to the Telerik.Charting assembly (ASPX files, web.config) to reference the local assembly, and not the GAC.


Best wishes,
Manuel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Esperanza Ramos
Top achievements
Rank 1
answered on 23 Sep 2008, 12:26 PM
Hi, Telerik Team:

Thank for you help.

I don't wish to install Telerik.Charing dll into my server's GAC.  I want to
modify my .aspx files and web.config file, so that I can reference the dll as a private assembly (from the project /bin folder instead from the GAC).  Please
offer some detail how to do so.

thanks.

Stanley

0
Giuseppe
Telerik team
answered on 23 Sep 2008, 02:48 PM
Hi Stanley Huang,

We have attached a sample application that uses the Telerik.Charting.dll from the local /bin folder -- note that there is no Telerik.Charting entry in the web.config (if you have one referencing the fully qualified assembly in your project, you should remove it too), also the register directive in the ASPX looks like this instead of referencing the fully qualified assembly version:

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Charting" Assembly="Telerik.Charting" %> 


Hope this helps.


Best wishes,
Manuel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Esperanza Ramos
Top achievements
Rank 1
answered on 23 Sep 2008, 03:13 PM
Hi, Telerik Team:

I followed your suggestions. 

to my .aspx file, I added:

<%

@ Register Assembly="Telerik.Charting" Namespace="Telerik.Charting" TagPrefix="telerik" %>

I removed:
<add assembly="Telerik.Charting, Version=2.0.4.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/>

from my web.config.  But this removal raises compile errors.

Should I remove that from my web.config?

Stanley

0
Esperanza Ramos
Top achievements
Rank 1
answered on 23 Sep 2008, 03:13 PM
Hi, Telerik Team:

I followed your suggestions. 

to my .aspx file, I added:

<%

@ Register Assembly="Telerik.Charting" Namespace="Telerik.Charting" TagPrefix="telerik" %>

I removed:
<add assembly="Telerik.Charting, Version=2.0.4.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/>

from my web.config.  But this removal raises compile errors.

Should I remove that from my web.config?

Stanley

0
Esperanza Ramos
Top achievements
Rank 1
answered on 23 Sep 2008, 04:06 PM
Hi, Telerik Team:

I got those compiling error on Telerik.Charting,
I think it is because there is not Telerik.Charting.dll (or related dll), in
my project /Bin directory

Should I get the dll in my project /Bin, where can I get it?

Thanks so much.

Stanley
0
Giuseppe
Telerik team
answered on 23 Sep 2008, 04:24 PM
Hello Stanley Huang,

Indeed you need to place the Telerik.Charting assembly in your local /bin folder when it is not present in the GAC. You can download the zip that contains DLL and scripts only from your Client.Net account -- it is the archive labeled RadControls_for_ASP.NET_AJAX_2008_2_826_dev_hotfix.zip.

Let us know if your problem persists.


Greetings,
Manuel
the Telerik team

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