ASP.NET brand new and untouched project crashes - stupid error

G

Guest

Hi, there, smart guys!

I have an AMD 64 3000+ based system, with Windows XP Professional on it; I
recently installed Visual Studio 2003 Enterprise Architect; I created a new
C# ASP.NET Web Application project (with only the default blank page) and
immediately tried to start the project - it does not work, showing me the
following stupid error:

Server Error in '/WebApplication1' Application
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: The format of the file 'System.Data,
Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is
invalid.

Source Error:

Line 2: <configuration>
Line 3: <system.web>
Line 4: <compilation defaultLanguage="c#" debug="true"/>
Line 5: <customErrors mode="RemoteOnly"/>
Line 6: <authentication mode="Windows" />

Source File: c:\inetpub\wwwroot\WebApplication1\web.config Line: 4
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.40607.85; ASP.NET
Version:2.0.40607.85


What could be the problem??? I'm really desperate about this... I looked for
an answer every where on the Internet but still nothing!

Could anyone help me?
Thanks in advance and sorry for my poor English.
 
J

Juan T. Llibre

You should upgrade to VS.NET Beta 2 ASAP.

You are using Beta 1 of the .Net Framework to
run a project created for the Net Framework 1.1.

If you used Visual Studio 2003 to create your project, and are
using .Net Framework Beta 1 ( 2.0.40607.85 ) to try to run
your project, it's no wonder you're getting load failures.

Alternately, you could set your project's
Application to run with the .Net Framework 1.1

That should make your project run,
but it will only run on the .Net Framework 1.1.

Get a copy of Denis Bauer's free ASP.NET Version switcher,
and change your project's virtual directory to .Net Framework 1.1 :

http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx
 
G

Guest

Thanks a lot, Juan!!

Indeed I recently installed .NET Framework 2.0 Beta 1 and VS 2005 Beta 1 and
after two days unistalled it! And it seems that the uninstall was not quite
complete (I don't know why), thus my ASP.NET server still trying to run on
..NET fx 2.0.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top