Error message 401 Unauthorized

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Newbie19
    New Member
    • Jun 2007
    • 122

    Error message 401 Unauthorized

    I created an xml page and put it on a web site and I'm trying to get an ASP.Net page to read the xml page using a vb script I came up with.

    when I ran the asp.net site, I got an error message unauthorized (401), how do I fix that?

    I just started to use xml today.

    Thanks,
  • Newbie19
    New Member
    • Jun 2007
    • 122

    #2
    I did some research and I need to add an http authentication, but I'm not sure how to do that dealing with xml.

    Any advice?

    Comment

    • Newbie19
      New Member
      • Jun 2007
      • 122

      #3
      figured it out when you get an 401 error like that, the way to fix it is with this line:

      <identity impersonate="tr ue" userName="id" password="pw" />

      Comment

      • Dököll
        Recognized Expert Top Contributor
        • Nov 2006
        • 2379

        #4
        Originally posted by Newbie19
        figured it out when you get an 401 error like that, the way to fix it is with this line:

        [HTML]<identity impersonate="tr ue" userName="id" password="pw" />[/HTML]
        Good of you to post your findings, have a great week-end!

        Comment

        Working...