BUG: WinCE ASP Server.MapPath Method Behaves Differently than IIS Server.MapPath (290292)
The information in this article applies to:
- Microsoft Windows CE Operating System, Versions 3.0
This article was previously published under Q290292 SYMPTOMS
The Server.MapPath method in an Active Server Pages (ASP) page executed under the Web server on Windows CE returns a different path than when the same ASP code is executed in an ASP page under Internet Information Server (IIS). Specifically, if the argument passed to MapPath does not begin with "/", ASP returns a path that is relative to the virtual root folder, not the current virtual path of where this ASP page is located. This may be a problem when you are adapting ASP pages designed for IIS to work on Windows CE.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 12/26/2003 |
---|
Keywords: | kbbug kbpending KB290292 |
---|
|