ASP.NET - error: 80080005 with outlook
Asked By vis 12
08-Feb-10 10:21 AM
I am trying to connect to outlook application through ASP.net 2.0 site.
I am getting following error
“Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005.” While executing the statement
Application outlookApp = new Application();
It works fine on development server. I am using profile name as username and password for that the user for which mailbox is configured.Development machine is having Windows XP as OS and Application server is windows server 2003.
Please help me on this.
Frinavale Soldevi replied to vis 12
I've seen very similar errors happen when I haven't installed an essential COM component in a website that I support. You need to make sure that you have installed the required COM components on your web server.
In this case, Outlook needs to be installed on the web server.
Or you need to install a redistribution package that lets you do what you need to do....(these packages exist for Office...but I don't think there is one for Outlook).
-Frinny

Net hi friends Any one send frequently asked Important questions in C# .Net, ADO .Net, Asp .Net and Sql Server. . . . . . . . tx in Advance. . . . . . Hi, Find this. . (B)What is an IL? (B COM? (A)How can we use .NET components in COM? (A) How can we make Windows API calls in .NET? (B) When we use windows API in .NET is it managed or unmanaged code? (I)What is COM? (A) What How can we know a state of a thread? (A) What is use of Interlocked class ? (A) What is a monitor object? (A) What are wait handles? (A) What is ManualResetEvent and Webservices (B)What is an application domain? (B) What is .NET Remoting? (B) Which class does the remote object has to inherit? (I) what are two different types of remote A) What is scavenging? (B) What are different types of caching using cache object of ASP.NET? (B) How can you cache different version of same page using ASP.NET cache object
reading outlook e mails through c# code Hi , i receive multiple mails containing the logs of various maintain these status in database. the basic aim is to read specific mails from my outlook. -Thanks In order to use the API from C#. Instead, do a search on C ll find code samples to retrieve your emails from your C# app and not involve Outlook at all. have a look at below article . . http: / / www.codeproject.com / KB / COM / Outlook_Express_Messages.aspx To access outlook emails and its contents like total number of emails in inbox, number of unread emails title of email, attachments of email etc. To acquire these, all you need is Interop.Outlook.dll . How to access outlook using ASP.NET is given below. You can write this code in a button click event or in
like putting these menus into a box. How do I do that.? Thanks! I use asp.net hi try this just right click on main page in eggheadcafe and select view page 0" cellpadding = "0" align = "Center" border = "0" style = "width:100%;border-collapse:collapse;" > < tr > < td class = "bg1gridmenu" align = "left" valign = "top" style = "white-space:nowrap;" > < div id = "gridmenu" > < ul > < li > < a id = "ctl00_MiddleContent_lnkAllPosts" class = "linkWhite1" href = " forumtree.aspx " > All Posts< / a > < / li > < li > < a id = "ctl00_MiddleContent_lnkUnanswered class = "linkWhite1" href = " / forumtree.aspx?unanswered = 1 " > Unanswered Questions< / a > < / li > < li > < a id = "ctl00_MiddleContent_lnkToughQuestions" class = "linkWhite1" href = " / forumtree.aspx?tough = 1 " > Tough Unanswered Questions< / a > < / li > < li > < a id = "ctl00_MiddleContent_lnkMyFeedBacks" class = "linkWhite1" href = " forumtree.aspx?userid = 8c8a4871-9ba0-4c98-8711-881061a25a8d " > My Posts< / a > < / li > < li a id = "ctl00_MiddleContent_lnkNewPost" class = "linkWhite1" href = " ForumPostSubmission.aspx " > New Question< / a > < / li > < / ul > < / div > < / td > < td class = "bg1gridmenu" align
extracting body from outlook to txt file please tell me how should i extracting body from outlook to txt file Microsoft.Office.Interop.Outlook.Application MailItem For extracting body from outlook to txt file use following code- private void textBox1_DragEnter ( object sender , System . Windows . Forms . DragEventArgs e ) { e . Effect = DragDropEffects . All ; lblTo . Text = string . Empty ; lblSub . Text = string . Empty lblBody . Text = string . Empty ; groupBox1 . Visible = false ; } private void textBox1_DragDrop ( object sender , System . Windows . Forms . DragEventArgs e ) { Outlook . ApplicationClass app = new Outlook . ApplicationClass (); / / get current selected items Outlook . Selection sel = app . ActiveExplorer (). Selection