473,385 Members | 1,647 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,385 software developers and data experts.

Do I need to restart IIS after change in global.asax?

Hi,

I have my asp.net apps on a web hotel, and thus I have whatsoever no control
of the IIS on my server.

If I make a change in the global.asax for my application,. what is needed to
get the IIS to make the changes?

TIA

Kenneth P
Nov 19 '05 #1
4 4952
Kenneth P wrote:
If I make a change in the global.asax for my application,. what is needed to
get the IIS to make the changes?

No. ASP.NET will detect the change in global.asax. There is no need to
reset IIS nor restart the application.

Anders Norås
http://dotnetjunkies.com/weblog/anoras/
Nov 19 '05 #2
You don't need to do anything after you make
a change in global.asax.

The Application will restart automatically,
including your new global configurations,
as soon as any page is called in it.


Juan T. Llibre
ASP.NET MVP
===========
"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:FD**********************************@microsof t.com...
Hi,

I have my asp.net apps on a web hotel, and thus I have whatsoever no
control
of the IIS on my server.

If I make a change in the global.asax for my application,. what is needed
to
get the IIS to make the changes?

TIA

Kenneth P

Nov 19 '05 #3
Very good Juan. Thanks. Ken

"Juan T. Llibre" wrote:
You don't need to do anything after you make
a change in global.asax.

The Application will restart automatically,
including your new global configurations,
as soon as any page is called in it.


Juan T. Llibre
ASP.NET MVP
===========
"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:FD**********************************@microsof t.com...
Hi,

I have my asp.net apps on a web hotel, and thus I have whatsoever no
control
of the IIS on my server.

If I make a change in the global.asax for my application,. what is needed
to
get the IIS to make the changes?

TIA

Kenneth P


Nov 19 '05 #4
Tack Anders.

"Anders Norås [MCAD]" wrote:
Kenneth P wrote:
If I make a change in the global.asax for my application,. what is needed to
get the IIS to make the changes?

No. ASP.NET will detect the change in global.asax. There is no need to
reset IIS nor restart the application.

Anders Norås
http://dotnetjunkies.com/weblog/anoras/

Nov 19 '05 #5

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

Similar topics

1
by: noname | last post by:
i have the following in global.asax: <%@ Application Codebehind="Global.asax.cs" Inherits="Foo.Global" Classname="AppClass" %> but wherever i use AppClass.foo() i get the compiler error: The...
2
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET ...
0
by: pmanno | last post by:
If a user has logged in via Forms Authentication and is currently viewing a page that is in a protected directory, then a change is made to Web.config (which causes the application to restart) if...
3
by: ad | last post by:
I want to renew all values of Application and Session. How can I restart application in program?
3
by: John A Grandy | last post by:
In ASP.NET 1.1 and/or 2.0 ..... Is it possible to configure a web-app so that replacement of an .xml file ( physically located under the virtual dir root ) with a newer version of the file...
2
by: Michael Tissington | last post by:
How do I specify the CodeFile for my Global.asax file ? According to the documentation I can use the CodeFile attribute with Application, however when I try to use this I get an error saying that...
1
by: Anonieko | last post by:
Global.asax? Use HttpModules Instead! In a previous post, I talked about HttpHandlers - an underused but incredibly useful feature of ASP.NET. Today I want to talk about HttpModules, which are...
4
by: mark4asp | last post by:
How can I shut down (only one) ASP.NET website on the server. Problem. I have updated my web-site but the site which I see is the old one (the one there prior to the update). I do I force...
1
by: Brian Simmons | last post by:
Hi All, I know that if you modify the web.config file or any file in the App_Code subfolder, that ASP.net 2.0 will "restart" the application (i.e. clear out any sessions, etc...). Are there...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.