Access Denied during Index Merging

Subscribe to Access Denied during Index Merging 6 posts, 2 voices

 
Avatar ScottBurkhalter 10 posts

Just installed Koders Pro on a clean system running XP SP2. Added 15 projects to a single repository. After they are crawled and indexed the setup app status shows “Merge Failed: 15” with the following elaboration associated with each project:

Access to the path 'C:\Program Files\Koders\Pro\FileStore\MasterIndexCache\Index.0\' is denied

I’ve rebooted since the install, just to see if that helped to fix the problem, then ran Crawl and Index all, but ended up with the same problem.

Any tips?

Thanks! Scott Burkhalter

 
Avatar BenMcDonald 44 posts

I am going to take a stab in the dark and ask if you deleted the sample indexes before you added your own code (or decided to delete all code and start over).

If that is the issue, then you will need to delete the c:\Program Files\Koders\Pro\FileStore\MasterIndexCache\ directory and reindex everything.

Let me know if that works for you.

Cheers, Ben

 
Avatar ScottBurkhalter 10 posts

Nice stab. Okay, I’m trying that – thanks for your help

 
Avatar ScottBurkhalter 10 posts

The merging error is gone now. The crawling completed, and then the process ended with a Verify Failed for all of the projects:

Each of the failed files has XML contents. Do I need to configure the index parser somehow?

Here’s the dump from the log

2007-09-20 10:06:47,173 [633258794230921797] ERROR b8 (a:0) (null) – Could not find a unique database record for FileHash AE542CA53C862C8472497DEF644FE21DAC801040. 0 records were found. [ProjectID:51;cachedfilepath:G:\cc\views\mainline\Report\UnitTests\AutoDocs\CRC.Component.xml;hash:AE542CA53C862C8472497DEF644FE21DAC801040;] 2007-09-20 10:06:47,220 [633258794230921797] ERROR b8 (a:0) (null) – Could not find a unique database record for FileHash B6F1C12F02E7D50627A85CB4F11E79B43BD1A84A. 0 records were found. 2007-09-20 10:18:18,957 [633258791603826926] ERROR if (a:0) (null) – Error while handling project-level task System.NullReferenceException: Object reference not set to an instance of an object. at Koders.KodeShare.Persistence.NHibernateCore.PersistenceManagers.ProjectPersistenceManager.UpdateProjectAfterIndexer(Project P, String extraData) at if.a(Object A_0)

.
. same message repeated many times
.
 
Avatar ScottBurkhalter 10 posts

I got it working by going back to the C:\Program Files\Koders\Pro\FileStore directory and deleting both the MasterIndexCache and the ProjectIndexCache – then restarting the crawl and index all operation.

note to anyone else, you must stop the indexing service and close the Pro Setup app to make these changes to the file structure. You can stop the server using the Pro Setup tool – look for Indexing Service in the bottom left corner and click to expose the control context menu.

Thanks for your help BenMac

 
Avatar BenMcDonald 44 posts

Way to go Scott… this might actually turn out to be a bigger problem then we though as I have already had to explain to a few people how to do this, we will get it fixed in an upcoming version.

AND IT’S “Mc” not “Mac”!! :)

“They got the Big Mac, I got the Big Mick” – Coming to America