I thought I could RDP to the web server, open the web.config, make the
change, and save it.
But this causes IIS to hang, and it never recovers - I have to create
a new website in IIS!
Should I be copying the existing web.config, changing it, and then
copying the new version over the old version?
Any help appreciated, it is driving me nuts! 5 2022
If you change web.config, IIS should recognise a change has occurred and
restart, loading the new values. I always issue an iisreset after I change
web.config - perhasp that will help you solve your issue.
Regards
John Timney (MVP) http://www.johntimney.com http://www.johntimney.com/blog
"Andy" <se*******@gmail.comwrote in message
news:11**********************@o11g2000prd.googlegr oups.com...
>I thought I could RDP to the web server, open the web.config, make the
change, and save it.
But this causes IIS to hang, and it never recovers - I have to create
a new website in IIS!
Should I be copying the existing web.config, changing it, and then
copying the new version over the old version?
Any help appreciated, it is driving me nuts!
On 12 Jun, 09:33, "John Timney \(MVP\)" <x_j...@timney.eclipse.co.uk>
wrote:
If you change web.config, IIS should recognise a change has occurred and
restart, loading the new values. I always issue an iisreset after I change
web.config - perhasp that will help you solve your issue.
Regards
John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog
How does an IIS Reset compare with a full restart of IIS? Does it do
anything differently?
"Andy" <servie...@gmail.comwrote in message
news:11**********************@o11g2000prd.googlegr oups.com...
I thought I could RDP to the web server, open the web.config, make the
change, and save it.
But this causes IIS to hang, and it never recovers - I have to create
a new website in IIS!
Should I be copying the existing web.config, changing it, and then
copying the new version over the old version?
Any help appreciated, it is driving me nuts!
re:
!How does an IIS Reset compare with a full restart of IIS?
Running iisreset.exe from the command-line (IIS reset) executes a full stop/restart of IIS. http://www.microsoft.com/technet/pro....mspx?mfr=true
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/
======================================
"Andy" <se*******@gmail.comwrote in message
news:11**********************@i38g2000prf.googlegr oups.com...
On 12 Jun, 09:33, "John Timney \(MVP\)" <x_j...@timney.eclipse.co.uk>
wrote:
>If you change web.config, IIS should recognise a change has occurred and restart, loading the new values. I always issue an iisreset after I change web.config - perhasp that will help you solve your issue.
Regards
John Timney (MVP)http://www.johntimney.comhttp://www.johntimney.com/blog
How does an IIS Reset compare with a full restart of IIS? Does it do
anything differently?
>"Andy" <servie...@gmail.comwrote in message
news:11**********************@o11g2000prd.googleg roups.com...
>I thought I could RDP to the web server, open the web.config, make the
change, and save it.
But this causes IIS to hang, and it never recovers - I have to create
a new website in IIS!
Should I be copying the existing web.config, changing it, and then
copying the new version over the old version?
Any help appreciated, it is driving me nuts!
"Andy" <se*******@gmail.comwrote in message
news:11**********************@o11g2000prd.googlegr oups.com...
>I thought I could RDP to the web server, open the web.config, make the
change, and save it.
But this causes IIS to hang, and it never recovers - I have to create
a new website in IIS!
Should I be copying the existing web.config, changing it, and then
copying the new version over the old version?
Any help appreciated, it is driving me nuts!
If IIS hangs after a web.config change, something is wrong. IIS should not
hang, but instead it should signal a JIT recompile the next time someone
accesses a page for that application/application pool.
HTH,
Mythran
Andy wrote:
I thought I could RDP to the web server, open the web.config, make the
change, and save it.
Waht did you use to edit the file? Notepad works fine, but if you use an
editor that lockes the file while editing, this might possible mess up IIS.
But this causes IIS to hang, and it never recovers - I have to create
a new website in IIS!
Was it IIS or the web site that did hang?
Should I be copying the existing web.config, changing it, and then
copying the new version over the old version?
That would solve the problem if it is the editor that is causing it.
--
Göran Andersson
_____ http://www.guffa.com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Gord |
last post by:
Hello,
If you set the flag for an overwrite prompt using the 'Save' common dialog,
how do you read the response when the user clicks the Yes or No in the
'overwrite' message box?
Everything...
|
by: Florian Loitsch |
last post by:
I'm currently writing a JS->Scheme compiler (which, using Bigloo,
automatically yields a JS->C, JS->JVM, JS->.NET compiler), and have a
question concerning the function-parameters:
According to...
|
by: deko |
last post by:
Is there a way to set a custom property on Access tables and/or queries to
prevent them from being overwritten by import wizards? Any Access database
can be easily destroyed if a user mistakenly...
|
by: phobos7 |
last post by:
I am trying to create a single .EXE that will upgrade a product by the
doing the following:
1) Detect the location of the current installation (DONE)
2) Upgrade the existing config file (DONE)...
|
by: Robert |
last post by:
I have what I think should be a pretty common scenario in a corporate
environment. I have a web app and three environments on three servers:
Development, QA and Production.
We develop in...
|
by: B-Dog |
last post by:
Is there a way to make vb.net to overwrite the file when moving? Here is
what I'm trying to do:
If System.IO.File.Exists(dest) Then
'handle overwrite here
If MessageBox.Show("Do you want...
|
by: mmitchell |
last post by:
I have a VB.Net 2005 solution that uses an installer project to
install.
When I do an install I would like the app.config/application config
file to be installed only when there isn't one...
|
by: herbert |
last post by:
1) I configure a flatfile as listener in app.config to be used with
TraceSource.
This appends output when restarting the application.
How do I specify that the existing file should be overwritten...
|
by: Ben Sizer |
last post by:
I need to copy directories from one place to another, but it needs to
overwrite individual files and directories rather than just exiting if
a destination file already exists. Previous suggestions...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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: 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...
|
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: 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...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
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...
| |