<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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">
<title></title>
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.5730.11" name="GENERATOR">
<div dir="ltr" align="left"><span class="187173102-02112006"><font
color="#0000ff" face="Arial" 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
[<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
<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>