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

Modified Web.config do I need to restart IIS?

2
Hi,

I have modified my Web.config file. Will I have to restart IIS inorder for the changes to take effect?

Thank you,
Jun 4 '07 #1
4 33459
Plater
7,872 Expert 4TB
Mmmmmm if you uploaded the new web.config file you will probably have to restart that individual webservice. Under the IIS management you can start and stop individual webservices.
However, if you don't care, you can restart the whole iis service.

ALSO:
If you upload a file called app_offline.htm (has to be at least 1024 bytes i believe) the IIS service will imedialty shutdown/unload the webservice for the directory where you uploaded the file. Make changes to your web.config. Then you can juse remove the app_offline.htm file and the next call to your webpage will start the service back up with your changes
Jun 4 '07 #2
Frinavale
9,735 Expert Mod 8TB
I've never had to restart my IIS after editing my web.config.
It wouldn't hurt though.
Jun 4 '07 #3
brigap
2
Thank you very much for your quick replies.

I had tested my changes without restarting the webservice, but I had restarted my browser and my changes were successful. I am unsure if my browser was running and I did a refresh of the page if my changes would have taken effect. In order to ensure all users are affected by the change I will have the webservice restarted.

Once again, thank you very much for your help.
Jun 4 '07 #4
nateraaaa
663 Expert 512MB
I use the Web.Config to assign specific permissions to users based on an employee id. The great part of using the Web.Config for this is if I need to add or remove an employee id I do not have to recompile the dll for the change to work on my production servers. Just save the change to the Web.Config and refresh your web page. The change should now be in production.

Nathan
Jun 4 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: oozzzii | last post by:
It seems that PEAR Config can help with the following but since is my first time using this class I'd like to see suggestions on this aproach. Need to store information on 20+ apps that users...
7
by: ffmelo | last post by:
I need something like java.util.Properties class... I want to store properties in a text file and to get at runtime. Example in java: text file ------ propertieName1=propertieValue1...
1
by: Richard K Bethell | last post by:
In order to beat a whole bunch of ViewState corrupt errors, we made a change to the machine.config file, so that two servers in a cluster have the same key for the view state. I've noticed that...
3
by: deja | last post by:
Hi, In IIS6, is there a way to reset an individual web application rather than the whole IIS? Does that happen when you change something in Web.config and save it? Thanks, Chumma Dede
10
by: Ron Weldy | last post by:
I am working on a website that someone else has set up. They have a web.config file with a customerrors element that points the error handling to a special aspx page. <customErrors...
1
by: strout | last post by:
Do we need to manually restart the application for the new settings to take into effect? If not. What happen to the current user who is current hook on the application? The new setting applies...
7
by: mustafac | last post by:
Hi, i am newbie to iis. I have an application which uses class libraries hosted on iis 5.1. Now, while my application running if i change any dlls and copy them to server's relevant virtual...
0
by: Gary McGill | last post by:
Hi, I have a setup project; one of the files that gets installed is a .config file. If a user modifies the .config file and then un-installs my app, I'd like the .config file to NOT get deleted...
4
by: arkgroup | last post by:
I have "MyApp.EXE.config". The file is in my EXE's directory, This directory is my deploy directory and it different then my development directory. I read value and display on the form for...
2
by: Christian Muggli | last post by:
can someone explain me how to create a app.config file during runtime? i see two ways: - add a skeleton of an app.config file to the exe/dll and extract it during runtime as a resource and...
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...
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...
0
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,...
0
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,...
0
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...
0
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...

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.