[mapguide-users] dotnetviewersample

Tony Feng tonyutada at gmail.com
Thu Oct 12 09:43:48 EDT 2006


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\ajaxtile
dviewersample.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/b88a4369/attachment.html


More information about the Mapguide-users mailing list