Cannot access a disposed object named "System.Net.TlsStream"???

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Cannot access a disposed object named "System.Net.TlsStream"???

    Hi,



    When I trying to do HTTP POST to HTTPS URL I am getting this error on first
    attempt:



    Cannot access a disposed object named "System.Net.TlsStream".

    Object name: "System.Net.TlsStream".

    Index and length must refer to a location within the string

    The underlying connection was closed: Could not establish secure channel for
    SSL/TLS



    After second attempt or if the service is not idle it's working ok.



    I saw on some internet sites that I am not the only one who has this
    problem.



    A MICROSOFT RESPONSE WILL BE VERY APPRECIATED!



    Thanks in advanced,

    Asaf


    Asaf Guest

  2. Similar Questions and Discussions

    1. "Could not access 'CDO.Message' object." How to resolve in IIS server
      I am trying to send mail through smtp. smtp service is running on my machine. But every time during the smtpmail.send(msg) call gives "Could not...
    2. Help needed for "generic" System.Object Converter
      Hi, I have custom web server control with one property being of type System.Object. At design time, only string values are allowed to be entered...
    3. Cannot access a disposed object named System.Net.TlsStream
      Hello everybody i have the following code to access an application via https: ---------------------------------------------...
    4. HELP! "Access is denied to this object." - Server object error 'ASP 0178 : 80070005'
      Hi, When I try to do Server.CreateObject on an activeX DLL, I receive the following message: ''''''''''''''''''''''' Server object error 'ASP...
    5. Lsass.exe System error "object name not found". System keeps rebooting
      When trying to install the drivers for the PCI modem in my laptop, prompted for the driver CD. Installed the driver without any errors but asked...
  3. #2

    Default Re: Cannot access a disposed object named "System.Net.TlsStream"???

    Maybe you can check out this post:
    [url]http://weblogs.asp.net/jan/archive/2003/12/04/41154.aspx[/url]

    It explains why you get this exception and what you can do about it! Altough
    it's not as MS answer... ;-)

    --
    Greetz

    Jan Tielens
    ________________________________
    Read my weblog: [url]http://weblogs.asp.net/jan[/url]


    "Asaf" <asafgo@hotmail.com> wrote in message
    news:Ov0PxjJ7DHA.3012@TK2MSFTNGP09.phx.gbl...
    > Hi,
    >
    >
    >
    > When I trying to do HTTP POST to HTTPS URL I am getting this error on
    first
    > attempt:
    >
    >
    >
    > Cannot access a disposed object named "System.Net.TlsStream".
    >
    > Object name: "System.Net.TlsStream".
    >
    > Index and length must refer to a location within the string
    >
    > The underlying connection was closed: Could not establish secure channel
    for
    > SSL/TLS
    >
    >
    >
    > After second attempt or if the service is not idle it's working ok.
    >
    >
    >
    > I saw on some internet sites that I am not the only one who has this
    > problem.
    >
    >
    >
    > A MICROSOFT RESPONSE WILL BE VERY APPRECIATED!
    >
    >
    >
    > Thanks in advanced,
    >
    > Asaf
    >
    >

    Jan Tielens Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139