Microsoft KB Archive/812342

= The ISAPIWorkerRequest.MapPath method returns a nonexistent path when the directory name contains a period character in Visual Studio .NET 2003 or in Visual Studio 2005 =

Article ID: 812342

Article Last Modified on 3/6/2006

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Standard Edition

-





SYMPTOMS
In Microsoft Visual Studio .NET 2003 or in Visual Studio 2005, the ISAPIWorkerRequest.MapPath method returns a nonexistent path.



CAUSE
This problem occurs if the virtual directory name contains a period (.) character, and the virtual directory name is different from the physical directory name.



WORKAROUND
Do not use the period character in the virtual directory name if the virtual directory is mapped to a physical directory that has a different name and the physical directory name also contains a period character.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Additional query words: vdir

Keywords: kbbug kbvs2005applies kbvs2005swept KB812342

-

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

© Microsoft Corporation. All rights reserved.