[mapguide-users] Modify layout with anonymous user

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Thu Jun 18 03:03:23 EDT 2009


You mention "layout resource", but the message states a MapDefinition is 
saved?
Anonymous can only save to the same session, only Administrator can save 
across
sessions.

As for the parse error, your document is likely invalid.

For (Sample 1), can you post the related code?
For (Sample 2), can you post a binary copy of the document you are 
trying to save?

Regards, Kenneth Skovhede, GEOGRAF A/S



euskalmap skrev:
> Hi,
> I modify, by c# script, the name of the layout resource; i use the
> MgUserInformation function with Anonymous user without password. 
> sample1 : In mapguide administrator this user have no role => so when i load
> the page i have this message : 
> Permission denied to resource:
> Session:98d50e40-ffff-ffff-8000-0016d44491c1_en_7F0000010AFC0AFB0AFA//Map_40312.MapDefinition 
> sample 2 : if i add the role Adminstrator and Map Author of the Anonymous
> user, i have this message :
> An exception occurred in DB XML component. Error: XML Indexer: Fatal Parse
> error in document at line, 1, char 1. Parser message: Invalid document
> structure 
>
> I understand anything ! Have you an idea ?
>
> Thanks
>   


More information about the mapguide-users mailing list