all groups > sql server reporting services > december 2004 >
You're in the

sql server reporting services

group:

Change in MHTML rendering in SP1?



Change in MHTML rendering in SP1? Jonathan Levine
12/8/2004 7:29:01 PM
sql server reporting services: Greetings.

I recently installed SP1, and am having some trouble with my Custom Delivery
Extension.

My extension renders to MHTML, converts the resulting stream to a
CDO.Message, then manipulates the resulting object. After installing SP1, I
get an exception during this process.

I also noticed that after installing SP1, my report snapshots have gone from
about 55K to 15K.

Has the MHTML rendering changed between RTM and SP1? Is there any
documentation for how it's changed?

Regards, Jonathan

RE: Change in MHTML rendering in SP1? Jonathan Levine
12/9/2004 1:43:01 AM
Michael,

Thanks for your quick reply.

[quoted text, click to view]

After I Render the report, I convert it to a CDO.Message and then try to
open the body using CDO.IBodyPart.GetDecodedContentStream(). The exception
is basically a COMException.

[quoted text, click to view]
Yes.

[quoted text, click to view]
Yes, it looks fine.

Reporting Services RTM used to render MHTML into a "text/html" type message
if there were no graphics in the report. It looks to me like SP1 now always
renders as "multipart/related." I'm able to traverse the "multipart/related"
message to find the "text/html" part.

No problem, but it would have been nice to document. I only found out after
the change broke my delivery extension.

Regards,

Jonathan
RE: Change in MHTML rendering in SP1? v-mingqc NO[at]SPAM online.microsoft.com
12/9/2004 9:25:11 AM
Hi Jonathan,

What's the exactly exception you encounter? Have you installed Reporting
Services Services Pack 1 successfully? Even the size the snapshot seems go
down, does the snapshot looks exactly as you expected?

Based on my knowledge, there is only one issue about rendering mhtml fixed
in SP1, see the following knowledge base articles below and no other
changes in rendering were made.

FIX: Bookmark links in a report that is rendered to the Web archive file
format (.mhtml) may not work correctly
http://support.microsoft.com/kb/842534


Sincerely yours,

Michael Cheng

Online Partner Support Specialist
Partner Support Group
Microsoft Global Technical Support Center
---------------------------------------------------------------
Get Secure! - http://www.microsoft.com/security

This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!

RE: Change in MHTML rendering in SP1? v-mingqc NO[at]SPAM online.microsoft.com
12/10/2004 8:08:47 AM
Hi Jonathan,

I will try to find somebody from development team to see whether he knows
the answer and there is any documents about this available. I will keep you
updated.


Sincerely yours,

Michael Cheng

Online Partner Support Specialist
Partner Support Group
Microsoft Global Technical Support Center
---------------------------------------------------------------
Get Secure! - http://www.microsoft.com/security

This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!

RE: Change in MHTML rendering in SP1? v-mingqc NO[at]SPAM online.microsoft.com
12/13/2004 6:34:45 AM
HI Jonathan,

It seems the snapshot size (in the report server catalog) has decreased,
because they are compressed in SP1 (unless snapshot compression is turned
off). However, I am not sure why SP1 always renders as "multipart/related"
as you said and no relative documents.


Sincerely yours,

Michael Cheng

Online Partner Support Specialist
Partner Support Group
Microsoft Global Technical Support Center
---------------------------------------------------------------
Get Secure! - http://www.microsoft.com/security

This posting is provided "as is" with no warranties and confers no rights.
Please reply to newsgroups only, many thanks!
AddThis Social Bookmark Button