Why can't ntko Office document controls be automatically loaded?

Source: Internet
Author: User

1. Problem performance:

    When you access the webpage of the reference control, the ntko Office document control window does not appear, resulting in the failure to run the javacripstatement of the reference control. An error message similar to "unable to load controls, please check the browser security settings" appears on the webpage, and there may be an error message that JavaScript cannot find the object.

2. This issue has nothing to do with the control itself. To solve the problem that the ntko Office document control cannot be automatically loaded, first let's take a look at the steps involved in loading objects in the browser. (For the time being, the impact of anti-virus software or other filtering tools is not considered)

    The following code references controls in HTML code:
    <Object ID = "tanger_ocx" classid = "CLSID: C9BC4DFF-4248-4a3c-8A49-63A7D317F404" codebase = "/path/to/officecontrol. cab # version = 100%, 100% "width =" "Height =" ">
    Where:
    1) Id = "tanger_ocx"Identifies the JavaScript programming identifier of the control through document. All ( "Tanger_ocx") To get reference to the control object.
    2) CLSID: C9BC4DFF-4248-4a3c-8A49-63A7D317F404Ntko
    The unique identifier of the Office document control. The browser uses this CLSID to determine ClientWhether the control has been installed.
    3) In codebase = "/Path/to/officecontrol. Cab # version ="
    In front /Path/to/officecontrol. CabTo identify the automatically installed files of the control on the server. Relative to current webpageAnd # Version =The version number of the control required by the web page.
    The process for loading controls in the browser is roughly as follows:


3. According to the above process, the ntko Office document control cannot be automatically loaded in the following situations:

    1) The security settings in the local Internet option prohibit the download of signed ActiveX controls in the current region;

    2) on the webpage that references the control, the <codebase attribute specified in the object tag is incorrect, causing the browser to fail to download the officecontrol. cab file;

    3) The officecontrol. cab on the server is damaged, the correct signature is lost, or an incorrect version is used;

    4) Although the officecontrol. cab on the server is correct, there is a problem with the download from the browser. This may be caused by Incorrect MIME configurations on some Web servers. As a result, the server does not send officecontrol. cab to the browser as a binary file;

    5) The security settings in the local Internet option are not allowed to run ActiveX controls and plug-ins in the current region;

    6) It may also be caused by Microsoft patches, or other anti-virus software or filter software that prevents the installation of controls;

4. You can check and troubleshoot the problem in the following order:

    1) Check the security settings in the local Internet option, Allows you to download signed ActiveX controls and Run ActiveX controls and plug-ins..

    2) check that the <codebase = part of the object tag in the webpage that references the control,The URL of the officecontrol. cab file on the server is correctly pointed.[Relative to the current webpage or relative server root].

    3) enter the address bar in the browserThe URL of the officecontrol. cab file on the server, Including the host name. Make sure that the browser prompts you to download and saveOfficecontrol. cab fileRight-click to view properties. In the displayed dialog box, "Digital Signature" is displayed, and the signature is correct.

    4) if the above method does not solve the problem, and your system has installed "Microsoft Cumulative Security Update MS05-052 patch", please try the following steps:

      Warning if the registry is incorrectly modified using the Registry Editor or other methods, it may cause serious problems. These problems may need to be solved by re-installing the operating system.

      1. Click Start, click Run, type regedit.exe, and click OK ".

      2. Find the following registry subkeys:
      HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Internet Explorer \ ActiveX Compatibility

      3. Right-click ActiveX Compatibility to find the CLSID: {C9BC4DFF-4248-4a3c-8A49-63A7D317F404} of the ntko Office document control. If the project exists, right-click Compatibility on the right
      Flags project, and then click Modify ". In the value data box, select hexadecimal, enter 00800000, and click OK ".
      4. If the CLSID of the ntko Office document control does not exist, right-click ActiveX Compatibility, point to new, click item, and type CLSID of the ntko Office document control: {C9BC4DFF-4248-4a3c-8A49-63A7D317F404}, and then press
      Enter.
      5. Right-click the item you created in Step 4, point to "new", and click "DWORD Value ".

      6. Type Compatibility Flags, and then press Enter.

      7. Right-click Compatibility Flags and click Modify ".

      8. In the "value data" box, select hexadecimal, enter 00800000, and click "OK ".

      9. Exit the Registry Editor.

    5) if the problem persists, try to temporarily disable the anti-virus software or other filtering software before installing it.

    6) if the problem persists, the machine configuration may be damaged, and you can try to install it manually. For more information, see related documents.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.