has not been pre-compiled, and cannot be requested

Thread is closed for posting
8 posts, 0 answers
  1. Esperanza Ramos
    Esperanza Ramos avatar
    104 posts
    Member since:
    Jul 2012

    Posted 22 Sep 2008 Link to this post

    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
  2. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 23 Sep 2008 Link to this post

    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.
  3. Esperanza Ramos
    Esperanza Ramos avatar
    104 posts
    Member since:
    Jul 2012

    Posted 23 Sep 2008 Link to this post

    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

  4. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 23 Sep 2008 Link to this post

    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.
  5. Esperanza Ramos
    Esperanza Ramos avatar
    104 posts
    Member since:
    Jul 2012

    Posted 23 Sep 2008 Link to this post

    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

  6. Esperanza Ramos
    Esperanza Ramos avatar
    104 posts
    Member since:
    Jul 2012

    Posted 23 Sep 2008 Link to this post

    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

  7. Esperanza Ramos
    Esperanza Ramos avatar
    104 posts
    Member since:
    Jul 2012

    Posted 23 Sep 2008 Link to this post

    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
  8. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 23 Sep 2008 Link to this post

    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.
Back to Top