Last post Apr 25, 2014 04:19 PM by pago313
Apr 18, 2014 02:34 PM|pago313|LINK
I need to migrate compile application of ASP and ASP.net to windows server 2008 R2 from IIS 5. all asp pages are working but aspx page has problem
Parser Error Message: Could not find a part of the path 'C:\inetpub\wwwroot\xxx\menu2.aspx'.
Source Error: <!--#include virtual="/xxx/menu2.aspx" -->
Source File: C:\Web_Data\applicationFolder/xxx/fileName.aspx
Apr 18, 2014 02:54 PM|bbcompent1|LINK
Generally in IIS, you must enable includes and parent paths for that to work. This thread should help:
Apr 25, 2014 04:19 PM|pago313|LINK
http://tech.mikeal.com/blog1.php/server-side-includes-for-html-in-iis7 link is my solution. Because our server was new, I install Server side include in server manager,
then add handler mapping in my virtual directory for *.aspx page.