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