in

code for eternity !!!

community website for .net freaks ;-)

Technology

System.Data.DataSetExtensions Assembly Error in Visual Studio 2008 RTM

After upgrading from Visual Studio 2008 Beta 2 to Visual Studio 2008 RTM, I got the following error when I tried to build my ASP.NET 3.5 project which was initially coded using Visual Studio 2008 Beta 2:

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.

This error occurs because with Visual Studio 2008 RTM, a newer version (3.5) of the System.Data.DataSetExtensions assembly is available and the older version (2.0) of the System.Data.DataSetExtensions assembly no longer exists.

To resolve this error, simply change your web.config file from:

<add assembly="System.Data.DataSetExtensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

to:

<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

Cheers,
Raj

~~~ CODING FOR ETERNITY !!! ~~~


I would really appreciate votes / kicks for this blog post if you found it useful ;-)

  kick it on DotNetKicks.com     Receive Email Updates


Comments

 

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

April 7, 2008 7:55 AM
 

gm asp said:

Pingback from  gm asp

April 28, 2008 12:44 AM
 

Kearnsy said:

In your project, find the .dll file from the reference list and in the properties window set 'Copy Local' to true.  This copies the DLL to your application directory so it can run.

August 3, 2008 9:23 PM

Leave a Comment

(required)  
(optional)
(required)  
Add
Powered by Community Server (Non-Commercial Edition), by Telligent Systems