<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=425175906-02112006><FONT face=Arial 
color=#0000ff size=2>The real problem is that the samples weren't actually 
updated to reflect the API change.&nbsp; We'll get that 
fixed.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> diditho [mailto:diditho@kompas.co.id] 
<BR><B>Sent:</B> Thursday, November 02, 2006 4:01 AM<BR><B>To:</B> 
users@mapguide.osgeo.org<BR><B>Subject:</B> Re: [mapguide-users] error running 
dotnetviewersample<BR></FONT><BR></DIV>
<DIV></DIV>thankyou, it works like a charm.<BR>better work with vs2005, the 
intelesense helps a lot...<BR><BR>Andy Morsell wrote: 
<BLOCKQUOTE cite=mid001001c6fe27$20951a60$6501a8c0@SPINAJM type="cite">
  <META content="MSHTML 6.00.5730.11" name=GENERATOR>
  <DIV dir=ltr align=left><SPAN class=187173102-02112006><FONT face=Arial 
  color=#0000ff size=2>Remove any InitializeSockets() and TerminateSockets() you 
  run across in the .NET examples and it should then work.&nbsp; They were both 
  removed from the API definition.</FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV><!-- Converted from text/rtf format -->
  <P><SPAN lang=en-us><FONT face=Tahoma size=1>Andy Morsell, P.E.</FONT></SPAN> 
  <BR><SPAN lang=en-us><FONT face=Tahoma size=1>Spatial Integrators, 
  Inc.</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Tahoma size=1><A 
  href="http://www.SpatialGIS.com">http://www.SpatialGIS.com</A></FONT></SPAN> 
  </P>
  <DIV>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> diditho [<A class=moz-txt-link-freetext 
  href="mailto:diditho@kompas.co.id">mailto:diditho@kompas.co.id</A>] 
  <BR><B>Sent:</B> Wednesday, November 01, 2006 5:15 PM<BR><B>To:</B> <A 
  class=moz-txt-link-abbreviated 
  href="mailto:users@mapguide.osgeo.org">users@mapguide.osgeo.org</A><BR><B>Subject:</B> 
  [mapguide-users] error running dotnetviewersample<BR></FONT><BR></DIV><FONT 
  face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">hi,<BR><BR>i'm 
  running mgos v1.0.2 on win2003 and dotnet 2.0. <BR>from the previous post, 
  i've already do all the necessay steps to run dotnet sample<BR>-load 
  "Sheboygan.mgp"<BR>-extract "dotnetviewersample", make it run as 
  aplication<BR>-copy all the "bin" folder from "mapviewernet" to 
  "dotnetviewersample"<BR>-copy the "webconfig".ini file on the "www" root to 
  "dotnetviwersample"<BR><BR>but, there seems an error occured, the message 
  error like this, and it happens bot on win2003+iis6 and 
  win2000+iis5<BR><BR></FONT><FONT 
  face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><B>Compiler 
  Error Message: </B>CS0117: 'MapGuideApi' does not contain a definition for 
  'InitializeSockets'<BR><BR><B>Source Error:<BR></B></FONT><FONT 
  face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><PRE>Line 31:     try
Line 32:     {
<FONT color=red>Line 33:         MapGuideApi.InitializeSockets();
</FONT>Line 34:         InitializeWebTier();
Line 35: </PRE></FONT><FONT 
  face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><B>Source 
  File:</B> c:\Program 
  Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\ajaxviewersample.aspx 
  &nbsp;&nbsp; <B>Line:</B> 33 </FONT><BR><FONT 
  face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><BR><BR><BR>how 
  can i fix it?<BR>thankyou<BR></FONT></BLOCKQUOTE></BODY></HTML>