[mapguide-users] problem using MgResourceService

porta giorgio hopera at yahoo.com
Thu Apr 26 08:35:28 EDT 2007


Hi,

i'm not be able to use MgResourceService.
the code i'm using ( c# ) is the following : 

.......

siteConnection = new MgSiteConnection();
siteConnection.Open(userInfo);
        
MgResourceService resourceService = siteConnection.CreateService(MgServiceType.ResourceService) as MgResourceService;

MgMap map = new MgMap();

// error NOTE "GeoSet" is the correct map name
map.Open(resourceService, "GeoSet");


The error i've is :

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
Exception Details: OSGeo.MapGuide.MgInvalidArgumentException: Argomento/i non valido/i:
[0] = " "
La stringa non può essere vuota.



I've no idea.
Thank you in advance to all 

GD

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the mapguide-users mailing list