How to enable the ASP program to access the services of the Internet Explorer?

This webpage provide solution for the situation when our clients are not able to access the Internet Explorer using the ASP code.

Error Type can be reported as follows:
Microsoft VBScript runtime (0x800A0046) Permission denied: 'CreateObject' /project/SMS/index.asp, line 18

In order to dissolve this problem, the properties of the Internet Explorer need to be modified and a new ASPNET user account needs to be added.

As a first step you need to open Run in the Start menu and type dcomcnfg.exe in the textbox.

opening run service
Figure 1 - Opening the Run service and fill the checkbox

As a next step open Component Services/Computers/My Computer/DCOM Config and find Internet Explorer.

opening the dcom config component
Figure 2 - Opening the DCOm config component

Click on the Internet Explorer directory with the right-side button of the mouse and select Properties.

opening internet explorer
Figure 3 - Opening the Internet Explorer

From the property window select the Security tab. Then for all the three options you need to select Customize Radio button (or according to your need)

configure of internet explorer
Figure 4 - Configure of the Internet Explorer

Finally you need to add ASPNET user account to all the three options.

add aspnet user account
Figure 5 - Add the ASPNET user account