ACC97: Form Exported to ASP Appears as Gray Box in Browser

ID: Q184953


The information in this article applies to:


SYMPTOMS

Advanced: Requires expert coding, interoperability, and multiuser skills.

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). Both are hidden files in the Windows folder.

When you export any form to an Active Server Pages (ASP) file and view it in a browser, it appears as a gray box. However, other objects exported to ASP are displayed correctly in a browser. This problem can occur regardless of the version of the operating system you are running or the version of Microsoft Internet Explorer that you are using.


CAUSE

There is a problem with the HTML Layout Control. Microsoft Access 97 forms in ASP format require the HTML Layout Control.


RESOLUTION

Rename the HTML Layout Control (Isctrls.ocx) and remove its CLSID key from the Windows registry; then reinstall a new version of the control. Use one of the following methods, depending on which type of Internet access you have.

Method 1 (If you have external Internet access)

Use this method if you have external Internet access. After you rename Isctrls.ocx and remove the CLSID key from the registry, you are automatically prompted to download the HTML Layout Control. Note that this method does not work if you do not have external Internet access.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows 95. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the Changing Keys And Values online Help topic in Registry Editor (Regedit.exe). Note that you should make a backup copy of the registry files (System.dat and User.dat) before you edit the registry.
  1. Locate the Isctrls.ocx file in the Windows\System or Winnt\System32 folder and rename it.


  2. Start the Registry Editor program, Regedit.exe.


  3. Locate the following key under HKEY_CLASSES_ROOT:
    
           CLSID\{812AE312-8B8E-11CF-93C8-00AA00C08FDF} 


  4. Select the key and delete it. Quit Regedit.exe.


  5. Start Microsoft Access and save your form to an ASP file. When you see the dialog box that prompts you to provide Microsoft Active Server Pages Output options, delete the contents of the Server URL text box.


  6. Start Microsoft Internet Explorer.


  7. If you are using Internet Explorer version 3.x, click Options on the View menu; click the Security tab and make sure that the Allow Downloading Of Active Content check box is selected.

    If you are using Internet Explorer version 4.x, click Internet Options on the View menu and click the Security tab. Click the Custom security level and then click Settings. Make sure the Download Signed ActiveX Controls is set to Prompt.


  8. Open the ASP file in Internet Explorer.


  9. When you are prompted to install and run the Microsoft HTML Layout Control, click Yes.


Method 2 (If you do not have external Internet access)

If you do not have external Internet access and you have Internet Explorer version 3.x, you can reinstall the HTML Layout Control by reinstalling Internet Explorer. Make sure you have access to the appropriate executable file to reinstall Internet Explorer.
  1. Follow steps 1 through 5 in Method 1.


  2. Re-install Internet Explorer 3.x. When you are prompted to select which optional Internet components are installed, click Yes. In the Optional Components dialog box, make sure that the HTML Layout Control check box is selected.

    Note: If you do not have internet access, Internet Explorer 4.x setup cannot install the HTML Layout Control. It is not included with the setup program. The setup procedure downloads the control from the Microsoft Web site.



REFERENCES

For more information about exporting Microsoft Access database objects to ASP files, please see the following articles in the Microsoft Knowledge Base:

Q164248 ACC97: Troubleshooting ASP Forms That Do Not Display in Browser

Q163034 ACC97: Form Control Format Property Ignored when Exported to ASP

Q165479 ACC97: How to Create a Data Entry Form in ASP Format

Additional query words: corrupt blank corrupted


Keywords          : IntPubWiz FmrHowto IntAsp HtmView 
Version           : WINDOWS:97
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: April 17, 1999