Facing Access denied error while accessing files stored on another server through the asp.net application launched via Edge browser

Vivek Ramesh 86 Reputation points
2022-04-22T18:32:41.357+00:00

Hi Team,

I have hosted my asp.net web application on xxxx server and it has some code blocks (File.ReadAllLines(filePath) and File.WriteAllText(filePath)) to access(read/write) files that are stored in a shared folder on yyyy server.
When I launch my application in Internet Explorer, the code blocks are executed successfully and I'm able to read/update those files without any issues but, when I launch my application in an Edge browser, I'm getting "Access to the path is denied" error in reading the file line itself.

195674-image.png

FYI: I have given everyone with full access to that path

Could anyone please help me to resolve this issue?

Thanks in Advance

Microsoft Edge Microsoft Edge development
{count} votes

Your answer

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