Cannot View Page When You Use a FILE:// URL

Article translations Article translations
Article ID: 306094 - View products that this article applies to.
This article was previously published under Q306094
Expand all | Collapse all


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.


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.


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


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


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.


Article ID: 306094 - Last Review: January 31, 2007 - Revision: 3.2
  • Microsoft Internet Explorer 6.0, when used with:
    • Microsoft Windows XP Home Edition
    • Microsoft Windows XP Professional
    • Microsoft Windows XP Media Center Edition
    • Microsoft Windows XP Tablet PC Edition
    • Microsoft Windows 2000 Advanced Server
    • Microsoft Windows 2000 Datacenter Server
    • Microsoft Windows 2000 Professional Edition
    • Microsoft Windows 2000 Server
    • Microsoft Windows NT Server 4.0 Standard Edition
    • Microsoft Windows NT Server 4.0, Terminal Server Edition
    • Microsoft Windows NT Workstation 4.0 Developer Edition
    • Microsoft Windows 98 Second Edition
kberrmsg kbenv kbprb KB306094

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from