473,396 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Error with Outlook.ApplicationClass

Hello, I'm hoping that someone out there has a wonderfully simple answer for
this - it seems like it should.

I am using an ASP.Net application to try and create calendar appointments in
user's outlook mailboxes. I have a reference to the Outlook 11 COM object
in my project. Also, I am using identity_ impersonate = true in my
web.config file using my own credentials in username/password (I am the
administrator on the box). In order instantiate the Outlook class I am
coding the following line in one of my code-behinds:

Dim oApp As Outlook.ApplicationClass = New Outlook.ApplicationClass

When the code reaches this point it fails with the following error being
sent to the browser:
"System.Runtime.InteropServices.COMException: Server execution failed"

This next error is what I see in the System Event Log:
"The server {0006F03A-0000-0000-C000-000000000046} did not register with
DCOM within the required timeout."

The 6F03A... id I think represents the outlook object, and I have given full
permission to this file to the INTERACTIVE and ASPNET users. I think this
is purely a permissions issue but I just can't seem to figure out where the
disconnect is taking place.

Thanks in advance.

Nov 18 '05 #1
0 1589

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: MaxH | last post by:
I need to perform programmatically from a C# .net application the following tasks: _ open an outlook (or default e-mail client) compose message window; _ attach a document to the new message; _...
0
by: chak | last post by:
Hello, I am trying to access the local PC's Outlook folder , but get this 'Server execution failed" error. Any hint where the error is ? Thanks.
4
by: Andy Bates | last post by:
Hi - I am developing an application that needs to automate Microsoft Outlook and I need to capture the ItemSend event. The PC I'm developing with has Outlook 2003 on; the problem I have is I...
6
by: LEBRUN Thomas | last post by:
Hello :) I would like to use Outlook 2003 in my application so for that, i've added the referece to Outlook 11.0 Object Model to my project. Then, I try this simple code : using System;...
1
by: techprot-google04 | last post by:
Who's asking this question: 1. A newbie. 2. This is my second C# program. 3. I've done VB programming in the past. 4. I'm rusty on OOP - usually where I trip up. Here's what I want to do: 1....
0
by: Chris Gatto | last post by:
Hello, I'm hoping that someone out there has a wonderfully simple answer for this - it seems like it should. I am using an ASP.Net application to try and create calendar appointments in user's...
0
by: Roger | last post by:
on my development iis - I has win xp installed. can run the aspx page fine and create the outlook.applicationclass. but when I move the page to my production IIS server, which is win 2003...
0
by: toduro | last post by:
Using Visual C# 2005 Express Edition and Microsoft Office Outlook 2003. An exception with message: "Retrieving the COM class factory for component with CLSID...
1
by: PhilD | last post by:
My C#.NET console app checks a public folder every 24 hours for incoming emails. For each unread email in the folder, it copies any attachments to the network, then loads the contents of these files...
7
by: Markus Donath | last post by:
I want to create an Outlook-appointment using .NET VC. My Visual Basic example starts with: Dim oApp As Microsoft.Office.Interop.Outlook.Application = New...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.