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

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

4 Answers 511 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Urs
Top achievements
Rank 2
Urs asked on 22 Dec 2008, 02:12 PM

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.

4 Answers, 1 is accepted

Sort by
0
Dimitar Kapitanov
Telerik team
answered on 22 Dec 2008, 03:13 PM
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.
0
Urs
Top achievements
Rank 2
answered on 22 Dec 2008, 05:00 PM
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?

0
Jan Blessenohl
Telerik team
answered on 23 Dec 2008, 04:43 PM
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.
0
Urs
Top achievements
Rank 2
answered on 05 Jan 2009, 07:34 AM

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

Tags
Design Time (Visual Designer & Tools)
Asked by
Urs
Top achievements
Rank 2
Answers by
Dimitar Kapitanov
Telerik team
Urs
Top achievements
Rank 2
Jan Blessenohl
Telerik team
Share this question
or