Forum Moderators: open
Therefor, <!-- #Include virtual="/include/navigation.asp" --> looks for the folder "include" under the root web, where as you are wanting it to look under your new project which is as localhost/newproject/.
The only solutions I am aware of are to use relative includes such as
<!-- #Include file="./include/navigation.asp" -->
which can be a pain to keep track of in nested folders,
or to use virtual includes and map them to a folder in the project such as
<!-- #Include virtual="/newproject/include/navigation.asp" --> which will work OK on the local machine. BUT, when you upload you have to remember to make a folder on the online server called newproject and the put you "include" folder in that.
Not very elegant solutions I am afraid, I would also love to here if anyone else has better ideas.
Onya
Woz
The only oher way, which I now use is to work on one web at a time, in the root.
I Have folders named www.mysite.com and just drag the contents into the root before making any changes. That way the sites work locally and live with no code changes or extra folders needed.
Again, not very elegant.