Microsoft KB Archive/883866

= The display of a data access page is blocked in Web Page Preview mode on a computer that is running Windows XP Service Pack 2 =

Article ID: 883866

Article Last Modified on 8/13/2007

-

APPLIES TO


 * Microsoft Office Access 2007
 * Microsoft Office Access 2003
 * Microsoft Access 2002 Standard Edition
 * Microsoft Access 2000 Standard Edition

-



This article applies to either a Microsoft Access database (.mdb) file or to a Microsoft Access database (.accdb) file, and to a Microsoft Access project (.adp) file. Novice: Requires knowledge of the user interface on single-user computers.



SYMPTOMS
On a computer that is running Microsoft Windows XP Service Pack 2 (SP2), you may notice that the data access page is not bound to the data that is associated with that data access page. Also, the display of the data access page is blocked. This problem occurs when you open a data access page in Web Page Preview mode by using Microsoft Access.

Additionally, you may receive the following error message in the Information Bar in Microsoft Internet Explorer:

To help protect your security, Internet Explorer has restricted this site from showing certain content. Click here for options.

To unblock the data access page content and then to enable the data access page content, follow these steps:
 * 1) Click Information Bar.
 * 2) Point to Active Content Blocked, and then click Allow this page to access my computer.

Notice that the data access page appears correctly.

This problem may also occur when you try to open the HTML file that corresponds to the data access page from the absolute path of the HTML file by using Internet Explorer.



CAUSE
By default, Microsoft Windows XP Service Pack 2 locks down the Local Machine zone in Internet Explorer to help protect your computer from malicious attacks. You may try to open a Web page, such as an HTML page, by providing the absolute path of the HTML file in the Address Bar in Internet Explorer. However, the Local Machine Zone Lockdown feature blocks the display of the Web page. This problem may occur when you are using a computer that is running the Windows XP Service Pack 2 operating system.

When you open the data access page in Web Page Preview mode, Access tries to open the data access page in Internet Explorer by using the absolute path of the corresponding HTML file. This is when you notice the problem that is mentioned in the &quot;Symptoms&quot; section.



WORKAROUND
To work around this problem, you must force Internet Explorer to open your data access page by using the security settings of the Internet zone. You want to use the settings of the Internet zone instead of the settings of the Local Machine zone even when the data access page is opened on your computer by using the absolute path. To open the data access page by using the security settings of the Internet zone, you must add a &quot;Mark of the Web&quot; comment as a header in the HTML file for your data access page.

To add a &quot;Mark of the Web&quot; comment, follow these steps:  Start Microsoft Windows Explorer. Locate the HTML file that corresponds to your data access page. Open the HTML file by using a text editor, such as Notepad.  Add the following &quot;Mark of the Web&quot; comment as a header before the  tag in your HTML file: Note The &quot;(0014)&quot; value is the string length of your URL.  Save the HTML file. Close the HTML file.

Open your data access page in Web Page Preview mode. Notice that your data access page is not blocked, and that your data access page appears correctly.</ol>

<div class="status_section">

STATUS
This behavior is by design.

<div class="moreinformation_section">

MORE INFORMATION
Internet Explorer applies the security settings on a Web page based on the location of the Web page. This helps prevent malicious attacks on your computer by Web content. For example, the Web pages in the Internet zone have more stringent security restrictions than the Web pages that are located in the Local intranet zones. Similarly, the Web pages that are located in the Local Machine zone have more stringent security restrictions than the Web pages in other zones. To help prevent malicious attacks that may try to take advantage of the trust of the Local Machine zone on your computer, Windows XP Service Pack 2 locks the Local Machine zone.

When you add the &quot;Mark of the Web&quot; comment in your local HTML page, and then you try to view the HTML page by using its absolute path in Internet Explorer, Internet Explorer loads your local HTML page with the settings for a zone that is not the default zone. For example, by using the &quot;Mark of the Web&quot; comment, you can make Internet Explorer load your HTML file with the Internet zone instead of the default Local Machine zone. Therefore, the Local Machine Zone Lockdown feature of Windows XP Service Pack 2 does not restrict the display of your Local HTML pages.

Microsoft Office Access 2003

 * 1) Start Access on a computer that is running Windows XP Service Pack 2.
 * 2) Open the Northwind.mdb sample database.
 * 3) In the Database window, click Pages under the Objects section.
 * 4) In the right pane, right-click Analyze Sales, and then click Web Page Preview.

Notice that Access opens the Analyze Sales data access page in Internet Explorer by using the absolute path of the corresponding HTML file. Also notice that the display of the data access page is blocked.

<div class="references_section">