PRB: Changes to ASP Scripts not Reflected on IIS 3.0 Server

ID: Q201031


The information in this article applies to:
  • Microsoft Internet Information Server version 3.0


SYMPTOMS

Changes made to an ASP Script (then saved) are not reflected in the browser when refreshed.


CAUSE

This behavior occurs if there is a long file name in the path to the ASP Script. The long file name can be a directory name, or the name of the ASP file itself.


RESOLUTION

To resolve this behavior, use 8-character DOS naming conventions when naming ASP files, or directories in which ASP files reside.


STATUS

This problem was corrected in Windows 2000.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create the following ASP Script and name the file "long file.asp":


  2. 
       <%@ LANGUAGE="VBSCRIPT"%>
       <HTML>;
       <BODY>
       The current system time is:  <%=Now() %>
       </BODY>
       </HTML> 
  3. Place the file on an IIS 3.0 server and bring the file up in a browser window. For example:


  4. http://servername/longfi~1.asp
  5. Edit "long file.asp" with the following:


  6. 
       <%@ LANGUAGE="VBSCRIPT"%>
       <HTML>
       <BODY>
       The current system date is:  <%=Date()%>
       </BODY>
       </HTML> 
  7. Save your changes, then refresh your browser window. The changes made to the script will not be reflected.


  8. Rename "long file.asp" to "short.asp"


  9. Bring up "short.asp" in the browser window. For example:


  10. http://servername/short.asp
  11. The results display "The current system date is: 7/15/98" (with the current system date).


  12. Edit "short.asp" and change the script back to the original script that displayed the system time.


  13. Refresh the browser window. The changes will be reflected.


Additional query words: kbDSupport

Keywords : kbASP kbGrpASP kbDSupport kbIIS kbiis300
Version : winnt:3.0
Platform : winnt
Issue type : kbprb


Last Reviewed: December 8, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.