access shared folder from Tow IIS server.

Somnath Shukla 411 Reputation points
2020-11-20T03:11:24.67+00:00

i am using .net core 3.1.18 web api hosted in IIS. i have load balancer hosting the api on two windows server. i am writing a file since i need to access the file from from two server i am using UNC path for folder sharing.
i need to access a shared location and i am running the code using WindowsIdentity.RunImpersonated.
apppool is running and Network service and Network service has access on shared location.
i am facing the issues not able to access the path.
i have faced the same issue on .Net 5.
is this feature is not supported in .Net core is there any other design / solution for this scenarion.

https://github.com/dotnet/runtime/issues/29935

Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | ASP.NET | Other
{count} votes

Answer accepted by question author
  1. Somnath Shukla 411 Reputation points
    2021-02-13T04:19:55.863+00:00

    This issue has been fixed .Net 5.0.3.
    and i will get ported in .Net core 3.1. also, but will take some time.

    https://github.com/dotnet/runtime/issues/29935

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.