473,382 Members | 1,389 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

IIS 6.0 ASP.NET 2.0 apps migrated to IIS 7 == "This web site is using .NET 1.1"

I've migrated my development workstation from 32-bit Windows Server 2003 to
Windows Vista Ultimate x64. I added my .NET web applications under
development to IIS. I configured the apps to use a custom App Pool based on
the Classic AppPool which is based on .NET 2.0.

Now every time I open them in Visual Studio 2005, I get this message:

-------------------------------------
The site 'http://localhost/[MyWeb]' is currently configured for use with
ASP.NET 1.1.4322.2032. Microsoft Visual Studio has been designed for use
with ASP.NET 2.0; if not configured some features may make incorrect
assumptions, and pages designed with the tool may not render correctly.

Would you like the site to be configured for use with ASP.NET 2.0?
-------------------------------------

I don't know why it says this since the web site is not an ASP.NET 1.1 app.
Regardless, if if I choose 'Yes', the messages come back again whenever I
start up Visual Studio.

How do I fix this?

Thanks,
Jon
Jun 21 '07 #1
3 3675
On Jun 21, 4:17 pm, "Jon Davis" <j...@REMOVE.ME.PLEASE.jondavis.net>
wrote:
I've migrated my development workstation from 32-bit Windows Server 2003 to
Windows Vista Ultimate x64. I added my .NET web applications under
development to IIS. I configured the apps to use a custom App Pool based on
the Classic AppPool which is based on .NET 2.0.

Now every time I open them in Visual Studio 2005, I get this message:

-------------------------------------
The site 'http://localhost/[MyWeb]' is currently configured for use with
ASP.NET 1.1.4322.2032. Microsoft Visual Studio has been designed for use
with ASP.NET 2.0; if not configured some features may make incorrect
assumptions, and pages designed with the tool may not render correctly.

Would you like the site to be configured for use with ASP.NET 2.0?
-------------------------------------

I don't know why it says this since the web site is not an ASP.NET 1.1 app.
Regardless, if if I choose 'Yes', the messages come back again whenever I
start up Visual Studio.

How do I fix this?

Thanks,
Jon
Did you check that the asp.net versioin is set to 2.0?

Open IIS.
Open the default web sites section
Click on your website
Click Properties:
Go to ASP.NET
Make sure it is set to asp.net 2.0 vs 1.1

Jun 21 '07 #2

"lee whitbeck" <le*********@hotmail.comwrote in message
news:11**********************@o61g2000hsh.googlegr oups.com...
On Jun 21, 4:17 pm, "Jon Davis" <j...@REMOVE.ME.PLEASE.jondavis.net>
wrote:
>I've migrated my development workstation from 32-bit Windows Server 2003
to
Windows Vista Ultimate x64. I added my .NET web applications under
development to IIS. I configured the apps to use a custom App Pool based
on
the Classic AppPool which is based on .NET 2.0.

Now every time I open them in Visual Studio 2005, I get this message:

-------------------------------------
The site 'http://localhost/[MyWeb]' is currently configured for use with
ASP.NET 1.1.4322.2032. Microsoft Visual Studio has been designed for use
with ASP.NET 2.0; if not configured some features may make incorrect
assumptions, and pages designed with the tool may not render correctly.

Would you like the site to be configured for use with ASP.NET 2.0?
-------------------------------------

I don't know why it says this since the web site is not an ASP.NET 1.1
app.
Regardless, if if I choose 'Yes', the messages come back again whenever I
start up Visual Studio.

How do I fix this?

Thanks,
Jon

Did you check that the asp.net versioin is set to 2.0?

Open IIS.
Open the default web sites section
Click on your website
Click Properties:
Go to ASP.NET
Make sure it is set to asp.net 2.0 vs 1.1
This is IIS 7 so it doesn't configure that way. As I said, I set it up to
use Classic App Pool (which runs on .NET v2.0).

Jon
Jun 21 '07 #3

"Jon Davis" <jo*@REMOVE.ME.PLEASE.jondavis.netwrote in message
news:uq*************@TK2MSFTNGP03.phx.gbl...
I've migrated my development workstation from 32-bit Windows Server 2003
to Windows Vista Ultimate x64. I added my .NET web applications under
development to IIS. I configured the apps to use a custom App Pool based
on the Classic AppPool which is based on .NET 2.0.

Now every time I open them in Visual Studio 2005, I get this message:

-------------------------------------
The site 'http://localhost/[MyWeb]' is currently configured for use with
ASP.NET 1.1.4322.2032. Microsoft Visual Studio has been designed for use
with ASP.NET 2.0; if not configured some features may make incorrect
assumptions, and pages designed with the tool may not render correctly.

Would you like the site to be configured for use with ASP.NET 2.0?
-------------------------------------

I don't know why it says this since the web site is not an ASP.NET 1.1
app. Regardless, if if I choose 'Yes', the messages come back again
whenever I start up Visual Studio.

How do I fix this?

Thanks,
Jon
Ah, I see what I did. I installed .NET v1.1 manually (after installing
Vista, which installs .NET v2). I don't remember if I installed v1.1 before
or after I set up my web sites, but regardless, I fixed the problem by
executing "aspnet_regiis.exe /u" and then "aspnet_regiis.exe /i" under the
v2 framework directory, then restored the app pool from ASP.NET 2.0 back to
my Classic App Pool subset.

Jon
Jun 21 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: mirnazim | last post by:
Hi, There are great Python Web Application Framework. But most of them are meant for content oriented web apps. Is there something that can ease the development of application that are not...
0
by: Eddie B. | last post by:
Hey all- I am looking for resources on how to use tablestyles with n-tier apps. I am not using the wizards becuse they not not work well for n-tier apps. I want to apply different tablestyles to...
7
by: Willem van Rumpt | last post by:
Hi all, coming from an unmanaged programming background, I took my time to sort out the IDisposable and finalizer patterns. Just when I thought I had it all conceptually neatly arranged, the...
5
by: charliewest | last post by:
I've implemented the USING statement to ensure that my newly created sql connection closes when my method is finished using it. The USING statement is wrapped in try/catch error handling statement....
3
by: DotNetJunkies User | last post by:
I am getting the "This type of page is not served." error the first time I access our asp.net site after an application restart. The second and every other time it works fine. This application has...
25
by: mad NAT'er | last post by:
Can any one give me a few examples of commercially available apps written in C#?
1
by: David Stone | last post by:
After the numerous exchanges over using CSS to create pixel-specific layouts, a set of User Friendly cartoons seemed like a welcome diversion! The series of three cartoons starts here: ...
2
by: jtbjurstrom | last post by:
I'm new to WCF as well as services and am having trouble running the WCF samples. We've chosen to pursue the WCF model to communicate from a client WinForm GUI to a service running within a LAN. We...
4
by: Mike Gleason jr Couturier | last post by:
Hi, What's a clean way to redirect users on an information page while doing site maintenance... Can we do it with urlMappings !? (wildcard "*"?) Thanks
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.