Hello vipul patel,
Try restarting the application. This will release the locked files. You could also delete your index and recreate it. Remove manually the files from App_Data/Search/[your index name]. The problem is that the directory AllPagesIndex\Index\
has been locked by a process that does not want to release it. You could use some external tool to identify what exactly is locking the directory and release it by terminating the process.
You are getting the error because the index files used to store search data that are located the specified by this error path cannot be read. They are locked by another process and ASP.NET cannot unlock them. Most probably the ASP.NET account does not have full permissions over App_Data or another process uses these files.
The files that are generated under App_Data/Search/YOUR_INDEX/Index are generated by Lucene search engine that we use. These are the segment files that collects data for the searched items. It is normal to see some changes to the file names or status of the files during indexing, because lucene is conducting its own processes. This is why this files are placed in App_Data where ASP.NET worker process should have read/write permissions.
The error could be result if you do not have enough storage on your server The locking us used by Lucene API, because this caches the directories and ensures that there is a unique Directory, so that synchronization on the Directory can be used to synchronize access between readers and writers.
When you run the index the files from the Search folder get locked because Lucene reads them. The lock ensures that one thread does not enter a critical section of code while another thread is in the same section. Lucene also uses the Temp Windows folder in its background, so the ASP.NET account needs write permissions there
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items