Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Microsoft CDO Object with SSL connections in ASP.NET

Reply
 
Old 02-27-2009   #1 (permalink)
Sunray


 
 

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 SpecsSystem Spec
Reply

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

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