[mapguide-users] error running dotnetviewersample

Walt Welton-Lair walt.welton-lair at autodesk.com
Thu Nov 2 02:00:08 EST 2006


The real problem is that the samples weren't actually updated to reflect
the API change.  We'll get that fixed.

  _____  

From: diditho [mailto:diditho at kompas.co.id] 
Sent: Thursday, November 02, 2006 4:01 AM
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] error running dotnetviewersample


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\ajax
viewersample.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/92c08f34/attachment.html


More information about the Mapguide_users mailing list