Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

IIS won't recognize if an ASP page has been changed

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  SMTP relay to smarthost  
Author Message
user1109

External


Since: Nov 20, 2003
Posts: 5



(Msg. 1) Posted: Thu Nov 20, 2003 11:47 am
Post subject: IIS won't recognize if an ASP page has been changed
Archived from groups: microsoft>public>inetserver>iis (more info?)

With Windows 2003 Server...

Imagine the following scenario: there is a simple ASP page, for example just
a single Response.Write statement. There is a virtual directory pointing to
the directory, where the ASP page is stored.

If I change this ASP page and hit the refresh button on the client browser.
I can then see the following behaviour:

[1] If the ASP page had been stored in the local file system of the IIS
Server, anything works fine. The client immediately sees the change.

[2] If the ASP page had been stored in the file system of another Windows
2003 server, the first refresh does not work. The old content is sent to the
browser. One has to refresh a second time, for getting the new contents.

The wrong result can be seen, even if the following scenario is performed...

- open new browser
- load ASP page
- change the ASP page on the server
- open a new browser
- load the ASP page

After loading the ASP page in a separate browser window, the old contents
can be seen.

I am sure, that this is no client side feature. The browser has the "search
for new versions of a page on each and every access" setting (translation
probably not 100% correct). Clearing cookies, temporary files or history on
the client does not help.

It is definitely a question of whether the ASP page is stored locally or
remotely. The good behaviour (local) and the bad behaviour (remote) can be
reproduced any number of times.

Can anybody reproduce this behaviour? Is it already known? Is there a
solution?

Michael G. Schneider

 >> Stay informed about: IIS won't recognize if an ASP page has been changed 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Thu Nov 20, 2003 11:47 am
Post subject: Re: IIS won't recognize if an ASP page has been changed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Please give more details on how you configured #2.

In particular, are you using Mapped Drive or UNC shares. Is it pass-thru
authentication or not?

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Michael G. Schneider" <mgs-AntiSpam RemoveThis @mgs-software.de> wrote in message
news:%234mOCqzrDHA.3140@TK2MSFTNGP11.phx.gbl...
With Windows 2003 Server...

Imagine the following scenario: there is a simple ASP page, for example just
a single Response.Write statement. There is a virtual directory pointing to
the directory, where the ASP page is stored.

If I change this ASP page and hit the refresh button on the client browser.
I can then see the following behaviour:

[1] If the ASP page had been stored in the local file system of the IIS
Server, anything works fine. The client immediately sees the change.

[2] If the ASP page had been stored in the file system of another Windows
2003 server, the first refresh does not work. The old content is sent to the
browser. One has to refresh a second time, for getting the new contents.

The wrong result can be seen, even if the following scenario is performed...

- open new browser
- load ASP page
- change the ASP page on the server
- open a new browser
- load the ASP page

After loading the ASP page in a separate browser window, the old contents
can be seen.

I am sure, that this is no client side feature. The browser has the "search
for new versions of a page on each and every access" setting (translation
probably not 100% correct). Clearing cookies, temporary files or history on
the client does not help.

It is definitely a question of whether the ASP page is stored locally or
remotely. The good behaviour (local) and the bad behaviour (remote) can be
reproduced any number of times.

Can anybody reproduce this behaviour? Is it already known? Is there a
solution?

Michael G. Schneider

 >> Stay informed about: IIS won't recognize if an ASP page has been changed 
Back to top
Login to vote
user1109

External


Since: Nov 20, 2003
Posts: 5



(Msg. 3) Posted: Thu Nov 20, 2003 4:55 pm
Post subject: Re: IIS won't recognize if an ASP page has been changed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"David Wang [Msft]" <someone.DeleteThis@online.microsoft.com> schrieb im Newsbeitrag
news:%23kZwDw1rDHA.3468@TK2MSFTNGP11.phx.gbl...

 > Please give more details on how you configured #2.
 >
 > In particular, are you using Mapped Drive or UNC shares. Is it pass-thru
 > authentication or not?

