![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Microsoft CDO Object with SSL connections in ASP.NET I have a C# ASP.NET web application that is set up as SSL only. It allows for reports to be distributed to a variety of different formats, including Word. When trying to distribute a report in Word formate it fails when the server is configured to run SSL but not when its running open. The failure is a result of using the CDO method CreateMHTMLBody to bundle up a stored web page (the report) into a single file for distribution. It appears that when the URL is a SSL url, it generates an Unknown Error message. Something is failing in the CDO when SSL is used from within ASP.NET only. I can show this behaviour as I can use the same CDO method from a VB6 snippet application onto the stored HTML report page it appears to work, generating the MHTML file. I only have a Certificate generated by the selfssl tool, but I have installed that into IE. If it was a certificate issue, it would work on our hosting environment where the certificate is valid and installed? My testing is all done on a single machine. I have a suspicion that its something to do with the connection being initiated from within in the same context as the SSL connection. There does not appear to be another way of doing this in .Net and the CDO objec t is still mentioned in the documentation for email tasks in .Net. Can anyone shed more light on this problem? |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Microsoft Speech Object Library compiler warnings | .NET General | |||
| WM won't show OLE Object: Microsoft Office Excel Worksheet | Vista mail | |||
| PPPOE connections created show up as Dial-up connections | Vista networking & sharing | |||
| new-object -com and Microsoft.Diskquota.1 | PowerShell | |||
| Adding canonical aliases for Compare-Object, Measure-Object, New-Object | PowerShell | |||