I got the exception shown below when I opened an application that was developed under VS 2008:
ASP.NET runtime error: Could not load file or assembly ‘System.Data.DataSetExtensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089′ or one of its dependencies. The system cannot find the file specified
What’s happened is there is no more an assembly System.Data.DataSetExtensions with version number 2.0. There is a new version for the same assembly name under 3.5.0.0.
To resolve the problem, simply right-click on the web application, properties, then remove the reference to the 2.0.0.0 assembly.
Then, right-click on the web application solution, Add Reference, locate the System.Data.DataSetExtensions and add a reference to it. You may also need to update the entry web / app.config file under the <assemblies> tag. Update the version to 3.5.0.0
21 December, 2007 at 9:25 pm |
This error also will ocurr if you have installed .NET 3.5 prereleased version that ships with System.Data.DataSetExtensions 2.0
If that’s the case, you need to update your .NET 3.5 framework.
27 December, 2007 at 11:24 pm |
Thanks a lot. I was getting frustrated with this error until I found your blog.
19 January, 2008 at 9:56 am |
[...] System.Data.DataSetExtensions Config Error in Visual Studio 2008 RTM Posted in January 19th, 2008 by Jimbob in .NET http://cgaskell.wordpress.com/2007/12/03/systemdatadatasetextensions-config-error-in-visual-studio-2... [...]
7 February, 2008 at 1:15 am |
Had this problem as well. Thanks for the info.
7 March, 2008 at 4:03 am |
Thank you! this worked!
9 April, 2008 at 6:49 pm |
Thanks!
I don’t get though how it happened – I created the app in 3.5, when i reopened it, got this error.
11 April, 2008 at 1:34 pm |
Thanks for the tip.
17 April, 2008 at 9:49 pm |
Great tip man. Saved me some noticeable bug hunting!
13 July, 2008 at 10:57 pm |
Question related to this subject…
I’ve been looking all over the place for a solution that will help me load a DataSet with LINQ. I’m using link to pull data from a database. It works great when I’m returning sets based on the table objects LINQ creates, but when I want to return a more custom set of columns from a couple tables via a link, I can’t for the life of me figure out how to convert that query to a DataSet or DataTable or some type of List.
All I’ve found is that I probably need “using System.Data.DataSetExtensions;”, but I can’t even seem to figure out what benefit that’s giving me. What am I using that will need that??
23 February, 2009 at 1:39 am |
look to install framework 3.5 fine install if not reeinstall aplication framework
12 March, 2009 at 6:09 am |
System.Data.DataSetExtensions 3.5.0.0 but still the same problem “Error 1 Could not load file or assembly ‘vjslib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified. C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\ajaxtoolkit\TemplateVSI\TemplateVSI.csproj 66 5 TemplateVSI
please give me a solution
29 April, 2009 at 9:11 am |
The problem comes when you then need to create an application that will work in Windows 2000 that can only work with .NET 2.0 I have set the Framework to 2.0 but, when I come to build the project (VB.NET Express) It tells me that the DataSetExtension and LINQ files V2.0 are missing – I can’t use the 3.5 versions can I as these are not compatible with Win2k… or are they?… who knows???
22 October, 2009 at 12:30 am |
Great! I had the same problem. I know its an old version.
10 November, 2009 at 10:51 am |
you saved a ton of time for me Thank you