[
https://issues.apache.org/jira/browse/LUCENENET-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16091413#comment-16091413
]
irakli gabisonia commented on LUCENENET-591:
--------------------------------------------
Solution was to change Lucene.Net.Store.Azure.AzureDirectory s CacheDirectory
path to D:/Home/AzureDirectory
AzureDirectory(cloudStorageAccount, containerName, FSDirectory.Open(new
DirectoryInfo("D:/Home/AzureDirectory")))
> Lucene.Net On Azure App Service
> -------------------------------
>
> Key: LUCENENET-591
> URL: https://issues.apache.org/jira/browse/LUCENENET-591
> Project: Lucene.Net
> Issue Type: Bug
> Reporter: irakli gabisonia
>
> Hi,
> I'm not exactly sure if this is a bug but I can't find solution for this
> issue.
> We Have search implemented using Lucene.Net, Indexes are stored in Azure
> Storage Folder, Few days ago we moved our Web Application From Azure
> CloudService To Azure AppService. If we run this locally it works as
> expected, also works in CloudService But when we published our Web
> Application to Azure AppService we have below Exception:
> System.UnauthorizedAccessException: Access to the path 'D:\AzureDirectory' is
> denied.
> tried to update AzureDirectory and Azure Storage packages but it's not
> working.
> [#https://stackoverflow.com/questions/45133313/cant-access-to-azure-storage-using-lucene-net-and-azure-app-service]
> I asked it on stackoverflow but still cant find solution.
> Let me know if you have questions.
> Thanks
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)