In my Global.asax Application_Start I have this code: string Downloads = Server.MapPath("Downloads");
Normally this works fine - "www.mydomain.com" causes it to map to D:\INetPub\wwwRoot\WebSite\Downloads which is good. However, I restarted the IIS (using IISReset.bat) and immediately went to the page "www.mydomain.com/Services" after which my Downloads variable was set to D:\INetPub\wwwRoot\WebSite\Services\Downloads which does not even exist. Is this a bug, or is this expected behaviour from IIS/.Net? TIA Dino --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.365 / Virus Database: 202 - Release Date: 24/05/2002 You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.