Gravatar for dipsindol@gmail.com

Question by DEEPTHI KATTA, Dec 21, 2016 1:41 PM

Access Denied on License XML

I am getting the below error on the logs. I verified that We have Coveo Master User in Administrators group and Admins have full control on this path that says access denied below. Also, Network service has full permissions. Any thoughts on what could be causing this exception?

Exception: System.UnauthorizedAccessException
Message: Access to the path 'E:\inetpub\wwwroot\xrs\xyx\etc\data\coveolicense.xml' is denied.
Source: mscorlib
  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.File.InternalDelete(String path, Boolean checkHost)
  at Coveo.SearchProvider.Licensing.LicenseFileCreator.<>c__DisplayClassd.<UpdateLicenseFile>b__c()
  at Coveo.SearchProvider.Licensing.LicenseFileLocker.ExecuteAction(Action p_Action)
  at Coveo.SearchProvider.Licensing.LicenseFileCreator.UpdateLicenseFile(License p_License)
  at Coveo.SearchProvider.Licensing.LicenseManager.EnsureValidLicense()
  at Coveo.SearchProvider.Licensing.LicenseManager.GetLicenseInformation()
  at Coveo.AbstractLayer.License.AdminModuleLicenseHandler.UpdateLicenseWhenRequired()
  at Coveo.AbstractLayer.Communication.CES.AdminModule.SetUpRequirements(String p_ServerUrl, String p_TargetSite, Boolean p_ExpandUsers, ForeignKeysConfiguration p_ForeignKeysConfiguration, IList`1 p_RankingIgnoredFields)
  at Coveo.AbstractLayer.Communication.CES.CESCommunication.InitializeAdminModule()
  at Coveo.AbstractLayer.Communication.CES.CESCommunication.Initialize()
  at Coveo.SearchProvider.AbstractProviderUpdateContext..ctor(ISearchIndexSummary p_IndexSummary, IIndexCommunication p_Communication)
  at Coveo.SearchProvider.ProviderUpdateContext..ctor(ISearchIndex p_Index, IIndexCommunication p_Communication)
  at Coveo.SearchProvider.ProviderIndex.CreateUpdateContext()
  at Coveo.SearchProvider.ProviderIndex.Update(IEnumerable`1 p_IndexableInfo)
Gravatar for flguillemette@coveo.com

Comment by François Lachance-Guillemette, Dec 22, 2016 9:32 AM

Hi @Dipsindol :)

Here are some ideas:

Could the file be in use by another process? Is you application pool really running with the NetworkService identity? Have you tried temporarily setting "Everyone" access to this file? Could the file be in read-only for some reason?

Gravatar for dipsindol@gmail.com

Comment by DEEPTHI KATTA, Dec 29, 2016 2:45 PM

Hey! Thank you for the pointers. We will see what we can do to avoid the error.

0 Reply
Ask a question