.net - The underlying connection was closed - WEB SERVICES -
i wanna connect api through web services
i've done this: integration system
and same error: "the underlying connection closed: unexpected error occurred on receive."
i created new class:
class mytestservice inherits senditapi.senditpl protected overrides function getwebrequest(byval uri uri) system.net.webrequest dim webrequest system.net.httpwebrequest webrequest = ctype(mybase.getwebrequest(uri), system.net.httpwebrequest) 'setting keepalive false webrequest.keepalive = false getwebrequest = webrequest end function end class
according http://support.microsoft.com/kb/915599
it seems problem configuration.
check app.config file. address in <value>...</value>
seems incorrect.
Comments
Post a Comment