R
rockdale
Hi, all:
Hope somebody can solve this problem for me.
We are migrating 3 asp website into IIS 6.0 on a server 2003. we do
not want to create 3 website since we do not want to acquire different
ports or ip for these websites. SO we create 3 virtual directory under
the default website, but we got problems because the asp pages include
common code in other asp files and the original developer using
include virtual to include the common code asp files.
The error I got is :
HTTP 500.100 - Internal server error: ASP error.
Internet Information Services
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Error Type:
Active Server Pages, ASP 0126 (0x80004005)
The include file '/top.asp' was not found.
/website_test/index.asp, line 1
Browser Type:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
3.5.21022)
The source code in the index.asp is <!-- #INCLUDE VIRTUAL="/top.asp" --and the top.asp is under the same directory with index.asp.
-----------------------------------
If I create website then it works fine, the top.asp is found and the
page shows properly.
I know one way is the change all include virtual to include file, but
that's too much workload considering the I am not original developer
and they have the include virtual everywhere.
I kind know why this error occurred, it is because I create the
virtual directory, so the include virtual="/top.asp" should changed to
include virtual="/website_test/top.asp" since the wwwroot is not the
root anymore. or my understanding is wrong.
Anybody can give me a hand?
Thanks in advance
-rockdale
Hope somebody can solve this problem for me.
We are migrating 3 asp website into IIS 6.0 on a server 2003. we do
not want to create 3 website since we do not want to acquire different
ports or ip for these websites. SO we create 3 virtual directory under
the default website, but we got problems because the asp pages include
common code in other asp files and the original developer using
include virtual to include the common code asp files.
The error I got is :
HTTP 500.100 - Internal server error: ASP error.
Internet Information Services
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Error Type:
Active Server Pages, ASP 0126 (0x80004005)
The include file '/top.asp' was not found.
/website_test/index.asp, line 1
Browser Type:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
3.5.21022)
The source code in the index.asp is <!-- #INCLUDE VIRTUAL="/top.asp" --and the top.asp is under the same directory with index.asp.
-----------------------------------
If I create website then it works fine, the top.asp is found and the
page shows properly.
I know one way is the change all include virtual to include file, but
that's too much workload considering the I am not original developer
and they have the include virtual everywhere.
I kind know why this error occurred, it is because I create the
virtual directory, so the include virtual="/top.asp" should changed to
include virtual="/website_test/top.asp" since the wwwroot is not the
root anymore. or my understanding is wrong.
Anybody can give me a hand?
Thanks in advance
-rockdale