Could not load file or assembly 'System.Core, Version=3.5.0.0

5 posts, 0 answers
  1. Urs
    Urs avatar
    15 posts
    Member since:
    Jun 2012

    Posted 22 Dec 2008 Link to this post

    Hi

     

    My Web-Application generates following Error when starting the first page:
    Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies

     

    The Applicaiton was developed under Visual Studio 2005. The development machine has VS2008 installed, but never used it for that project.
    I published copying the files and folders manually to the web server.

     

    Any idea where I can fix this?

     

    Thanks in advance.

  2. Dimitar Kapitanov
    Admin
    Dimitar Kapitanov avatar
    632 posts

    Posted 22 Dec 2008 Link to this post

    Hello Urs,
    You have references to this assembly in a aspx page, project references or a web.config file. When you remove those references everything should be ok.

    Sincerely yours,
    Dimitar Kapitanov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. Urs
    Urs avatar
    15 posts
    Member since:
    Jun 2012

    Posted 22 Dec 2008 Link to this post

    Dear Dimitar
    Thanks for the info.

    If I look at Telerik.Openacess.dll with RedGate's Reflector I see that it depends on Windows.Base 3.0 !?

    Any idea?

  5. Jan Blessenohl
    Admin
    Jan Blessenohl avatar
    707 posts

    Posted 23 Dec 2008 Link to this post

    Hi Urs,
    Yes it is, we need it for our ObservableCollection support.

    Because .NET lazy loads all assemblies you could use OpenAccess nevertheless with .NET 2.0. If you do not have an ObservableCollection in your model we will not touch any .NET 3.0 code.

    To analyse your problem can you provide us with more info?

    Do you have a stacktrace showing the details. Or can you send me your application to test it here?


    Regards,
    Jan Blessenohl
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Urs
    Urs avatar
    15 posts
    Member since:
    Jun 2012

    Posted 05 Jan 2009 Link to this post

    Hello Jan

     

    Thanks for feedback:

    1. System.Core, Version=3.5.0.0: I had a reference to .net 3.5 assembly in web.config. Can't imagine why.

    2. Windows.Base 3.0: Just found that when searching for a solution.

    This Thread is answered for me! Thank you

Back to Top
DevCraft banner