[mapguide-users] error running dotnetviewersample

Andy Morsell amorsell at spatialgis.com
Wed Nov 1 21:32:22 EST 2006


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.
 

Andy Morsell, P.E. 
Spatial Integrators, Inc. 
http://www.SpatialGIS.com 

  _____  

From: diditho [mailto:diditho at kompas.co.id] 
Sent: Wednesday, November 01, 2006 5:15 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] error running dotnetviewersample


hi,

i'm running mgos v1.0.2 on win2003 and dotnet 2.0. 
from the previous post, i've already do all the necessay steps to run dotnet
sample
-load "Sheboygan.mgp"
-extract "dotnetviewersample", make it run as aplication
-copy all the "bin" folder from "mapviewernet" to "dotnetviewersample"
-copy the "webconfig".ini file on the "www" root to "dotnetviwersample"

but, there seems an error occured, the message error like this, and it
happens bot on win2003+iis6 and win2000+iis5

Compiler Error Message: CS0117: 'MapGuideApi' does not contain a definition
for 'InitializeSockets'

Source Error:

Line 31:     try

Line 32:     {

Line 33:         MapGuideApi.InitializeSockets();

Line 34:         InitializeWebTier();

Line 35: 
Source File: c:\Program
Files\MapGuideOpenSource\WebServerExtensions\www\dotnetviewersample\ajaxview
ersample.aspx    Line: 33 



how can i fix it?
thankyou

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061101/9a19f207/attachment.html


More information about the Mapguide-users mailing list