<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Trouble with rendering service</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">I've been having trouble getting the rendering service to produce readable output. I'm using the .NET extensions with mapguide enterprise 2007 and the king oracle provider and trying to output the image to the browser by transferring the MgByteReader into a byte array and then writing it directly to a page response. </FONT></P>

<P><FONT SIZE=2 FACE="Arial">This creates a byte array, but when I read that array to the page or try to save it to disk, it fails to display as an image - in IE it displays as a red X, and the file isn't readable by any image viewers. I've tried with both &quot;PNG&quot; and &quot;JPG&quot; as type strings, with similar results.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Is this the result of calling the service incorrectly? Right now I'm using the call method that uses only them map, selection, and type specifier.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">-Dan</FONT>
</P>

</BODY>
</HTML>