Cannot View Page When You Use a FILE:// URL (306094)



The information in this article applies to:

  • Microsoft Internet Explorer version 6 for Windows 2000
  • Microsoft Internet Explorer version 6 for Windows 98 Second Edition
  • Microsoft Internet Explorer version 6 for Windows NT 4.0
  • Microsoft Internet Explorer version 6 for Windows XP

This article was previously published under Q306094

SYMPTOMS

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.

CAUSE

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.

WORKAROUND

To work around this problem, use HTTP:// URLs instead of FILE:// URLs.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

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.

Modification Type:MajorLast Reviewed:12/5/2003
Keywords:kbenv kberrmsg kbprb KB306094