M
Mark Olbert
I'm running into a repeatable oddity in porting a bunch of ASPNET1.1 websites to ASPNET2. Calls like this:
MapPath("/path/fromroot")
result in exceptions under ASPNET2, but worked fine under ASPNET1.1.
Changing the calls to:
MapPath("~/path/fromroot")
makes them work again under ASPNET2.
Is this a design change? Or perhaps an artifact of using the "bundled" webserver in VS2005? I used to debug on a test server that
was separate from my development machine. Now, under VS2005, I do everything on the development machine.
- Mark
MapPath("/path/fromroot")
result in exceptions under ASPNET2, but worked fine under ASPNET1.1.
Changing the calls to:
MapPath("~/path/fromroot")
makes them work again under ASPNET2.
Is this a design change? Or perhaps an artifact of using the "bundled" webserver in VS2005? I used to debug on a test server that
was separate from my development machine. Now, under VS2005, I do everything on the development machine.
- Mark