Microsoft KB Archive/257619

= Violation Occurs When the Path in the #Include Virtual or File Directive Is More Than 260 Characters =

Article ID: 257619

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Services 5.0

-



This article was previously published under Q257619



SYMPTOMS
If a long path or file name (more than 260 characters) is used in the  directive in an ASP page, IIS generates an Access Violation error message.



CAUSE
The buffer allocated for the file name is 260 characters long. Therefore, a file name that is more than 260 characters causes a buffer overflow and an Access Violation error message to occur.



Windows 2000
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

Windows NT 4.0
A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix for Windows NT 4.0 should have the following file attributes or later:

  Date      Time    Version  Size     File name  Platform ---  01/03/00  01:45p  4.2.737  329,024  Asp.dll    x86 01/03/00 01:45p  4.2.737  550,160  Asp.dll    Alpha



Windows 2000
Microsoft has confirmed that this is a problem in Windows 2000. This problem was first corrected in Windows 2000 Service Pack 1.

Windows NT 4.0
Microsoft has confirmed that this is a problem in Windows NT 4.0.



MORE INFORMATION
A fix has been added to check the file-name length. If the file name is more than 260 characters, a "Include file not found" error message is returned to the browser.

Keywords: kbbug kbfix kbwin2000sp1fix KB257619

-

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

© Microsoft Corporation. All rights reserved.