Could not load assembly 'Telerik.Charting, verion=1.0.2.0'

7 posts, 0 answers
  1. Jafin
    Jafin avatar
    86 posts
    Member since:
    Nov 2005

    Posted 05 Jun 2007 Link to this post

    This is really weird.

    I am using the latest RadControls and Reporting 1.0 SP1.
    On my dev PC I do not receive the error.
    When I move the files to production I get the error:

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

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Charting, Version=1.0.2.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Charting, Version=1.0.2.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763' could not be loaded.

    === Pre-bind state information ===
    LOG: User = NT AUTHORITY\NETWORK SERVICE
    LOG: DisplayName = Telerik.Charting, Version=1.0.2.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763
    (Fully-specified)
    LOG: Appbase = file:///D:/Inetpub/wwwroot/
    LOG: Initial PrivatePath = D:\Inetpub\wwwroot\bin
    Calling assembly : Telerik.Reporting, Version=1.1.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be.
    ===

    I don't have Telerik.Charting.dll that came with Reporting in my bin folder as it causes duplicate namespace errors with pages that use RadChart.dll


    Any clues as to how to resolve this?  (I've cleared the bin/gac on both machines and mirrored the contents, still no go).

    Thanks,
    Jason

  2. Svetoslav
    Admin
    Svetoslav avatar
    649 posts

    Posted 05 Jun 2007 Link to this post

    Hello Jafin,

    You need to put the Telerik.Charting.dll in the application's Bin folder on the production server. You can get it from C:\Program Files\Common Files\Telerik\Charting\1.0.2 on your machine.
     

    Regards,
    Svetoslav
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft banner
  4. NightFlash
    NightFlash avatar
    50 posts
    Member since:
    Mar 2007

    Posted 20 Jun 2007 Link to this post

    I had the same problem, but indeed when you copy the dll from program files the problem is fixed. Is there any reason why he doesn't add the dll when you add the reference Telerik.Charting? (I'm not that good in references :) )

    I really like the telerik forum, great support!
  5. Hrisi
    Admin
    Hrisi avatar
    221 posts

    Posted 20 Jun 2007 Link to this post

    Hi Rob,

    Try to set Telerik.Charting reference property "Copy Local" to True (you can see that in the attached file). This should copy the file automatically to the app and add a reference in the project when you add the Chart item to the report.

     
    Best wishes,
    Hrisi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. NightFlash
    NightFlash avatar
    50 posts
    Member since:
    Mar 2007

    Posted 20 Jun 2007 Link to this post

    thanks, great support like always!:)
  7. Christopher
    Christopher avatar
    3 posts
    Member since:
    Dec 2008

    Posted 15 Jan 2010 Link to this post

    Hello,

    RE: set copy=local

    Where/how? I cannot find a property editing ability in VS for the dll.

    My local web site in VS 2005 (.NET 2.0) works fine, but on the server gives the config error:

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

    In VS, right click web site > Add Reference > .NET tab, select Telerik.Charting > [OK]

    Do the same thing from the Bin folder.
    The charting dll neverappears in the Bin folder.

    I found the Telerik.Charting.dll and manually added it to the bin folder, uploaded it to the web server. Doesn't fix it.

    Okay, it's in the Bin folder, now how/where do I set copy=local?

    I cannot find an Edit Reference Dialogue box, and http://www.telerik.com/ClientsFiles/055857_CopyLocal.JPG is not what my website looks like in VS.

    I've got a folder structure like this:

    [-] website
     ..[ ] App_Data
     ..[ ] Bin
     ....... Telerik.Charting.dll
     ....... Telerik.Web.UI.dll
     .. [-] Default.aspx
    etc...

    And no way to edit any properties on the charting dll to copy=local!

    If I select the dll, I only have TWO properties available: File name and Full path.

    I cannot set copy=local in the web.config.

    I cannot find any Edit References dialogue anywhere in VS menus.

    How can I tell the server to go ahead and use it?

    Thank you for your help.

  8. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 18 Jan 2010 Link to this post

    Hello Christopher,

    The Telerik.Charting assembly is no longer required by Telerik Reporting product. Please review the Deploying Applications using Telerik Reporting help article for required assemblies and steps when deploying. If your question is about the RadChart for ASP.NET AJAX control, please open a ticket in the correct forum category.

    All the best,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
DevCraft banner