[Mono-bugs] [Bug 500074] XmlDocument.Load() fails with System.Net.WebException: Error: NameResolutionFailure

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jul 12 18:31:47 EDT 2009


User gonzalo at novell.com added comment

--- Comment #9 from Gonzalo Paniagua Javier <gonzalo at novell.com>  2009-07-12 16:31:45 MDT ---
 Btw, I used this index.aspx:
<%@ Page %>
<%@ Import namespace="System.Net" %>
<script runat="Server">
    void Page_Load(object sender, EventArgs e)
        lblText.Text = GetText();

    private string GetText()
        HttpWebRequest req =
        HttpWebResponse resp = (HttpWebResponse)req.GetResponse();

        string[] names = resp.Headers.AllKeys;

       string text = string.Format("{0,-20}{1}\n", "Name", "Value");

        foreach (string n in names)
            text += string.Format("{0,-20}{1}", n, resp.Headers[n]);


        return text;
<asp:Label id="lblText" runat="server" />

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list