locked
The underlying connection was closed: An unexpected error occurred on a send. when using SSL RRS feed

  • Question

  • Hello,

        I am trying to create reports using Report Server Web service. I created a custom installer to install sql server express 2008 with all it pre-requisites and also deploy some reports once the installation is complete.  The "SecureConnectionLevel" gets set to 2 by default and hence I am unable to use http. If I use https url, then I get a time out error. I increased the timeout from the client side and i end up with the

    "The underlying connection was closed: An unexpected error occurred on a send."

    Another weird thing that happens is I don't get this error for all the reports. Some of them gets deployed without any problem and for some I get the above error. I checked the reportserver log file and it looks like the create report request doesn't even reach the report server.

    Can anyone help with this? I am pretty new to Reporting Services. What is going wrong here? Can anyone give me some pointers. I appreciate it.

    P.S: I can make it work by SecureConnectionLevel to '0' but am trying to make it work with the default installation.
    Friday, July 24, 2009 3:16 PM

Answers

  • Hi,
    If you are choose default install, RS sets secureconnectionlevel to 2 and registers https urls if it detects a SSl certificate on the machiine during installation.
    In that instances I have seen, the error you are encountering occurs if the SSL certificate is invalid.
    Please use a valid certificate and try. Alterntaively changing Secureconnectionlevel to zero will work too as you mentioned.
    • Marked as answer by Jerry Nee Thursday, July 30, 2009 9:04 AM
    Monday, July 27, 2009 5:50 AM
  • Hi,

     

    You can access http://support.microsoft.com/kb/915599 or http://blogs.msdn.com/engelsr/articles/497902.aspx for details on how to resolve this error messages you receive.

     

    Please let me know if your have more question.

     

    Thanks,

    Jerry

    • Marked as answer by Jerry Nee Thursday, July 30, 2009 9:03 AM
    Monday, July 27, 2009 1:36 AM

All replies

  • Hi,

     

    You can access http://support.microsoft.com/kb/915599 or http://blogs.msdn.com/engelsr/articles/497902.aspx for details on how to resolve this error messages you receive.

     

    Please let me know if your have more question.

     

    Thanks,

    Jerry

    • Marked as answer by Jerry Nee Thursday, July 30, 2009 9:03 AM
    Monday, July 27, 2009 1:36 AM
  • Hi,
    If you are choose default install, RS sets secureconnectionlevel to 2 and registers https urls if it detects a SSl certificate on the machiine during installation.
    In that instances I have seen, the error you are encountering occurs if the SSL certificate is invalid.
    Please use a valid certificate and try. Alterntaively changing Secureconnectionlevel to zero will work too as you mentioned.
    • Marked as answer by Jerry Nee Thursday, July 30, 2009 9:04 AM
    Monday, July 27, 2009 5:50 AM