Hi @SA ,
file: URLs are system-dependent and only works when the linked page is in the user's computer. But browsers usually use the HTTP protocol, which is http:URL. When you click such a link, nothing happens. The purpose should be security: to prevent remote pages from accessing files on the visitor's computer.
The way to make the link work is to use the local file as the main file, you can try to get the document from the server using client script, try using the Server.MapPath Method.
https://learn.microsoft.com/en-us/dotnet/api/system.web.httpserverutility.mappath?view=netframework-4.8
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.