Using Visual Web Developer 08 and it's inbuilt Development Server I'm working through a LINQ to XML tutorial in a book.
This line is giving me a problem:
[FONT="Courier New"]XElement doc = XElement.Load(Request.ApplicationPath + "\authors.xml");
Request.ApplicationPath retrieves a path "E:/C10_LINQ/authors.xml" which doesn't exist.
I thought it should get something more http-ish like http://localhost/directory/website/authors.xml
I thought this might be due to using the inbuilt server rather than IIS so I installed IIS 5.0 on XP, which opened up a whole new can of worms because I can't get the website to run.
I am thrashing around in the dark with evil thoughts about reinstalling software!
I seek your help and guidance thanks.