Hello,
I have the following line of code in a script...
litMsg.Text = Server.MapPath("/");
where litMsg is an ASP.Net Literal control. When I try and run this
page, I get the error ...
System.ArgumentException: Empty path has no directory.
Anyone any idea what this means? I have used Server.MapPath many times
before without error, I'm not sure why it suddenly stopped working here.
I'm sure I'm missing something blindingly obvious and would be grateful
if anyone could point it out!! TIA.
--
Alan Silver
(anything added below this line is nothing to do with me)