473,396 Members | 1,812 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 1588

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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,...

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.