473,545 Members | 1,310 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3686
On Jun 21, 4:17 pm, "Jon Davis" <j...@REMOVE.ME .PLEASE.jondavi s.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*********@ho tmail.comwrote in message
news:11******** **************@ o61g2000hsh.goo glegroups.com.. .
On Jun 21, 4:17 pm, "Jon Davis" <j...@REMOVE.ME .PLEASE.jondavi s.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******** *****@TK2MSFTNG P03.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
2670
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 content oriented(I call them "NON CONTENT-ORIENTED WEB APPLICATIONS" because I don't know what else to call them). I mean the applications like,...
0
930
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 the same grid depending on the table being used as the datasource. Can anyone point me in the right direction? Thanks, Eddie
7
2999
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 "Close()" methods reared their ugly (at least it would seem...)heads. I was happily delving away in the .NET framework, investigating the stream...
5
8731
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. This works fine. When i try to implement the "SqlTransation" class, the code does not work as the SqlTransation object is out-of-scope in the...
3
4965
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 been working for months and recently started this behaviour and we can't figure out why. Can onyone point me in the right direction? --- Posted...
25
2407
by: mad NAT'er | last post by:
Can any one give me a few examples of commercially available apps written in C#?
1
1239
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: http://ars.userfriendly.org/cartoons/?id=20060720 Enjoy!
2
16712
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 plan on using the TCP protocol for communication. I've been trying to run the Basic WCF sample and have been getting the error: "This...
4
3352
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
0
7457
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7802
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7410
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7746
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5320
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3438
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1869
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1010
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.