Link to home
Start Free TrialLog in
Avatar of Grailman
Grailman

asked on

Importing an ASP web into Front Page 2000

I hope I'm just doing something stupid here but... I'm trying to import a web which uses ASP into Front Page using the C:\Inetpub\wwwroot\MyCoolWeb directory. When I do, I get an error message:

       Unable to create a disk-based web at "C:\Inetpub\wwwroot\MyCoolWeb"
       because its parent web would not be a disk-based web elsewhere, outside
       of your web server's document hierarchy.

It works fine importing to another directory, but then I have to move the files into C:\Inetpub\wwwroot\MyCoolWeb in order to test the ASP code. How do I set up a project inder C:\Inetpub\wwwroot?
Avatar of ClassyLinks
ClassyLinks
Flag of Canada image

Hi.

I get that error message too.  Here is my work around.

Put your web wherever you want it. I usually put it in the wwwroot folder.

Then, open your PWS (double-click from the system tray) Go to the advanced tab and add a new Virtual Directory.  Just browse to the folder you saved it in and give it a name. Make sure you enable execute too.

Now you can test your asp directly with http://127.0.0.1/yourwebname

HTH
ASKER CERTIFIED SOLUTION
Avatar of ClassyLinks
ClassyLinks
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Grailman...did any of this help?
Avatar of Grailman
Grailman

ASKER

ClassyLinks:
I didn't receive your first post for some reason. I'll try your suggestion ASAP.
Sure...just keep me posted.  If it doesn't work, we will figure out something else.
Grailman....how goes the battle?
I'm using IIS but it seems to be essentially the same concept as PWS. Seems as long as the virtual directory is set correctly, everything's great.

Thanks for the help!
Grailman
You are welcome  8-)