try if(File.Exists(Server.MapPath("filename.xml")))
-----Original Message-----
HI
I have an aspx page that imports the System.IO namespace. Then in thePage_Load event I have an if(File.Exists("filename.xml")) {} it keepson returning false for some reason even when the file exists in thesame directory. It works fine with the ASP.NET WebMatrix webserver butit returns false with IIS.
Anyone have any ideas on what is happening?
Thanks
abz
.