I have a windows 2000 server on which I have installed the .NET 2.0
Framework runtime. I have an application I've written using VS 2005. In
it, I use master pages. When I debug this app on my machine, it looks
great. When I run it on the server, it looks like crap - no master page
goodness is being employed. This is the first ASP.NET 2.0 application I've
put on the server. I noticed that there is no ASP.NET tab on the properties
window as there is on never Windows server editions. How can I tell IIS
that this application should be run as ASP.NET 2.0?
Tim 12 1646
I've run into this problem before. You can try running this little utility
to switch the version of ASP.NET for a specific web application: http://www.denisbauer.com/NETTools.aspx
Please be aware that you need seperate AppPools for each version of ASP.NET
that you are running. I've seen this unexpectedly bring down many
applications before.
--
Thanks,
Page Brooks www.explosivedog.com
"Tim Wallace" wrote:
I have a windows 2000 server on which I have installed the .NET 2.0
Framework runtime. I have an application I've written using VS 2005. In
it, I use master pages. When I debug this app on my machine, it looks
great. When I run it on the server, it looks like crap - no master page
goodness is being employed. This is the first ASP.NET 2.0 application I've
put on the server. I noticed that there is no ASP.NET tab on the properties
window as there is on never Windows server editions. How can I tell IIS
that this application should be run as ASP.NET 2.0?
Tim
Alternatively, you can use Aspnet_regiis.e xe which is part of the .NET
framework. See: http://msdn2.microsoft.com/en-us/lib...8h(VS.80).aspx
--
Thanks,
Page Brooks www.explosivedog.com
"Tim Wallace" wrote:
I have a windows 2000 server on which I have installed the .NET 2.0
Framework runtime. I have an application I've written using VS 2005. In
it, I use master pages. When I debug this app on my machine, it looks
great. When I run it on the server, it looks like crap - no master page
goodness is being employed. This is the first ASP.NET 2.0 application I've
put on the server. I noticed that there is no ASP.NET tab on the properties
window as there is on never Windows server editions. How can I tell IIS
that this application should be run as ASP.NET 2.0?
Tim
Page:
Thanks for the response. I already ran aspnet_regiis -i. No joy. I'll
give your app a whirl and see if that helps.
I'm unfamiliar with the separate AppPools issue. Can you give me some
guidance with that, please?
Tim
"Page Brooks" <NO************ **@gmail.comwro te in message
news:A5******** *************** ***********@mic rosoft.com...
I've run into this problem before. You can try running this little
utility
to switch the version of ASP.NET for a specific web application:
http://www.denisbauer.com/NETTools.aspx
Please be aware that you need seperate AppPools for each version of
ASP.NET
that you are running. I've seen this unexpectedly bring down many
applications before.
--
Thanks,
Page Brooks www.explosivedog.com
"Tim Wallace" wrote:
>I have a windows 2000 server on which I have installed the .NET 2.0 Framework runtime. I have an application I've written using VS 2005. In it, I use master pages. When I debug this app on my machine, it looks great. When I run it on the server, it looks like crap - no master page goodness is being employed. This is the first ASP.NET 2.0 application I've put on the server. I noticed that there is no ASP.NET tab on the properties window as there is on never Windows server editions. How can I tell IIS that this application should be run as ASP.NET 2.0?
Tim
Tim,
No problem. Just to make sure, did you run aspnet_regiis -i from the v2.0.x
folder? I've run into situations before where I could not get the ASP.NET
tab to show up in IIS, but ASP.NET would still work correctly.
About the Application Pooling Issue:
IIS can only run one version of ASP.NET at a time in each app pool. So, if
you have existing ASP.NET 1.x applications and you decide to configure a new
ASP.NET 2.0 application under the same App Pool. The ASP.NET 1.x
applications will start throwing exceptions.
Check out this link for more details: http://msdn2.microsoft.com/en-us/lib...1k(VS.71).aspx
Thanks,
Page Brooks www.explosivedog.com
"Tim Wallace" <twallace-ThisDoesNotBelo ng-AT-emailDOTcomwrot e in message
news:OO******** ******@TK2MSFTN GP02.phx.gbl...
Page:
Thanks for the response. I already ran aspnet_regiis -i. No joy. I'll
give your app a whirl and see if that helps.
I'm unfamiliar with the separate AppPools issue. Can you give me some
guidance with that, please?
Tim
"Page Brooks" <NO************ **@gmail.comwro te in message
news:A5******** *************** ***********@mic rosoft.com...
>I've run into this problem before. You can try running this little utility to switch the version of ASP.NET for a specific web application:
http://www.denisbauer.com/NETTools.aspx
Please be aware that you need seperate AppPools for each version of ASP.NET that you are running. I've seen this unexpectedly bring down many applications before. -- Thanks, Page Brooks www.explosivedog.com
"Tim Wallace" wrote:
>>I have a windows 2000 server on which I have installed the .NET 2.0 Framework runtime. I have an application I've written using VS 2005. In it, I use master pages. When I debug this app on my machine, it looks great. When I run it on the server, it looks like crap - no master page goodness is being employed. This is the first ASP.NET 2.0 application I've put on the server. I noticed that there is no ASP.NET tab on the properties window as there is on never Windows server editions. How can I tell IIS that this application should be run as ASP.NET 2.0?
Tim
re:
!I'm unfamiliar with the separate AppPools issue. Can you give me some
!guidance with that, please?
That's only needed if you're running Windows 2003 Server.
In any other OS, you don't need to have separate AppPools for 1.1 and 2.0.
Since you're using Windows 2000, don't worry about that.
Denis Bauer's Version Switcher should allow you to
instruct the application to use the .Net Framework 2.0.
It's use is very intuitive. Try it.
Just install it in your Windows 2000 server and run it.
You'll see what you need to do.
Just select your application and the .Net Framework 2.0...and hit the "Switch .Net Framework"
button.
There's an app image here : http://www.denisbauer.com/NETTools/A...nSwitcher.aspx
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Tim Wallace" <twallace-ThisDoesNotBelo ng-AT-emailDOTcomwrot e in message
news:OO******** ******@TK2MSFTN GP02.phx.gbl...
Page:
Thanks for the response. I already ran aspnet_regiis -i. No joy. I'll give your app a whirl and
see if that helps.
I'm unfamiliar with the separate AppPools issue. Can you give me some guidance with that, please?
Tim
"Page Brooks" <NO************ **@gmail.comwro te in message
news:A5******** *************** ***********@mic rosoft.com...
>I've run into this problem before. You can try running this little utility to switch the version of ASP.NET for a specific web application:
http://www.denisbauer.com/NETTools.aspx
Please be aware that you need seperate AppPools for each version of ASP.NET that you are running. I've seen this unexpectedly bring down many applications before. -- Thanks, Page Brooks www.explosivedog.com
"Tim Wallace" wrote:
>>I have a windows 2000 server on which I have installed the .NET 2.0 Framework runtime. I have an application I've written using VS 2005. In it, I use master pages. When I debug this app on my machine, it looks great. When I run it on the server, it looks like crap - no master page goodness is being employed. This is the first ASP.NET 2.0 application I've put on the server. I noticed that there is no ASP.NET tab on the properties window as there is on never Windows server editions. How can I tell IIS that this application should be run as ASP.NET 2.0?
Tim
Page:
I get an error message as soon as your .NET switcher launches.
Tim
"Page Brooks" <NO************ **@gmail.comwro te in message
news:A5******** *************** ***********@mic rosoft.com...
I've run into this problem before. You can try running this little
utility
to switch the version of ASP.NET for a specific web application:
http://www.denisbauer.com/NETTools.aspx
Please be aware that you need seperate AppPools for each version of
ASP.NET
that you are running. I've seen this unexpectedly bring down many
applications before.
--
Thanks,
Page Brooks www.explosivedog.com
"Tim Wallace" wrote:
>I have a windows 2000 server on which I have installed the .NET 2.0 Framework runtime. I have an application I've written using VS 2005. In it, I use master pages. When I debug this app on my machine, it looks great. When I run it on the server, it looks like crap - no master page goodness is being employed. This is the first ASP.NET 2.0 application I've put on the server. I noticed that there is no ASP.NET tab on the properties window as there is on never Windows server editions. How can I tell IIS that this application should be run as ASP.NET 2.0?
Tim
Tim,
What is the error message you are receiving? I didn't write the application
so I don't know what could be wrong with it. The tool is using Aspnet_regiis
internally so you can always fall back to that if you can't get the switcher
tool to work. I think the -s and -sn command line options for aspnet_regiis
are what you need.
Thanks,
Page Brooks www.explosivedog.com
"Tim Wallace" <twallace-ThisDoesNotBelo ng-AT-emailDOTcomwrot e in message
news:ez******** *****@TK2MSFTNG P06.phx.gbl...
Page:
I get an error message as soon as your .NET switcher launches.
Tim
"Page Brooks" <NO************ **@gmail.comwro te in message
news:A5******** *************** ***********@mic rosoft.com...
>I've run into this problem before. You can try running this little utility to switch the version of ASP.NET for a specific web application:
http://www.denisbauer.com/NETTools.aspx
Please be aware that you need seperate AppPools for each version of ASP.NET that you are running. I've seen this unexpectedly bring down many applications before. -- Thanks, Page Brooks www.explosivedog.com
"Tim Wallace" wrote:
>>I have a windows 2000 server on which I have installed the .NET 2.0 Framework runtime. I have an application I've written using VS 2005. In it, I use master pages. When I debug this app on my machine, it looks great. When I run it on the server, it looks like crap - no master page goodness is being employed. This is the first ASP.NET 2.0 application I've put on the server. I noticed that there is no ASP.NET tab on the properties window as there is on never Windows server editions. How can I tell IIS that this application should be run as ASP.NET 2.0?
Tim
re:
IIS can only run one version of ASP.NET at a time in each app pool.
That's only true for IIS 6.0, which only comes with Windows 2003 Server.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"Page Brooks" <NO************ **@gmail.comwro te in message
news:uR******** ******@TK2MSFTN GP03.phx.gbl...
Tim,
No problem. Just to make sure, did you run aspnet_regiis -i from the v2.0.x folder? I've run
into situations before where I could not get the ASP.NET tab to show up in IIS, but ASP.NET would
still work correctly.
About the Application Pooling Issue:
IIS can only run one version of ASP.NET at a time in each app pool. So, if you have existing
ASP.NET 1.x applications and you decide to configure a new ASP.NET 2.0 application under the same
App Pool. The ASP.NET 1.x applications will start throwing exceptions.
Check out this link for more details: http://msdn2.microsoft.com/en-us/lib...1k(VS.71).aspx
Thanks,
Page Brooks www.explosivedog.com
"Tim Wallace" <twallace-ThisDoesNotBelo ng-AT-emailDOTcomwrot e in message
news:OO******** ******@TK2MSFTN GP02.phx.gbl...
>Page:
Thanks for the response. I already ran aspnet_regiis -i. No joy. I'll give your app a whirl and see if that helps.
I'm unfamiliar with the separate AppPools issue. Can you give me some guidance with that, please?
Tim
"Page Brooks" <NO************ **@gmail.comwro te in message news:A5******* *************** ************@mi crosoft.com...
>>I've run into this problem before. You can try running this little utility to switch the version of ASP.NET for a specific web application:
http://www.denisbauer.com/NETTools.aspx
Please be aware that you need seperate AppPools for each version of ASP.NET that you are running. I've seen this unexpectedly bring down many application s before. -- Thanks, Page Brooks www.explosivedog.com
"Tim Wallace" wrote:
I have a windows 2000 server on which I have installed the .NET 2.0 Framework runtime. I have an application I've written using VS 2005. In it, I use master pages. When I debug this app on my machine, it looks great. When I run it on the server, it looks like crap - no master page goodness is being employed. This is the first ASP.NET 2.0 application I've put on the server. I noticed that there is no ASP.NET tab on the properties window as there is on never Windows server editions. How can I tell IIS that this application should be run as ASP.NET 2.0?
Tim
Page:
It says "ASP.NET Version Switcher has encountered a problem and needs to
close. We are sorry for the inconvenience." It appears to be an
application-defined window, not a stock pop-up.
I'm most concerned that the .NET tab is not being displayed in the
properties window. Also that running aspreg_iis does not do what is
advertised.
Tim
"Page Brooks" <NO************ **@gmail.comwro te in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
Tim,
What is the error message you are receiving? I didn't write the
application so I don't know what could be wrong with it. The tool is using
Aspnet_regiis internally so you can always fall back to that if you can't
get the switcher tool to work. I think the -s and -sn command line
options for aspnet_regiis are what you need.
Thanks,
Page Brooks www.explosivedog.com
"Tim Wallace" <twallace-ThisDoesNotBelo ng-AT-emailDOTcomwrot e in message
news:ez******** *****@TK2MSFTNG P06.phx.gbl...
>Page:
I get an error message as soon as your .NET switcher launches.
Tim
"Page Brooks" <NO************ **@gmail.comwro te in message news:A5******* *************** ************@mi crosoft.com...
>>I've run into this problem before. You can try running this little utility to switch the version of ASP.NET for a specific web application:
http://www.denisbauer.com/NETTools.aspx
Please be aware that you need seperate AppPools for each version of ASP.NET that you are running. I've seen this unexpectedly bring down many application s before. -- Thanks, Page Brooks www.explosivedog.com
"Tim Wallace" wrote:
I have a windows 2000 server on which I have installed the .NET 2.0 Framework runtime. I have an application I've written using VS 2005. In it, I use master pages. When I debug this app on my machine, it looks great. When I run it on the server, it looks like crap - no master page goodness is being employed. This is the first ASP.NET 2.0 application I've put on the server. I noticed that there is no ASP.NET tab on the properties window as there is on never Windows server editions. How can I tell IIS that this application should be run as ASP.NET 2.0?
Tim This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michael Herman \(Parallelspace\) |
last post by:
1. What are some compelling solutions for using Master/Content pages with
Web Pages?
2. If a content area has a web part zone with web parts, what is the user
experience like when "editting" the web part page? Does it take place at
the page level? ...or the content area level?
3. Where is the Web Part Manager instantiated? ...in the Master Page?
....Content Page? ...elsewhere?
|
by: Alan Silver |
last post by:
Hello,
In classic ASP, I used to use two include files on each page, one before
and one after the main content, to provide a consistent layout across a
web site. That way I could just change the include files to change the
layout. When I came to ASP.NET, I used user controls to do a similar
thing.
I have just been looking at master pages, and it looks like they do the
same thing. If so, is there any advantage in using them over the...
|
by: Alan Silver |
last post by:
Hello,
I am just experimenting with master pages, and am trying to add a
content placeholder in the <head> section, so that individual pages can
set their own page title and meta tags. The master page looks like
this...
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
|
by: EagleRed |
last post by:
I am writing an ASP.NET 2.0 application that uses more than one master page.
Currently, there are two pages, Freedom1.master and Freedom2.master. I have
no problems with Freedom1.master. However, I am having problems with
Freedom2.master.
The first problem is I sometimes get the following error when I build the
site.
The type 'Freedom2' exists in both
'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
|
by: otto |
last post by:
Hi, all:
I have a problem with the inclusion of .js files in mu .aspx pages when
using Master Pages. I try to explain it. If I make a web project without
master pages I simply put in the head tag on each page the reference to the
..js file I want to use. Because I want client side includes I make the
reference with <script> tag, for example:
<head runat=server>
<script src="/javascript/test.js" />
</head>
| |
by: news.sbcglobal.net |
last post by:
I hope I can explain this well enough to understand. I have a master page
that is used by almost all of the pages in my site. On the master page is a
table. In one of the cells in this table, I have set the background to
display an image that is located in a directory called "images" which is
just off the root directory. Here's the problem:
Any page that is not located in the root directory (where the master page is
located) cannot...
|
by: xkeops |
last post by:
Thinking of creating a website, most of the pages will have a general
toolbar
menu, a content and a footer.
The content will be the only one who's gonna change but the rest
(header,footer)
will remain the same.
I am interested to know your opinions/suggestions in finding an easy
way of doing it.
In asp one could have something like this:
|
by: Argirop |
last post by:
I have a page Default.aspx. Its first line is the following:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="default.aspx.cs"
Inherits="MyCompany.MyApp.default" Title="Untitled Page" %>
The first line in MasterPage.master is the following:
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="MasterPage.master.cs" Inherits="MyCompany.MyApp.masterpage" %>
|
by: Rich |
last post by:
Hi,
I want to use 2 master pages, one for the main part of the site, the other
for the admin pages.
They are quite similar, with many shared elements.
Ideally I would like to have a parent master page, which both of these child
master pages are based on, and in turn the final pages are based on one of
these child master pages.
|
by: =?Utf-8?B?SmF5IFBvbmR5?= |
last post by:
I am trying to access a Public property on a Master Page from a Base Page.
On the content pages I have the MasterType Directive set up as follows:
<%@ MasterType virtualpath="~/Master.master" %>
On the Master Page I have a public property exposed:
Public Property ErrorMessage() As String
Get
Return txtError.InnerText
End Get
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |