ASP.NET Href not going to subfolders
Posted on 2007-10-13
I am working on a web site using a master page using Visual Web Studio 2008. I have the project in a folder MyDocuments/visual studio 2008/master page/. I have put diferent sections of the site in different folders. you can see the different folders I am using in the solution explorer. I have two problems.
The first one is that when I do an Href and select the link from the list of files in the project and when I run the project the links dont work properly. I get a page not found. I have tried these 3 combinations "forums/default.asp", "/forums/default.asp" and "~/forums/default.asp". None of them seem to work.
Secondly, when I try to include an image in one of the pages I want to put the images in the images folder but I get broken images. I have a feeling the solution to my above problem will also solve this problem.
The solution I would like to find is the one that will allow me to upload the site from my system and have everything work fine. I have tried Running IIS for my project but I get a configuration error os some sort. All I have done to set up IIS is point to the home directory of my project. This has worked in the past for me with regular ASP. Is there a guide somewhere to configuring IIS to run an ASP.NET project?