WebRequest on local machine
"The remote server returned an error: (401) Unauthorized". This is the error I receive when trying to make a WebRequest to a .aspx file in my local project. From this, the html that is read into the stream is written out to another directory within my project as a .htm file. The error occurs on the line "Stream respStream = myRequest.GetResponse().GetResponseStream();". My project will be an Intranet app, so Anonymous Access is disabled in IIS.