Link to home
Start Free TrialLog in
Avatar of janand1
janand1Flag for Denmark

asked on

IIS 7, ASP and Visual Web Developer root folder problem

I have imported an ASP web site from a service provider, to convert to ASP.NET.
The site has an Access database in directory DB and all asp and other files in directory www.
All ASP files require that www is the root folder of the web Application.
Images is located in www/Grafik/xxx.jpg and in HTML used as:
<img src=”/Grafik/xxx.jpg>”.
I have from Visual Web Developer 2008 Express Edition (VWD) created an ISS Virtual Directory to
The imported site.
How do I tell IIS or VWD that www is the root folder?
When I test default.asp in VWD all pictures is missing because the pictures is in
www/Grafik/ and not in Grafik/.

Regards

Jan
ASKER CERTIFIED SOLUTION
Avatar of Wayne Barron
Wayne Barron
Flag of United States of America 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
Avatar of janand1

ASKER

I had hoped for en web.config solution so I could get thel old site to work under my local IIS.
The old asp site should work under IIS7 without any issues.
What I was trying to point out to you was that the way that the directory structure was set up was wrong
And would potentionally cause you a lot of headache later on down the road.

I am sorry that I or no one else was able to give you what you wanted.
I was just plainly stating that if you want to make the sites professionally, then set up your folder structure professionally as well. if not, then you will end up with a big mess.

Good Luck and sorry once again.
Carrzkiss