[mapguide-users] error running dotnetviewersample

diditho diditho at kompas.co.id
Wed Nov 1 22:01:27 EST 2006


thankyou, it works like a charm.
better work with vs2005, the intelesense helps a lot...

Andy Morsell wrote:
> 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\ajaxviewersample.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/20061102/9438dc11/attachment.html


More information about the Mapguide_users mailing list