+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Error message when deleting blog post

Error message when deleting blog post

7 posts, 0 answered
  1. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    29 Nov 2010
    Link to this post
    Hi Guys,

    Can you please have a look at this error message I am getting when I try to delete a blog post?

    Thanks
  2. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    29 Nov 2010
    Link to this post
    We're using source safe to manage files among developers and think it might be because SourceSafe is locking these files?
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    29 Nov 2010
    Link to this post
    Hi James,

    Can you show the error from App_Data/stiefinity.log file?

    Regards,
    Ivan Dimitrov
    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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  4. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    29 Nov 2010
    Link to this post
    Hi Ivan,

    Do you have an email address I can send it to please? Don't want to post something with client information in it, as it;s happened that a client before has found in a Google search a post about their site here.

    Thanks,
    James
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    30 Nov 2010
    Link to this post
    Hi James,

    You can use the support system, but most probably someone has locked the file.

    Sincerely yours,
    Ivan Dimitrov
    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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    01 Dec 2010
    Link to this post
    Hi Ivan,

    I seem to be having this issue on every page that I try and save. I have checked out all the files from our SourceSafe prior to uploading and then uploaded to our server.

    Once I make changes to a page, I get this kind of error:
    Lock obtain timed out: SimpleFSLock@C:\inetpub\wwwroot\_Demos\Nedoweb.com (nedoweb.com)\App_Data\Search\Search-All-Content\Index\write.lock

    Now that write.lock file does not exist at all in the folder.

    Can you please shed some light on other possibilities around this?

    Thanks,
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    01 Dec 2010
    Link to this post
    Hi James,

    The search engine stores its files in App_Data/Search folder. The Lucene search engine generates segment files there. Each time you Create, Update or Delete a content item or a page the Search Index runs in the background. This causes updating of the segment files( increasing or decreasing the size).

    If there is not enough storage the segment files cannot be updated.
    If the account that runs application pool does not have permissions (full) over App_Data the file could be
    locked.
    If these files are used by another process they cannot be unlocked.

    Lucene also uses the Temp Windows folder in its background, so it it's full the same problem appears.
    The locking is used by Lucene API, bacause 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.

    The error you are getting is because Lucene or other application is locked segments file and until the process that is being conducted  complete the file will not be unlocked.
    Try restarting the application. This will release the locked files..You could use some external tool to identify what exactly is locking the directory and release it by terminating the process.
    You could also delete your index and recreate it. Remove manually the files from App_Data/Search/[your index name].

    Best wishes,
    Ivan Dimitrov
    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? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
7 posts, 0 answered