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

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
 
C

Chris Jackson

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.
 
W

W. Broersen

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,231
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top