Re: [mapguide-users] mg-Desktop crash when started without network connection
I found the problem! Apparently Windows Search Service has a task called SearchIndexer.exe. This process handles the indexing of your files for the search engine. If you remove a file the SearchIndexer removes it from the index. And vice versa. On this ( somewhat old) computer this caused a race condition between the removing and adding of new shape-files and the indexing. After I stopped the Windows Search service the program worked as intended. Thanks for the tip Jackie. /Per -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mg-Desktop-crash-when-started-without-network-connection-tp5244894p5245875.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
Re: [mapguide-users] mg-Desktop crash when started without network connection
Good to know! - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mg-Desktop-crash-when-started-without-network-connection-tp5244894p5245878.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
Re: [mapguide-users] mg-Desktop crash when started without network connection
Try running your mg-desktop application under Process Monitor and see what files are being accessed by the application, keeping an eye on what syscalls are being made (and if it succeeds or fails) for the file SP_JOB.DBF - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mg-Desktop-crash-when-started-without-network-connection-tp5244894p5244946.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
Re: [mapguide-users] mg-Desktop crash when started without network connection
It crashes but not on the same file. This is what Process Monitor logs when the exception occures. Date & Time:2016-01-13 14:16:20 Event Class:File System Operation: CreateFile Result: DELETE PENDING Path: C:\Program Files\Vitec Energy\Satellite\Repositories\Library\DataFiles\NetOnWeb\Data\SP_JORDTAG_HOGS.FeatureSource\SP_JORDTAG_HOGS.dbf TID:436 Duration: 0.0001540 Desired Access: Generic Write, Read Attributes Disposition:OverwriteIf Options:Synchronous IO Non-Alert, Non-Directory File Attributes: n/a ShareMode: Read, Write, Delete AllocationSize: 0 The file is also accessed some miliseconds before to preform the operation "SetDispositionInformationFile". Does this occur because the computer is too slow? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mg-Desktop-crash-when-started-without-network-connection-tp5244894p5244995.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