[mapguide-users] "Resource was not found" error
Steve Dang
steve.dang at autodesk.com
Thu Sep 7 11:56:21 EDT 2006
François,
Don't know why that failed.
Currently, there is no API to check if the resource exists in the session repository. However, you can use GetResourceContent. This API returns the resource content or throws MgResourceNotFoundException.
Steve.
-----Original Message-----
From: François Van Der Biest [mailto:francois.van-der-biest at onf.fr]
Sent: Thursday, September 07, 2006 9:34 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] "Resource was not found" error
Hi list,
I am still experimenting problems when my application loads in the
taskframe (MGE2007) :
I sometimes get the following error :
"Resource was not found:
Session:c4a74676-ffff-ffff-8000-001372fe065a_en//carte1.Map"
... when I want to load the map from session repository, using
$map->Open($resourceService,'carte1');
Yet, the resourceService seems to be created successfully ... and I know
the session has not expired, since I refresh it every five minutes.
Can you give me some hints why this fails ?
How can I check if the resource exists in the session repository ?
F.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide-users
mailing list