[mapguide-users] dotnetviewersample

Warren Medernach warren.medernach at imaginit.ca
Thu Oct 12 10:48:15 EDT 2006


Yes, the InitializeSockets & TerminateSockets calls are no longer
required.
 
Warren Medernach

________________________________

From: Tony Feng [mailto:tonyutada at gmail.com] 
Sent: Thursday, October 12, 2006 7:44 AM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] dotnetviewersample



It seems the interface InitializeSockets() is obsolete, I remembered
there're other interfaces were obsolete as well

You need to remove them all from the sample code.

 

Best Regards:

Tony

 

From: Campbell, Keith A [mailto:keith.campbell at atkinsglobal.com] 
Sent: Thursday, October 12, 2006 7:31 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] dotnetviewersample

 

Does this still work with the latest version (1.0.1)? 

I get this error when trying to access the page:- 

Compilation Error 
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately. 

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
tiledviewersample.aspx    Line: 33 

 

There doesn't seem to be an InitializeSockets method in MapGuideApi now.

Same call is made in the tiled version and the dwf version. 

 

Keith 

 

This email and any attached files are confidential and copyright
protected. If you are not the addressee, any dissemination of this
communication is strictly prohibited. Unless otherwise expressly agreed
in writing, nothing stated in this communication shall be legally
binding.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061012/8f0bc1f2/attachment.html


More information about the Mapguide-users mailing list