Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...What is this?! Unable to create Lucene writer (lock file is in use) App_Data\Search\write.lockWhat is this?! Unable to create Lucene writer (lock file is in use) App_Data\Search\write.lock
Previous
 
Next
New Post
9/27/2015 8:06 AM
 

Dear Professional DNN Administrators Please help me to fix this Error that coming all of the time:

AbsoluteURL:

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:2a565915-9937-43ed-b089-b88937b692fa

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:8m11/5eKHP99ORdAbVdIBQ==

Message:Unable to create Lucene writer (lock file is in use). Please recycle AppPool in IIS to release lock.

StackTrace:

   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.get_Writer()
   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.Delete(Query query)
   at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.DeleteSearchDocumentInternal(SearchDocument searchDocument, Boolean autoCommit)
   at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.DeleteSearchDocumentsByModule(Int32 portalId, Int32 moduleId, Int32 moduleDefId)
   at DotNetNuke.Services.Search.SearchDataStore.StoreSearchItems(SearchItemInfoCollection searchItems)
   at DotNetNuke.Services.Search.SearchEngine.IndexContent(DateTime startDate)
   at DotNetNuke.Services.Search.SearchEngineScheduler.DoWork()

InnerMessage:The process cannot access the file 'C:\Inetpub\vhosts\shaghayegh2.com\httpdocs\App_Data\Search\write.lock' because it is being used by another process.

InnerStackTrace:

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at System.IO.File.Delete(String path)
   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.get_Writer()

Source:DotNetNuke

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

نام سرور : ecb

 

 
New Post
9/27/2015 10:55 AM
 
maybe backup of Virus scan blocks the file?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/28/2015 1:35 AM
 

I don't know!

Maybe sebastian, But I use Dedicated Server with  Windows 2012 and use windows Essential Internet Security for protecting my Server. Is it Enough or Need to install other Anti-virus like Kaspersky or...... ? How can I Find problem and fix it?

I remember when I download Persian Version of DNN 7.4.1 from following Link, The Google Chrome alert me this ZIP file is harmful but I could not find any virus inside. 

http://www.dnnsoftware.ir/Portals/0/download/DNN/DNN_Platform_07.04.01_Install.zip

Would you please check it? or some other things that can help me...

 

Thank you dear sebastian

 
New Post
9/28/2015 10:54 AM
 
please note, we dont recommend you download copies of DNN from 3rd party sources, you have no way of knowing if they are the same as DNN or if they have been infected by a virus

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
10/29/2015 4:39 AM
 

Regarding Virus Detection on 3th party, I download your package from codeplex also, I scan it by Virustotal.com and It find again on your package as following Image:

I scan bin folder of your DNN 7.4.2 Release.

And When You using this, you will see several error on your log file because this file is lock:

 AbsoluteURL:
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:540cea8c-4857-4251-8d83-694f3ee64578
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:x4llVsSI2hsWimOp2U3DAg==
Message:Lock obtain timed out: NativeFSLock@C:\Inetpub\vhosts\cms-iran.com\httpdocs\App_Data\Search\write.lock
StackTrace:
 at Lucene.Net.Store.Lock.Obtain(Int64 lockWaitTimeout)
 at Lucene.Net.Index.IndexWriter.Init(Directory d, Analyzer a, Boolean create, IndexDeletionPolicy deletionPolicy, Int32 maxFieldLength, IndexingChain indexingChain, IndexCommit commit)
 at Lucene.Net.Index.IndexWriter..ctor(Directory d, Analyzer a, MaxFieldLength mfl)
 at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.get_Writer()
 at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.Delete(Query query)
 at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.DeleteSearchDocumentInternal(SearchDocument searchDocument, Boolean autoCommit)
 at DotNetNuke.Services.Search.Internals.InternalSearchControllerImpl.DeleteSearchDocumentsByModule(Int32 portalId, Int32 moduleId, Int32 moduleDefId)
 at DotNetNuke.Services.Search.SearchDataStore.StoreSearchItems(SearchItemInfoCollection searchItems)
 at DotNetNuke.Services.Search.SearchEngine.IndexContent()
 at DotNetNuke.Services.Search.SearchEngineScheduler.DoWork()

Is there any Suggestion or help about this mistake?

Thanks

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...What is this?! Unable to create Lucene writer (lock file is in use) App_Data\Search\write.lockWhat is this?! Unable to create Lucene writer (lock file is in use) App_Data\Search\write.lock


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out