IIS 5 & IIS 6
#include virtual is not working in Local Machine But working in Live...
Last post Jul 20, 2012 02:04 AM by galaxy_selvam
Jul 20, 2012 02:04 AM|galaxy_selvam|LINK
In the live server the code <!--#include virtual="/Users/userdetails.asp" --> is working. But when I'm running this site in local machine by creating the virtual directory in IIS, it is getting error. My IIS version is 5.1. But if I change the code
to <!--#include file="../Users/userdetails.asp" --> then the code is working fine without any error. What will be the issue? Is related to IIS? I'm using XP Professional with service pack 3. And IIS version is 5.1.
The Error is
Active Server Pages
error 'ASP 0126'
Include file not found
/test/admin/adminhome.asp, line 2
The include file '/Users/userdetails.asp' was not found.