<!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.5730.11" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<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. They were both
removed from the API definition.</FONT></SPAN></DIV>
<DIV> </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 [mailto:diditho@kompas.co.id]
<BR><B>Sent:</B> Wednesday, November 01, 2006 5:15 PM<BR><B>To:</B>
users@mapguide.osgeo.org<BR><B>Subject:</B> [mapguide-users] error running
dotnetviewersample<BR></FONT><BR></DIV>
<DIV></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
<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></BODY></HTML>