<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I went back and double-checked the error I
get when the wrong version of .Net is set.&nbsp; It gives roughly the same
error as you are seeing, but the compiler errors are different.&nbsp; And I see
now that yours was already naming .Net 2.0.&nbsp; So that&#8217;s not the
problem.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Then I removed all of the files in dotnetviewersample\bin
and tried the sample again.&nbsp; I get the exact same error messages you are
seeing.&nbsp; So the solution made earlier by Shailesh may work for you.&nbsp; If
you haven&#8217;t already checked that, make sure you have copied all of the
files from mapviewernet\bin into dotnetviewersample\bin.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Good luck,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>John<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> sukalyan
chakraborty [mailto:chakraborty.sarkar@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, June 30, 2006 8:19
AM<br>
<b><span style='font-weight:bold'>To:</span></b> users@mapguide.osgeo.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [mapguide-users]
PLease Help He</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>But John till now getting the same error <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Look My Point:<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I'm Successfully running the pages through MGStudio using <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><a
href="http://127.0.0.1/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fLayers%2flayout.WebLayout">http://127.0.0.1/mapguide/mapviewerajax/?WEBLAYOUT=Library%3a%2f%2fLayers%2flayout.WebLayout</a><o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>but it is giving error when i'm trying some sample pages using<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><a href="http://127.0.0.1/mapguide/">http://127.0.0.1/mapguide/</a>
..... /pagename.aspx<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>such as dotnetviewer sample.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>also when i'm browsing the path<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>C:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\mapviewernet<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>from IIS Window then also giving the error but it different ..<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>it then tells that Invalid username Or password .<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>the authentication window is not comming..<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Please Help how Can I Get The Soltion.... Please...<br>
<br>
&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 6/30/06, <st1:PersonName w:st="on"><b><span
 style='font-weight:bold'>John Cachat</span></b></st1:PersonName> &lt;<a
href="mailto:jcachat@agti.com">jcachat@agti.com</a>&gt; wrote:</span></font></span>
<o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Check the version of .Net
for the &quot;mapguide&quot; web site.&nbsp;&nbsp;I had this problem just
yesterday after installing the latest build of MG Enterprise 2007 to a fresh
2003 server.&nbsp;&nbsp;It seems the install either does not install .Net 2.0
or does not set the correct version when it creates the virtual
directory.&nbsp;&nbsp;Changing it from 1.0 to 2.0 fixed the problem for me.<br>
<br>
Hope that helps,<br>
John<br>
<br>
<br>
<br>
________________________________<br>
<br>
From: sukalyan chakraborty [mailto:<a href="mailto:chakraborty.sarkar@gmail.com">chakraborty.sarkar@gmail.com</a>]<br>
Sent: Fri 6/30/2006 5:33 AM<br>
To: <a href="mailto:users@mapguide.osgeo.org">users@mapguide.osgeo.org</a> <br>
Subject: [mapguide-users] PLease Help He<br>
<br>
<br>
please help me...<br>
<br>
<br>
When I'm Running pages from MGStudio then it is running fine but<br>
If I running like<br>
<br>
<a
href="http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx">http://localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx</a><br>
or<br>
<a href="http://localhost/mapguide/dotnetviewersample/dwfviewersample.aspx">http://localhost/mapguide/dotnetviewersample/dwfviewersample.aspx
</a><br>
then getting the error<br>
<br>
I'm using Framework v2.0.50727<br>
<br>
<br>
Server Error in '/mapguide' Application.<br>
________________________________<br>
<br>
<br>
<br>
Compilation Error<br>
<br>
Description: An error occurred during the compilation of a resource required to
service this request. Please review the following specific error details and
modify your source code appropriately. <br>
<br>
Compiler Error Message: CS0246: The type or namespace name 'OSGeo' could not be
found (are you missing a using directive or an assembly reference?)<br>
<br>
Source Error:<br>
<br>
<br>
<br>
Line 17: &lt;%@ Import Namespace=&quot; System.Collections&quot; %&gt;<br>
Line 18: &lt;%@ Import Namespace=&quot;System.IO&quot; %&gt;<br>
Line 19: &lt;%@ Import Namespace=&quot;OSGeo.MapGuide&quot; %&gt;<br>
Line 20: &lt;script language=&quot;c#&quot; runat=&quot;server&quot;&gt; <br>
Line 21:<br>
<br>
Source File: c:\Program Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\utilityfunctions.aspx&nbsp;&nbsp;&nbsp;&nbsp;Line:
19<br>
<br>
<br>
<br>
Show Detailed Compiler Output:<br>
<br>
C:\WINDOWS\system32&gt;
&quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe&quot; /t:library
/utf8output /R:&quot;C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll&quot;
/R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll&quot;
/R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll&quot;
/R:&quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll&quot;
/R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll&quot;
/R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll&quot;
/R:&quot;C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll&quot;
/R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll&quot;
/R:&quot;C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll&quot;
/R:&quot;C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll&quot;
/out:&quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary <br>
<a href="http://ASP.NET">ASP.NET</a>
Files\mapguide\6330db03\7cea0d17\App_Web_ajaxtiledviewersample.aspx.305c7238.rr15dqlk.dll&quot;
/debug- /optimize+
/win32res:&quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary <br>
<a href="http://ASP.NET">ASP.NET</a>
Files\mapguide\6330db03\7cea0d17\3tjlg3zd.res&quot; /w:4
/nowarn:1659;1699&nbsp;&nbsp;&quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
<a href="http://ASP.NET">ASP.NET</a>
Files\mapguide\6330db03\7cea0d17\App_Web_ajaxtiledviewersample.aspx.305c7238.rr15dqlk.0.cs&quot;
&quot;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary <br>
<a href="http://ASP.NET">ASP.NET</a>
Files\mapguide\6330db03\7cea0d17\App_Web_ajaxtiledviewersample.aspx.305c7238.rr15dqlk.1.cs&quot;<br>
<br>
<br>
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42<br>
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727<br>
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.<br>
<br>
c:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\utilityfunctions.aspx(19,11):
error CS0246: The type or namespace name 'OSGeo' could not be found (are you
missing a using directive or an assembly reference?) <br>
c:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\utilityfunctions.aspx(39,24):
error CS0246: The type or namespace name 'MgMap' could not be found (are you
missing a using directive or an assembly reference?) <br>
c:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\utilityfunctions.aspx(39,1):
error CS0246: The type or namespace name 'MgLayer' could not be found (are you
missing a using directive or an assembly reference?) <br>
c:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\utilityfunctions.aspx(55,26):
error CS0246: The type or namespace name 'MgByteReader' could not be found (are
you missing a using directive or an assembly reference?) <br>
<br>
<br>
Show Complete Compilation Source:<br>
<br>
Line 1:&nbsp;&nbsp;&nbsp;&nbsp;&lt;%--<br>
Line 2:&nbsp;&nbsp;&nbsp;&nbsp;Copyright (C) 2004-2006&nbsp;&nbsp;Autodesk,
Inc.<br>
Line 3:&nbsp;&nbsp;&nbsp;&nbsp;This library is free software; you can
redistribute it and/or<br>
Line 4:&nbsp;&nbsp;&nbsp;&nbsp;modify it under the terms of version 2.1 of the
GNU Lesser<br>
Line 5:&nbsp;&nbsp;&nbsp;&nbsp;General Public License as published by the Free
Software Foundation.<br>
Line 6:<br>
Line 7:&nbsp;&nbsp;&nbsp;&nbsp;This library is distributed in the hope that it
will be useful,<br>
Line 8:&nbsp;&nbsp;&nbsp;&nbsp;but WITHOUT ANY WARRANTY; without even the
implied warranty of <br>
Line 9:&nbsp;&nbsp;&nbsp;&nbsp;MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.&nbsp;&nbsp;See the GNU<br>
Line 10:&nbsp;&nbsp; Lesser General Public License for more details.<br>
Line 11:<br>
Line 12:&nbsp;&nbsp; You should have received a copy of the GNU Lesser General
Public <br>
Line 13:&nbsp;&nbsp; License along with this library; if not, write to the Free
Software<br>
Line 14:&nbsp;&nbsp; Foundation, Inc., <st1:Street w:st="on"><st1:address
 w:st="on">51 Franklin St</st1:address></st1:Street>, Fifth Floor, <st1:place
w:st="on"><st1:City w:st="on">Boston</st1:City>, <st1:State w:st="on">MA</st1:State>&nbsp;&nbsp;<st1:PostalCode
 w:st="on">02110-1301</st1:PostalCode>&nbsp;&nbsp;<st1:country-region w:st="on">USA</st1:country-region></st1:place><br>
Line 15:&nbsp;&nbsp; --%&gt;<br>
Line 16:<br>
Line 17:&nbsp;&nbsp; &lt;%@ Import Namespace=&quot; System.Collections&quot;
%&gt;<br>
Line 18:&nbsp;&nbsp; &lt;%@ Import Namespace=&quot;System.IO&quot; %&gt;<br>
Line 19:&nbsp;&nbsp; &lt;%@ Import Namespace=&quot;OSGeo.MapGuide&quot; %&gt;<br>
Line 20:&nbsp;&nbsp; &lt;script language=&quot;c#&quot;
runat=&quot;server&quot;&gt; <br>
Line 21:<br>
Line 22:&nbsp;&nbsp; NameValueCollection GetParameters()<br>
Line 23:&nbsp;&nbsp; {<br>
Line 24:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return Request.HttpMethod ==
&quot;GET&quot; ? Request.QueryString : Request.Form;<br>
Line 25:&nbsp;&nbsp; }<br>
Line 26:<br>
Line 27:&nbsp;&nbsp; void InitializeWebTier() <br>
Line 28:&nbsp;&nbsp; {<br>
Line 29:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Initialize web tier with the
site configuration file.&nbsp;&nbsp;The config<br>
Line 30:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // file should be in the same
folder as this script.<br>
Line 31:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //<br>
Line 32:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string realPath = Request.ServerVariables[&quot;APPL_PHYSICAL_PATH&quot;];<br>
Line 33:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String configPath
=&nbsp;&nbsp;realPath + &quot;webconfig.ini&quot;;<br>
Line 34:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
MapGuideApi.MgInitializeWebTier(configPath);<br>
Line 35:&nbsp;&nbsp; }<br>
Line 36: <br>
Line 37:&nbsp;&nbsp; // Searches the map for a layer with the specified name.<br>
Line 38:<br>
Line 39:&nbsp;&nbsp; MgLayer GetLayerByName(MgMap map, String layerName)<br>
Line 40:&nbsp;&nbsp; {<br>
Line 41:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MgLayer layer = null;<br>
Line 42:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (int i = 0; i &lt;
map.GetLayers().GetCount(); i++)<br>
Line 43:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
Line 44:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MgLayer
nextLayer = map.GetLayers().GetItem(i);<br>
Line 45:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if
(nextLayer.GetName() == layerName)<br>
Line 46:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
Line
47:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
layer = nextLayer; <br>
Line
48:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
break;<br>
Line 49:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
Line 50:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
Line 51:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return layer;<br>
Line 52:&nbsp;&nbsp; }<br>
Line 53:<br>
Line 54:&nbsp;&nbsp; // Read the content from an MgByteReader and send it back
as the response. <br>
Line 55:&nbsp;&nbsp; void OutputReaderContent(MgByteReader byteReader,
HttpResponse response)<br>
Line 56:&nbsp;&nbsp; {<br>
Line 57:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MemoryStream memBuf = new
MemoryStream();<br>
Line 58:<br>
Line 59:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; byte[] byteBuffer = new
byte[1024]; <br>
Line 60:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int numBytes =
byteReader.Read(byteBuffer, 1024);<br>
Line 61:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; while(numBytes &gt; 0)<br>
Line 62:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
Line 63:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
memBuf.Write(byteBuffer, 0, numBytes);<br>
Line 64:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; numBytes =
byteReader.Read(byteBuffer, 1024);<br>
Line 65:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
Line 66:<br>
Line 67:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; response.ContentType =
byteReader.GetMimeType();<br>
Line 68:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; byte [] content =
memBuf.ToArray();<br>
Line 69:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; response.OutputStream.Write
(content , 0, content.Length);<br>
Line 70:&nbsp;&nbsp; }<br>
Line 71:<br>
Line 72:&nbsp;&nbsp; &lt;/script&gt;<br>
Line 73:<br>
<br>
<br>
<br>
________________________________<br>
<br>
Version Information: Microsoft .NET Framework Version:2.0.50727.42 ; <a
href="http://ASP.NET">ASP.NET</a> Version:2.0.50727.42<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: <a href="mailto:users-unsubscribe@mapguide.osgeo.org">users-unsubscribe@mapguide.osgeo.org
</a><br>
For additional commands, e-mail: <a href="mailto:users-help@mapguide.osgeo.org">users-help@mapguide.osgeo.org</a><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>