Shevy
Jul 20th, 2005, 12:15 PM
I am trying to get FoxPro data returned to me from a foxweb program (foxweb is the web language for foxpro.)
I created a sort of webservice, w hen i try to call it i get the following error:
The underlying connection was closed: The server committed an HTTP protocol violation.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The underlying connection was closed: The server committed an HTTP protocol violation.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[WebException: The underlying connection was closed: The server committed an HTTP protocol violation.]
System.Net.HttpWebRequest.CheckFinalStatus() +677
System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) +139
System.Net.HttpWebRequest.GetResponse() +248
System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) +65
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
BarCodes.PrintBarCode.Page_Load(Object sender, EventArgs e) in N:\Inetpub\Intranet\BarCodes\PrintBarCodeRange.aspx.vb:121
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
Here is my code:
QS = "http://home/CheckMTA.fwx?mtanum=" & fmtanum
dsCheckMTA.ReadXml(QS)
What am i doing wrong?
I created a sort of webservice, w hen i try to call it i get the following error:
The underlying connection was closed: The server committed an HTTP protocol violation.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The underlying connection was closed: The server committed an HTTP protocol violation.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[WebException: The underlying connection was closed: The server committed an HTTP protocol violation.]
System.Net.HttpWebRequest.CheckFinalStatus() +677
System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) +139
System.Net.HttpWebRequest.GetResponse() +248
System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) +65
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
BarCodes.PrintBarCode.Page_Load(Object sender, EventArgs e) in N:\Inetpub\Intranet\BarCodes\PrintBarCodeRange.aspx.vb:121
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
Here is my code:
QS = "http://home/CheckMTA.fwx?mtanum=" & fmtanum
dsCheckMTA.ReadXml(QS)
What am i doing wrong?