Unable to create ActiveX component

Source: Internet
Author: User

"System. Exception: ActiveX components cannot be created"
Http://tb.blog.csdn.net/TrackBack.aspx? Postid = 855272
A new win2k3 machine, iis6.0. When running a page that uses Excel automation, the following error occurs.

Select distinct WSN from vbapplication. DBO. wf_lifactview where Ws = 'access08family-D161-4DD7-A166-6DA76630600F '; select * From vbapplication. DBO. wf_lifactview where Ws = 'acc08family-D161-4DD7-A166-6DA76630600F 'and Li =' % 'and [year] = 2006 and [month] = 1system. exception: ActiveX components cannot be created. In Microsoft. visualBasic. interaction. createobject (string progid, string servername) in ASP. report_wf_lireport_aspx.page_load (Object sender, eventargs e) Location D: \ portalxp \ report \ WF \ lireport. aspx: the path of row 67 cannot be blank. Parameter Name: Path

In fact, this error is caused by the absence of an Excel process instance in the IIS account. You only need to perform the following steps.

1. Install Office

2. Start dcomcnfg.exe and start the component service.

3. In component service, choose console root directory> component service> Computer> my computer> DCOM configuration> Microsoft Excel application.ProgramRight-click Properties to open the Properties window.

4. On the Security tab, configure the start and activation permissions and add the full permissions for starting the IIS process account.

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.