In our shop we have two developers building our application using MapSuite Edition. We also have about 8 to 10 other supporting personnel who test and demo our application to our sponsors (end users). We purchased two licenses for Desktop edition development and one license for the WorldMapKitData. We have installed the WorldMapKitData on a computer that is accessible to eveyone within our workgroup. We have modified the sample application delivered with the WorldMapKitData to render the map layer in our application from the 700+ shapefiles in the map kit.
It seems to take under five seconds to render all the shapefiles in the world map layer. However, we have begun to experience times when it code encountered a much longer delay (more than a minute or so). Usually, after the delay the user gets an exception message of "The Process cannot access 'someshape.idx' processor because it is being used by another processor". The 'someshape.idx' is one of the shapefiles in the WorldMapKitData. It seems to be different everytime we see the message.
Is there anyway to control the access to prevent this lockout (deadlock) or whatever it is? Do we need to have some sort of mutex or something on the code to render the shapefiles? Do we need to "close" shapefiles to prevent "in use" locks on the files? I am not sure how to trap this error or determine where or who has a lock on the files.
If anyone has any suggestions it would be greatly appreciated.