Thanks Kenneth, that looks like a useful utility. Could still be a time consuming operation though.
Keith Kenneth Skovhede, GEOGRAF A/S wrote: > > I have no advice for figuring out why it happened in the first place. > > You cannot call any function to get the %MG_DATA_FILE_PATH% mapping. > You may be able to open the dbxml file directly and read out the id's. > > My approach would be to use Process Monitor: > http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx > > You can then filter the list to only include "mgserver.exe". > Then simply access the resource, and the file it accesses should pop up > in Process Monitor. > You now know which file it is actually using. > > Regards, Kenneth Skovhede, GEOGRAF A/S > > > > KeithC skrev: >> i have found duplicate files in the \Server\Repositories\Library\Data >> Files >> folder, e.g. there are 12 copies of the same SDF file in the repositories >> yet only one FeatureSource that relates to the SDF file. There are many >> instances of this, and some of these files are large. >> >> Has anybody else got the same problem? >> >> Why might this have occurred? >> >> And can anybody suggest how to identify which file is actually used by >> MapGuide? The ResourceContent only gives the path to the file as >> %MG_DATA_FILE_PATH% and there doesn't seem to be a way of finding where >> this >> refers to in each case. >> >> Keith >> > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://n2.nabble.com/Duplicate-Orphaned-Resource-Data-Files-tp3514941p3566442.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users