Last post Nov 16, 2007 02:36 AM by Ch4d
Nov 14, 2007 03:26 PM|Ch4d|LINK
"Visual Studio .NET has detected that the Web server is running ASP.NET version 1.0. The Web application you are creating or opening can be configured to be compliant with ASP.NET 1.0.
However, the application will not be able to use the new features from ASP.NET 1.1.
What do you want to do?
A. Do not open the application. I will upgrade ASP.NET on the server to the latest version before proceeding. (Recommended)
B. Make the application compliant with ASP.NET version 1.0."
I get this error whenever I try to make a new ASP.NET Web Application Project.
I've checked my IIS and first noticed that it wasn't running because I'm running Apache 2.2.4 on the same port (80) so I changed the port on IIS to run on port 81. I then noticed that ASP.NET wasn't even set to a version so I set it to 1.1.4322.
So when I choose "Make the application compliant with ASP.NET version 1.0." I get this error:
"The default Web access mode for this project is set to file share, but the project folder at 'http://localhost/Chapter2' cannot be opened with the path 'c:\inetpub\wwwroot\Chapter2'. The error returned was:
Unable to create Web project 'Chapter2'. The file patch 'c:\inetpub\wwwroot\Chapter2' does not correspond to the URL 'http://localhost/Chapter2'. The two need to map to the same server location.
HTTP Error 404: Not Found
What would you like to do?
A. Retry using a different file share path
B. Try to open the project with FrontPage Server Extensions"
When I choose the A option I get the ASP.NET Version Mismatch error again.
It's just one big loop. If anyone has had this problem and figured it out please help me. I haven't been able to even start because of this stupid program. If I could do this work in Dreamweaver and run it on my apache I'd be fine.....
Nov 15, 2007 11:03 PM|Benson Yu - MSFT|LINK
Since the website’s port number was set to "81", you should add the port number in the project location. For example, when you create a new web project “WebApplication1”, the location in “New Project” dialog should be:
In addition, you probably need to check the website’s asp.net version:
1. Open IIS manager.
2. Right click the Default Web Site, and then select “Properties”.
3. Click the “Configuration” button in the “Home Directory” tab.
4. Ensure the .aspx extension is mapping to C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll
Otherwise you should install .net framework 1.1 mapping to IIS. This can be done by running the following command:
For more information about this issue, please refer to the following link:
Troubleshoot "Visual Studio .NET has detected Web server is not running ASP.NET 1.1"
Nov 16, 2007 02:36 AM|Ch4d|LINK
Thanks, I figured it out. Under the Default Web Site Properties dialog in the Web Site tab my "IP Address:" was set to 192.168.0.2. When I changed it to (All Unassigned) it worked.