Does anyone have the code that will resolve the following error?
Server Error in '/NSV2_6_0' Application.
________________________________________
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:
Line 55: System.Web.Services.Protocols.SoapDocumentMethodAttribute("login", RequestNamespace:="urn:messages_2_6.platform.webservices.netsuite.com", ResponseNamespace:="urn:messages_2_6.platform.webservices.netsuite.com", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Line 56: Public Function login(ByVal passport As Passport) As <System.Xml.Serialization.XmlElementAttribute("sessionResponse")> SessionResponse
Line 57: Dim results() As Object = Me.Invoke("login", New Object() {passport})
Line 58: Return CType(results(0),SessionResponse)
Line 59: End Function
Source File: c:\inetpub\wwwroot\NSV2_6_0\Web References\com.netsuite.webservices\Reference.vb Line: 57
Stack Trace:
[WebException: The underlying connection was closed: The server committed an HTTP protocol violation.]
System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) +58
System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) +5
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +183
NSV2_6_0.com.netsuite.webservices.NetSuiteService.login(Passport passport) in c:\inetpub\wwwroot\NSV2_6_0\Web References\com.netsuite.webservices\Reference.vb:57
NSV2_6_0.NSSync.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\NSV2_6_0\NSSync.aspx.vb:150
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407