in general I do, but in some cases (such as when creating controls that will
be used in pages that are in different directories, or for values in
Web.config's appsettings section) it is either easier or more efficient to
do it this way. But either way, I need a way to test my application on my
Windows XP Pro SP2 version of IIS and have it treat the folder my
application is in as the root directory.
--
Nathan Sokalski
nj********@hotmail.com http://www.nathansokalski.com/
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Nathan,
Try never to use fixed paths in webdeveloping; use the virtual path's,
src="images/Logo.gif"
Cor
"Nathan Sokalski" <nj********@hotmail.comschreef in bericht
news:Op**************@TK2MSFTNGP06.phx.gbl...
>>I am creating an ASP.NET application in a subdirectory of what IIS uses as
the root directory (C:\Inetpub\wwwroot\). I am using the version of IIS
that comes with Windows XP Pro SP2. Some of my code in my ASP.NET
application uses root-relative URLs, such as /images/background.gif.
However, because the subdirectory my application is in is not the root
directory of IIS, I cannot test my application on my machine. Is there any
way to avoid this problem?
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/