<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=996074523-07092006>I've been having
this problem as well.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=996074523-07092006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=996074523-07092006>We're planning to
roll out a viewer for a touchscreen kiosk device and this problem could cause
potential problems for a device that would idle about most of the
time.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=996074523-07092006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=996074523-07092006>What would be the
best course of action here then?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=996074523-07092006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=996074523-07092006>- Re-create the map
on this session repository?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=996074523-07092006>- Trash this current
session and create a new one?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=996074523-07092006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=996074523-07092006></SPAN></FONT><FONT
face="Lucida Sans Unicode" size=2>Regards,</FONT></DIV>
<DIV align=left>
<P align=left><FONT face="Lucida Sans Unicode" size=2>Jackie Ng</FONT></P>
<P align=left><FONT face="Lucida Sans Unicode" color=#0000ff size=2>AEC Spatial
Pty Ltd. / AEC Systems Pty Ltd.</FONT><BR><SPAN lang=en-au><FONT
face="Lucida Sans Unicode" color=#0000ff size=2>SYDNEY - MELBOURNE - BRISBANE -
PERTH - ADELAIDE - HOBART</FONT></SPAN> <SPAN lang=en-au><FONT
face="Lucida Sans Unicode" color=#0000ff size=2><FONT size=2></P>
<P>A.B.N: 32 075 809 451</P></FONT></FONT></SPAN>
<P><SPAN lang=en-au><FONT face="Lucida Sans Unicode" color=#0000ff size=2>Level
4, 37-41 Prospect St. Box Hill, Victoria, 3128</FONT></SPAN></P>
<P><SPAN lang=en-au><FONT face="Lucida Sans Unicode" size=2>Phone: 1300 368
609</FONT></SPAN> <BR><SPAN lang=en-au><FONT face="Lucida Sans Unicode"
size=2>Fax: 1300 362 140</FONT></SPAN> </P>
<P><SPAN lang=en-au><FONT face="Lucida Sans Unicode"
size=2>www.aecsystems.com.au</FONT></SPAN> <BR><FONT face=Arial size=2><A
href="mailto:jackie.ng@aecsystems.com.au">jackie.ng@aecsystems.com.au</A></FONT></P>
<P>
<HR>
</P></DIV>
<DIV><PRE>Content-Type: text/plain;
        charset="iso-8859-1"
Date: Thu, 7 Sep 2006 08:56:21 -0700
From: Steve Dang <steve.dang@autodesk.com>
Subject: [mapguide-users] "Resource was not found" error
</PRE><PRE>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@onf.fr]
Sent: Thursday, September 07, 2006 9:34 AM
To: users@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.</PRE></DIV></BODY></HTML>