cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ARL/SKU - Update failing - Access to the path 'ARLCreateTables.sql' is denied

Hi All,

ARL/SKU auto update is not happening and when i tried kicking off the manula update by running "MgsImportRecognition.exe" through powershell, i am getting below error :

========================================
[2020-07-08 14:24:46,743] [INFO ] ARL tasks (All) have begun...
[2020-07-08 14:24:46,759] [INFO ] Downloading (using WebDownloader) https://www.managesoft.com/support/Compliance/RecognitionAfter82.cab
[2020-07-08 14:24:46,774] [WARN ] RecognitionAfter82.cab download attempt 1 of 5 failed with System.Net.WebException: An exception occurred during a WebClient request.
[2020-07-08 14:24:46,774] [INFO ] Waiting 10 seconds before trying again
[2020-07-08 14:24:56,788] [WARN ] RecognitionAfter82.cab download attempt 2 of 5 failed with System.Net.WebException: An exception occurred during a WebClient request.
[2020-07-08 14:24:56,788] [INFO ] Waiting 20 seconds before trying again
[2020-07-08 14:25:16,804] [WARN ] RecognitionAfter82.cab download attempt 3 of 5 failed with System.Net.WebException: An exception occurred during a WebClient request.
[2020-07-08 14:25:16,804] [INFO ] Waiting 40 seconds before trying again
[2020-07-08 14:25:56,807] [WARN ] RecognitionAfter82.cab download attempt 4 of 5 failed with System.Net.WebException: An exception occurred during a WebClient request.
[2020-07-08 14:25:56,807] [INFO ] Waiting 80 seconds before trying again
[2020-07-08 14:27:16,822] [WARN ] RecognitionAfter82.cab download attempt 5 of 5 failed with System.Net.WebException: An exception occurred during a WebClient request.
[2020-07-08 14:27:16,822] [INFO ] Cleaning folder "C:\ProgramData\Flexera Software\FlexNet Manager Platform\DataImport\Content\ARL"
[2020-07-08 14:27:16,822] [INFO ] Deleting directory "C:\ProgramData\Flexera Software\FlexNet Manager Platform\DataImport\Content\ARL\.temp-extract"
[2020-07-08 14:27:16,822] [ERROR] Unexpected error occured
[2020-07-08 14:27:16,837] [ERROR] ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.ContentCleanupException: Could not clean ARL/SKU/EOSL folders ---> System.UnauthorizedAccessException: Access to the path 'ARLCreateTables.sql' is denied.
   at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
   at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
   at ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.ContentImport.CleanFolder(DirectoryInfo directoryInfo)
   at ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.ContentImport.Run(EARLImportMode mode, String groupName)
   --- End of inner exception stack trace ---
   at ManageSoft.Compliance.Logic.Core.Impl.Licensing.RecognitionImport.ContentImport.Run(EARLImportMode mode, String groupName)
   at ManageSoft.Compliance.Console.RecognitionImportTool.ImportRecognition()
[2020-07-08 14:27:16,837] [ERROR] Could not clean ARL/SKU/EOSL folders
[2020-07-08 14:27:16,837] [ERROR] Access to the path 'ARLCreateTables.sql' is denied.
[2020-07-08 14:27:16,962] [ERROR] ARL/SKU/EOSL tasks (All) have failed. Please check the ARL/SKU log files for the detailed error message.
===========================
 
can some one suggest any fix.
It was Last successfully update: on 2nd of July and version is at : 2520

Thanks,
Sushant

(1) Reply
ChrisG
By Community Manager Community Manager
Community Manager
I wonder if the account you are using to run MgsImportRecognition.exe does not have appropriate access rights to files under the C:\ProgramData\Flexera Software\FlexNet Manager Platform\DataImport\Content directory. Typically this process would be run using the FlexNet Manager Suitei service account, which should have local administrator rights on the batch server.
(Did my reply solve the question? Click "ACCEPT AS SOLUTION" to help others find answers faster. Liked something? Click "KUDO". Anything expressed here is my own view and not necessarily that of my employer, Flexera.)