Outlook.Application???? Cannot create ActiveX component.

  • Thread starter Thread starter W. Broersen
  • Start date Start date
W

W. Broersen

I want to use Outlook.Application, but I donot get further.

Dim objOLApp As Outlook.Application
objOLApp = CreateObject("Outlook.Application")

Everytime I'll get the following error:
Cannot create ActiveX component

I set in the reference the COM from Outlook...
Does someone know how to solve this problem????

Regards,
Wilco Broersen
 
Check your permissions. If you are using ASP.NET (which I assume you are,
since you are in these forums) then the user account that aspnet_wp runs
under (MACHINE\ASPNET by default) needs to have permissions on the Outlook
object in order to use it.
 
You're right about ASP.NET + VB. But I checked the permissions of that file,
those were good. But it still won't work

Further I use the Windows XP Prof. for the development and Outlook 2000.

The complete description is.
Cannot create ActiveX component.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.

Exception Details: System.Exception: Cannot create ActiveX component.
 
Back
Top