The physical directory on the other server is accessed with UNC-notation.
The UNC path is accessed with a technical Domain-User (pushbutton "connect
as" next to the UNC path). The security on the virtual directory is set to
"Integrated Windows Authentication" only.

Michael G. Schneider<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS won't recognize if an ASP page has been changed 
Back to top
Login to vote
user1109

External


Since: Nov 20, 2003
Posts: 5



(Msg. 4) Posted: Thu Nov 27, 2003 1:16 am
Post subject: Re: IIS won't recognize if an ASP page has been changed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"David Wang [Msft]" <someone.TakeThisOut@online.microsoft.com> schrieb im Newsbeitrag
news:%23kZwDw1rDHA.3468@TK2MSFTNGP11.phx.gbl...
 > Please give more details on how you configured #2.
 >
 > In particular, are you using Mapped Drive or UNC shares. Is it pass-thru
 > authentication or not?
 >
 > --

Hello David,

have you been able to reproduce the behaviour?

Michael G. Schneider<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS won't recognize if an ASP page has been changed 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 5) Posted: Wed Dec 03, 2003 8:57 pm
Post subject: Re: IIS won't recognize if an ASP page has been changed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yes, I am able to reproduce the behavior right now using UNC with Passthru
basic auth. The caching folks are looking at it

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Michael G. Schneider" <mgs-AntiSpam.RemoveThis@mgs-software.de> wrote in message
news:OCIAuJGtDHA.1224@TK2MSFTNGP09.phx.gbl...
"David Wang [Msft]" <someone.RemoveThis@online.microsoft.com> schrieb im Newsbeitrag
news:%23kZwDw1rDHA.3468@TK2MSFTNGP11.phx.gbl...
 > Please give more details on how you configured #2.
 >
 > In particular, are you using Mapped Drive or UNC shares. Is it pass-thru
 > authentication or not?
 >
 > --

Hello David,

have you been able to reproduce the behaviour?

Michael G. Schneider<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS won't recognize if an ASP page has been changed 
Back to top
Login to vote
user1109

External


Since: Nov 20, 2003
Posts: 5



(Msg. 6) Posted: Thu Dec 04, 2003 10:58 am
Post subject: Re: IIS won't recognize if an ASP page has been changed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"David Wang [Msft]" <someone DeleteThis @online.microsoft.com> schrieb im Newsbeitrag
news:%23UgSQBhuDHA.2244@TK2MSFTNGP09.phx.gbl...

 > Yes, I am able to reproduce the behavior right now using UNC with Passthru
 > basic auth. The caching folks are looking at it

Thank's a lot for the information. I feared that I had incorrectly set up my
2003 PCs and had to do a re-install. I appreciated, if you could post a
solution or a workaround, as this is really bad for ASP development.

Michael G. Schneider<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS won't recognize if an ASP page has been changed 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 7) Posted: Tue Dec 09, 2003 1:23 am
Post subject: Re: IIS won't recognize if an ASP page has been changed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ok, so I have found some Registry Keys that after I toggled them, I see the
desired behavior.

<a style='text-decoration: underline;' href="http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/deploy/confeat/RemStorg.asp" target="_blank">http://www.microsoft.com/technet/treeview/default.asp?url=/technet/pro...chnol/w</a>

In the "Last-Modified Time" and "File Change Notification" are two registry
keys controlling how ASP caching works with respect to UNC files. The big
deal with UNC Change Notifications is that when you enable it for
file-change notifications to flush the cache, you eat up a lot of SMB work
items doing it... so you won't scale as well.

- Requests after 5 seconds changing the file will see the change. This is
targeted toward volume ASP serving sites who don't care when content is
propagated as long as it's "fast enough".
HKLM\SYSTEM\CurrentControlSet\Services\ASP\Parameters\FileMonitoringTimeoutS
econds:DWORD=5
HKLM\SYSTEM\CurrentControlSet\Services\ASP\Parameters\EnableChangeNotificati
onForUNC:DWORD=0

- Immediately after changing the UNC ASP file, I see the change in the
response. However, this is expensive as far as UNC scaling is concerned.
HKLM\SYSTEM\CurrentControlSet\Services\ASP\Parameters\EnableChangeNotificati
onForUNC:DWORD=1


The default behavior seems to suggest that EnableChangeNotificationForUNC=0
, which we've already determined to be detrimental to ASP scalability on
UNCs... so you've been warned...

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Michael G. Schneider" <mgs-AntiSpam DeleteThis @mgs-software.de> wrote in message
news:uEh5kPjuDHA.2148@TK2MSFTNGP12.phx.gbl...
"David Wang [Msft]" <someone DeleteThis @online.microsoft.com> schrieb im Newsbeitrag
news:%23UgSQBhuDHA.2244@TK2MSFTNGP09.phx.gbl...

 > Yes, I am able to reproduce the behavior right now using UNC with Passthru
 > basic auth. The caching folks are looking at it

Thank's a lot for the information. I feared that I had incorrectly set up my
2003 PCs and had to do a re-install. I appreciated, if you could post a
solution or a workaround, as this is really bad for ASP development.

Michael G. Schneider<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS won't recognize if an ASP page has been changed 
Back to top
Login to vote
user1109

External


Since: Nov 20, 2003
Posts: 5



(Msg. 8) Posted: Tue Dec 09, 2003 6:27 pm
Post subject: Re: IIS won't recognize if an ASP page has been changed [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"David Wang [Msft]" <someone.DeleteThis@online.microsoft.com> schrieb im Newsbeitrag
news:ewF6T4hvDHA.1996@TK2MSFTNGP12.phx.gbl...

Hello David,

thank's a lot for your help. I did not know the article, and after reading
it, I learned some new facts about IIS6.

 > Ok, so I have found some Registry Keys that after I toggled them, I
 > see the desired behavior.

I set the EnableChangeNotificationForUNC:DWORD=1 key, and now ASP always
recognizes if an ASP page has changed.

 > The default behavior seems to suggest that
 > EnableChangeNotificationForUNC=0, which we've already determined to
 > be detrimental to ASP scalability on UNCs... so you've been warned...

In my case, this is a development server. So the traffic on this server is
very small and scalability is no subject.

Thank's again.

Michael G. Schneider<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS won't recognize if an ASP page has been changed 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
iis will not start. Does not recognize computer name - I have iis installed, but the services World Wide Web Publishing Service SMTP FTP will not start. They are assigned to start automatically but do not. When I try to start them, I receive an error message "Could not start the World Wide Web..

Help newbie: Failure to recognize localhost - Hello all, I am new in this web business, any help would be much appreciated: My IIS 5.1 in XP Pro seems to be installed just fine but whatever I enter in the Windows Explorer or Internet Explorer starting with http://localhost/ such as..

win2k - changed domain and IIS fails w/ "cannot find the p.. - Changed the domain and my network login name on my Windows 2000 sp4 machine, and now I cannot get Internet Services Manager to start. Message I get is "the system cannot find the path specified". I have uninstalled and reinstalled IIS to ...

W2K3: IUSR_ Password Accidentally Changed: Anonumous Web A.. - I have a Windows Server 2003 installed with tens of web sites on it. They all used anonymous authentication, and worked fine. About an hour ago, someone accidentally changed the IUSR_MYHOST user account's password. Needless to say, anonymous..

IIS ASP page using ADO - i'm trying to work with an access database inside an ASP page using ADO connection. I can read tables but not write to them. Where can i check for the write permission setting?
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]