D
Dhruba Bandopadhyay
In classic ASP I could write:
<!-- #INCLUDE VIRTUAL="Kevin\General\ServiceClass.asp" -->
and it would "include" that ASP file into the current ASP file. My web
application folder was not stored in C:\Inetpub\wwwroot\ but somewhere else.
But the VIRTUAL command let IIS locate files by the IIS virtual folder.
Now in ASP.NET this does not work. It complains saying:
Could not find a part of the path
'c:\inetpub\wwwroot\Kevin\General\ServiceClass.aspx'
Is it possible creating a link/shortcut folder in \wwwroot\ ? Or how can I
get around this the easy way? I don't want to rename all VIRTUAL into FILE
and giving absolute paths.
<!-- #INCLUDE VIRTUAL="Kevin\General\ServiceClass.asp" -->
and it would "include" that ASP file into the current ASP file. My web
application folder was not stored in C:\Inetpub\wwwroot\ but somewhere else.
But the VIRTUAL command let IIS locate files by the IIS virtual folder.
Now in ASP.NET this does not work. It complains saying:
Could not find a part of the path
'c:\inetpub\wwwroot\Kevin\General\ServiceClass.aspx'
Is it possible creating a link/shortcut folder in \wwwroot\ ? Or how can I
get around this the easy way? I don't want to rename all VIRTUAL into FILE
and giving absolute paths.