Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Hard work gone to waste, help please !!!

Hard work gone to waste, help please !!!

Scheduled Pinned Locked Moved XML / XSL
helpcsharpvisual-studiocomdesign
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jphuphilly
    wrote on last edited by
    #1

    Okay i just upgraded from vs.net 2002 to vs.net 2003 and this error comes up. It worked fine before the upgrade but now this error can someone please help. I even did some error testing i can pull xml from my machince and i can access the file directly. Ahhhh!! whats the problem? Thanks. "The underlying connection was closed: Unable to connect to the remote server. " Line 69: { Line 70: case 0: Line 71: dataSet1.ReadXml("http://www.w3schools.com/xml/note.xml"); Line 72: break; Line 73: case 1: Source File: c:\inetpub\wwwroot\bc\webform1.aspx.cs Line: 71 Stack Trace: [WebException: The underlying connection was closed: Unable to connect to the remote server.] System.Net.HttpWebRequest.CheckFinalStatus() System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) System.Net.HttpWebRequest.GetResponse() System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +94 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +55 System.Xml.XmlTextReader.CreateScanner() +384 System.Xml.XmlTextReader.Init() +23 System.Xml.XmlTextReader.Read() +530 System.Xml.XmlReader.MoveToContent() +75 System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving) +145 System.Data.DataSet.ReadXml(String fileName) +63 BC.WebForm1.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\bc\webform1.aspx.cs:71 System.Web.UI.WebControls.Button.onclick(EventArgs e) System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) System.Web.UI.Page.ProcessRequestMain() +1277 Da Intern

    Z 1 Reply Last reply
    0
    • J jphuphilly

      Okay i just upgraded from vs.net 2002 to vs.net 2003 and this error comes up. It worked fine before the upgrade but now this error can someone please help. I even did some error testing i can pull xml from my machince and i can access the file directly. Ahhhh!! whats the problem? Thanks. "The underlying connection was closed: Unable to connect to the remote server. " Line 69: { Line 70: case 0: Line 71: dataSet1.ReadXml("http://www.w3schools.com/xml/note.xml"); Line 72: break; Line 73: case 1: Source File: c:\inetpub\wwwroot\bc\webform1.aspx.cs Line: 71 Stack Trace: [WebException: The underlying connection was closed: Unable to connect to the remote server.] System.Net.HttpWebRequest.CheckFinalStatus() System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) System.Net.HttpWebRequest.GetResponse() System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials) +94 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +55 System.Xml.XmlTextReader.CreateScanner() +384 System.Xml.XmlTextReader.Init() +23 System.Xml.XmlTextReader.Read() +530 System.Xml.XmlReader.MoveToContent() +75 System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving) +145 System.Data.DataSet.ReadXml(String fileName) +63 BC.WebForm1.Button1_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\bc\webform1.aspx.cs:71 System.Web.UI.WebControls.Button.onclick(EventArgs e) System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) System.Web.UI.Page.ProcessRequestMain() +1277 Da Intern

      Z Offline
      Z Offline
      ZoogieZork
      wrote on last edited by
      #2

      Are you saying that you can access http://www.w3schools.com/xml/note.xml from a browser, but not your ASPX page? - Mike

      J 1 Reply Last reply
      0
      • Z ZoogieZork

        Are you saying that you can access http://www.w3schools.com/xml/note.xml from a browser, but not your ASPX page? - Mike

        J Offline
        J Offline
        jphuphilly
        wrote on last edited by
        #3

        exactly, do you have some ideas Da Intern

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups