Thanks Kenneth, Once you have restarted the MG server (on a nightly script or other reason) the corrupt respository means the MG service will not start so no access to the mapagent APIs. But good tip - thanks.
I ended up having to delete the server\repository files to get MG to recreate them (clean) from scratch. Crispin I'll file a ticket... Kenneth Skovhede, GEOGRAF A/S wrote: > > Could you log the NULL exception with a ticket for Maestro? > > To restore your db, try to go to the webform: > http://localhost/mapguide/mapagent/index.html > > Use the "DeleteResource" function, and in the ResourceId field enter: > "Library://New Folder/" > > Then click Submit, the defect resource should now be removed, and > everything > should work as normal. > > Regards, Kenneth Skovhede, GEOGRAF A/S > > > > Crispin_at_1Spatial skrev: >> All, >> >> Today I destroyed my MG library repository... and I can do it again. >> >> If you want to test this pls back-up first - it's quite easy to do -- for >> example in a training session (oops!) >> I was watching the server in \interactive mode... >> >> * Using Maestro create a new folder at server root "New Folder" >> >> * Drag the folder to the left - NULL exception (folder disappears into a >> black hole) >> >> * Create another new folder at root called the same thing "New Folder" >> >> * Drag the folder to the left - a prompt appears to overwrite - say >> "Yes"... another NULL exception >> >> * Try and restart your MGServer >> --> "An exception occurred in the XML parser" >> >> I have no idea how to get my repository "fixed" apart from re-importing >> from >> a backup package. >> db_recover etc do not help. >> >> Crispin >> >> > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://n2.nabble.com/Don%27t-Try-This-At-Home---Corrupted-DB-XML-Repository-tp3276438p3287652.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
