Products

Solutions

Learn More

Partners

Community

Blog

About

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...Scheduler Exception - Scheduler Event FailureScheduler Exception - Scheduler Event Failure
Previous
 
Next
New Post
11/14/2016 4:09 PM
 

Hi,

Every five minutes or so, my DNN (7.1.2) installation  is throwing two errors which I will list below (removing the empty fields to save space)

Can you help me to fix and stop this from occurring? Thanks!

- Tom

General Exception:

AssemblyVersion:7.1.2

PortalID:-1
UserID:-1
ActiveTabID:-1
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:4f9c16b5-2d02-4a2c-b9df-e50a35bc3b5b
InnerException:Access to the path 'D:\Inetpub\SCCInternet\App_Data\Search\write.lock' is denied.
FileLineNumber:0
FileColumnNumber:0
Method:System.IO.__Error.WinIOError
Message:

System.UnauthorizedAccessException: Access to the path 'D:\Inetpub\SCCInternet\App_Data\Search\write.lock' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalDelete(String path, Boolean checkHost)
   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.get_Writer()
   at DotNetNuke.Services.Search.Internals.LuceneControllerImpl.Delete(Query query)
   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()

/------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------/

Scheduler Event Failure:

THREAD ID:54

TYPE:DotNetNuke.Services.Search.SearchEngineScheduler

EXCEPTION:Access to the path 'D:\Inetpub\SCCInternet\App_Data\Search\write.lock' is denied.

RESCHEDULED FOR:11/14/2016 12:53:12 PM

SOURCE:STARTED_FROM_BEGIN_REQUEST

ACTIVE THREADS:0

FREE THREADS:1

READER TIMEOUTS:0

WRITER TIMEOUTS:0

IN PROGRESS:0

IN QUEUE:5

Server Name: SCZAS67

 

 

 
New Post
11/14/2016 9:21 PM
 
please check file system permissions and make sure, access to cache and temp files is not blocked by other processes like Backup and virus scanners.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
 
New Post
11/15/2016 1:59 PM
 
Thanks for your reply.
I did look at the permissions on the folder D:\Inetpub\SCCInternet\App_Data\Search\ (and the write.lock file itself). Permissions are just the same as all the other folders in the website.

Is that what you mean by cache and temp files?

Using Windows 2008 I. I notice don't see Network Service in the permissions though (which is the Identity of the Application Pool) . Maybe that is the problem?

I have Network Service in the permissions on a test installation (DNN 8.0) . Maybe I need it in my production site (which is DNN 7.1.2) . Is the ID of the App Pool necessary to be set in permissions? Is there a difference in this regard between DNN 7.1.2 and DNN 8.0.3?

Thanks
Tom



 
New Post
11/16/2016 6:22 AM
 
you need to grant permission for the Windows account being used by ASP.NET, as configured in Advanced Settings of your IIS Application Pool.
if you selected "Network Service" you'll need to grant permission to it, if it is AppPoolIdentity, you need to grant permission to "AppPool/[AppPoolName]"

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
 
New Post
11/16/2016 12:16 PM
 

Thanks. Should that be for the entire set of files/folders in the DNN installation? And should this be FULL Control permission?

Also Is this the case for all versions of DNN? I'm running 7.1.2 in production, but running 8.0.3 on a test server and looking to upgrade the production site.


Thanks again
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Scheduler Exception - Scheduler Event FailureScheduler Exception - Scheduler Event Failure


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.
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW
DNN Launch Webinar
REGISTER NOW