Microsoft KB Archive/201031

= PRB: Changes to ASP Scripts Are Not Reflected on IIS 3.0 Server =

Article ID: 201031

Article Last Modified on 4/22/2001

-

APPLIES TO


 * Microsoft Internet Information Server 3.0

-



This article was previously published under Q201031



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.



Steps to Reproduce Behavior
  Create the following ASP Script and name the file "long file.asp": <%@ LANGUAGE="VBSCRIPT"%> ;  The current system time is: <%=Now %>    Place the file on an IIS 3.0 server and bring the file up in a browser window. For example:

http://servername/longfi~1.asp

  Edit "long file.asp" with the following: <%@ LANGUAGE="VBSCRIPT"%>   The current system date is: <%=Date%> </BODY> </HTML> </li> Save your changes, then refresh your browser window. The changes made to the script will not be reflected.</li> Rename "long file.asp" to "short.asp"</li> Bring up "short.asp" in the browser window. For example:

http://servername/short.asp

</li> The results display "The current system date is: 7/15/98" (with the current system date).</li> Edit "short.asp" and change the script back to the original script that displayed the system time.</li> Refresh the browser window. The changes will be reflected.</li></ol>

Keywords: kbprb KB201031

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.