When you click on a file:// URL that points to a file for which you do not have the required permissions, Internet Explorer may generate the following generic error message:
Page cannot be displayed / Cannot find server or DNS Error.
Back to the top
This problem occurs under the following conditions:
| • | The FILE:// URL refers to a UNC name that points to a file (not a UNC name to a share or folder.). |
| • | The client user account does not have proper permissions to access the share where the file resides. |
| • | The Internet Explorer "Show HTTP friendly error message" setting
is on. |
Back to the top
To work around this problem, use HTTP:// URLs instead of FILE:// URLs.
Back to the top
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Back to the top
In the preceding scenario, Internet Explorer calls Urlmon.dll to bind to the FILE:// URL. URLMON uses the SMB protocol to request the file. Because the client does not have proper permissions on the file, the server sends back an "ACCESS DENIED" error. URLMON handles this error as a generic error, and displays the "Page cannot be displayed / Cannot find server or DNS Error" error message.
Back to the top