Installing .Net 3.5 creates issue on ASP.Net 2.0 site

I am working on ASP.Net 2.0 and I have a strange problem. Let me first elaborate on my environment. I use

Win XP SP2
Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600)
Microsoft .Net Framework 2.0.50727 SP2
Backend is MySQL (uses CoreLab.MySql.dll)

Now a couple of days ago I had to start working on building a website using a CMS application (Sitefinity 3.6). This requires the installation of .NET Framework 3.5 SP1.

After this installation, my Asp.Net 2.0 site started to behave strangely. Whenever the application tries to do some data operation (for example, the login page tries to validate the user against the database), I get this error:

Method not found: 'Int32 System.Data.Common.DbDataAdapter.Fill (System.Data.DataSet, System.String, System.Data.IDataReader, Int32, Int32)'.

Please let me know if anyone has encountered this problem. And is there a way to fix this problem because now I need to start working on a new set of features for ASP.Net 2.0 website.

Thanks, Gaurav

+2


source to share


1 answer


Installing .net 3.5 SP1 also installs .net 2.0 SP2. There are some things that can be broken in 2.0, including some things related to ngen images, assembly builds , JIT optimizations, and other stuff . Not sure about the specific error you received though ...



Try recompiling your 2.x application on a machine with 2.0SP2 installed if it was compiled on a machine with an earlier version of .net 2.0. And / or reinstall 3.5SP1 to make sure everything is installed correctly.

+1


source







All Articles