[mapguide-users] resource always exists

mika at digikartta.net mika at digikartta.net
Thu Dec 12 01:52:50 PST 2013


Sorry,
I was too quick, forgot to change the connection back to localnative..
No, this fix doesn't seem to help..

- mika -


mika at digikartta.net kirjoitti 2013-12-12 11:49:
> Yes!
> It works now!
>
> Thanks a lot,
> - mika -
>
>
> Jackie Ng kirjoitti 2013-12-12 11:42:
>> You could try this and see if this works.
>>
>> Go to the LocalNativeProvider/Src directory of the Maestro SDK and 
>> edit
>> LocalNativeConnection.cs
>>
>> Put this method into the LocalNativeConnection class
>>
>>         public override bool ResourceExists(string resourceid)
>>         {
>>             MgResourceIdentifier resId = new
>> MgResourceIdentifier(resourceid);
>>             MgResourceService res =
>> this.Connection.CreateService(MgServiceType.ResourceService) as
>> MgResourceService;
>>             return res.ResourceExists(resId);
>>         }
>>
>> Then build a new local native connection provider using the 
>> ProviderTemplate
>> tool.
>>
>> - Jackie
>>
>>
>>
>> --
>> View this message in context:
>> 
>> http://osgeo-org.1560.x6.nabble.com/resource-always-exists-tp5093874p5093883.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list