Outlook Calendar invite - Not able to send from exchange server.

Hi,
   I am not able to send outlook calendar invite from exchange server. But if i installed outlook on my local machine/server it works fine. Below code the i used to build calendar invite for your reference.
  public static void sendOutlookInvitationViaICSFile1(EAppointmentMail objApptEmail)
            try
                log.Info("Invite Started");
                Microsoft.Office.Interop.Outlook.Application apptApp = new Microsoft.Office.Interop.Outlook.Application();
                Microsoft.Office.Interop.Outlook.AppointmentItem agendaMeeting = apptApp.CreateItem(Microsoft.Office.Interop.Outlook.OlItemType.olAppointmentItem);
                DateTime venueDate = Convert.ToDateTime(objApptEmail.VenueDate);
                string formatedVenueDate = venueDate.Year.ToString() + "/" + venueDate.Month.ToString() + "/" + venueDate.Day.ToString();
                DateTime from = Convert.ToDateTime(formatedVenueDate + " " + objApptEmail.FromTime);
                DateTime to = Convert.ToDateTime(formatedVenueDate + " " + objApptEmail.ToTime);
                System.Net.Mime.ContentType typeHTML = new System.Net.Mime.ContentType("text/html");
                //Create the Body in HTML format
                string strBodyText = "Type:Single Meeting\r\nOrganizer: {0}\r\nStart Time:{1}\r\nEnd Time:{2}\r\nTime Zone:{3}\r\nLocation: {4}\r\n\r\n\r\n\r\n{5}";
                strBodyText = string.Format(strBodyText, objApptEmail.Email, from.ToLongDateString() + " " + from.ToLongTimeString(),
                                    to + " " + to, System.TimeZone.CurrentTimeZone.StandardName,
                                    objApptEmail.Location, objApptEmail.Body);
                if (agendaMeeting != null)
                    Console.WriteLine("started");
                    agendaMeeting.MeetingStatus =
                        Microsoft.Office.Interop.Outlook.OlMeetingStatus.olMeeting;
                    agendaMeeting.Location = objApptEmail.Location;
                    agendaMeeting.Subject = objApptEmail.Subject;
                    agendaMeeting.Body = strBodyText;
                    agendaMeeting.Start = from;
                    agendaMeeting.End = to;
                    Microsoft.Office.Interop.Outlook.Recipient recipient = agendaMeeting.Recipients.Add(objApptEmail.Email);
                    recipient.Type = (int)Microsoft.Office.Interop.Outlook.OlMeetingRecipientType.olRequired;
                    ((Microsoft.Office.Interop.Outlook._AppointmentItem)agendaMeeting).Send();
                    log.Info("Invite Successfully End");
                    Console.WriteLine("End");
            catch (Exception ex)
                log.Info("Error: " + ex.Message.ToString());
                Console.WriteLine("Error: " + ex.Message.ToString());
In exchange server/ not outlook installed server, i am getting below error.
"Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))"
Help me to send calendar invite without installing outlook on the specified server. Please do the needful.

Hi
It is probably that the stuff you doing is for outlook and because outlook is not installed it cannot find the classes.
Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Similar Messages

  • Outlook calendar invitations not showing in email

    I use Outlook with OSX10.9.5.
    When I receive calendar invites, they don't come up in my email, so unless I scroll through my calendar looking for them, I don't know I've been invited. I used to get emails but suddenly they've stopped.  I've gone through preferences with a fine tooth comb and can't find anything related to this.  Please help.

    Yes, all of my recurring events that do sync were created years ago in Outlook and I had no problem syncing them to my Blackberry Bold way back when. Initially when I got my iphone 4, everything synced both ways and then this year I got an iPad and intitally everything synced with it via iTunes/outlook with no problem. I've only noticed this problem within the last month or so and it drove me crazy. I reset both my ios devices but I refuse to uninstall and reinstall Outlook or iTunes. I've seen tons of posts on here that say it afffects the cloud, exchange servers and itunes so it's not just us. I've sent feedback to Apple and received no response. Others have too. Apple is aware of it and doesn't have a clue what to do about it. It now affects other events for me so I'm thinking maybe it has to do with default reminders and other things between Outlook and the ios devices. Maybe and update to iTunes or ios6 will change that, who knows. I still love my iPhone and would't go back to Blackberry; it's just way to slow for me.

  • Outlook 2010/2013 not able to connect to Exchange 2013

    Hi, I'm the midst of co-exist between Exchange 2010/2013. I have issues where none of internal users that migrated to Exchange 2013 not able to connect via Outlook 2010/2013. OWA is running fine without issue. Using MCA, the issue due to port is blocked
    but I have verified that firewall on Exchange 2013 server is turn off all.
        1. Exchange 2010/2013 cert is using public CA cert.
        2. Both outlook anywhere external URL for Exchange2010/2013 is set to outlook.domain.com. internal pointing to server.domain.com. while autodiscover is set to autodiscover.domain.com.
       3. user mailbox in exchange 2010 do not have any issue
    while if I try to logon, the error look like below:
    Cannot open your default e-mail forlders. You must connect to microsoft exchange with the current profile before you can synchronuze your folder with your outlook data file (.ost).
    what else should I check ?
    many thanks.

    Hello,
    What server does “outlook.domain.com” and “autodiscover.domain.com” point to, Exchange 2013 FE or 2010 CAS?
    You can also do a Outlook Test Email AutoConfiguration by the following steps:
    a. While Outlook is running, click the CTRL key and then right-click the Outlook icon in the system tray and then select “Test Email Autoconfiguration”.
    b. Confirm that your email address is in the address field, uncheck “Use Guessmart” and “secure Guessmart authentication” boxes. Then click the “Test” button.
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • Calendar is not properly sync'ed with Exchange server

    Product: iPhone 5s with ios 8.0.2
    Some of my calendar entries are missing and I have been missing a lot of important meetings as I depend on my phone a lot when I don't have my laptop with me. It was ok until iOS 8.0.2 came into the picture.

    Any update or response from Apple?
    Similar issue post upgrade 8.2 (12D508) ATT carrier
    E-mail synchronizes fine between Outlook on the PC, and her iPhone and iPad.  If I enter a meeting on the calendar on my desktop Outlook, it will not show up on iPhone or iPad; only appointments that show up are those with invites that are accepted on phone or ipad? .
    I have gone thru a similar scenario  / list as noted in original email

  • Yahoo Business Email not able to send from devise

    I have searched for a solution to my issue and cannot find one. I receive emails on my devise from my Yahoo Business account but cannot send/reply to message from my devise. Verizon and Yahoo both say it's a BB issue and there is nothing they can do for me.
    Does anyone have a solution? The closest I found was to uninstall and reinstall my email but the issue is more than that. I suspect that it's an issue with the Yahoo Small Business account specs and security (POP, etc) When I access my email account on the internet, I go to a special site (not yahoo.com) http://mail.myemail.com.
    Thanks.
    Newbie BB user 
    Solved!
    Go to Solution.

    chk this: http://www.blackberry.com/btsc/search.do?cmd=displ​ayKC&docType=kc&externalId=KB12116&sliceId=SAL_Pub​...
    Click on KUDOS to appreciate our efforts and mark the thread RESOLVED if your issue is resolved.

  • 32bit windows client PC not able to print from TS server 2008 64bit

    I had a HP M1216NFH printer install at branch office. The branch user will need to remote connect to Terminal Server to access the stock program and print the order back to M1216NFH printer. But none of the branch user are able to print remotely.
    The Terminal Server is running on Windows Server 2008 R2 Standard 64bit version, and all the branch users are using 32bit Windows 7 and XP version. The printer redirection is created during remote session, and user is able to select the printer to print, but is nothing come out from the printer.
    I had install x86 printer driver, but is still not working. Server is auto using remote desktop easy print driver when printer redirection in remote session.
    I did try connect branch user PC to another Terminal Server running on WIndows Server 2003 R2 Standard 32bit version, and tested is no problem to print.
    Can anyone guide me what is the step that i was miss out for Windows Server 64bit configuration in order to allow 32bit windows client to print?
    Thank you.

    I believe the only way to print client side from a web app would be to use the ActiveX print control off of the viewer (disregarding the ugly way of using the browsers print button).
    If there is another way I am sure someone will correct me

  • Not able to send SMS  " Application server error"

    Hi Experts,
    I am trying to send sms using one URL . but it is giving application server error. if i seperately copy this url on internet explor it is working fine .
    I am getting error in below methos
    call method client->receive
    exceptions
    http_communication_failure = 1
    http_invalid_state = 2
    http_processing_failed = 3
    others = 4.
    returning 1  and error message
    <html><head><title>Application Server Error</title>##<style type="text/css">##body { font-family: arial, sans-serif;}##</style>##</head>##<BODY text="#172972" link="#808080" vlink="#808080"##alink="#8e236b" bgcolor=white  leftmargin="0" topmargin="0"##mar
    below is the code
    call function 'SCP_CODEPAGE_FOR_LANGUAGE'
    exporting
    language = 'L'
    importing
    codepage = i_codepage
    exceptions
    no_codepage = 1
    others = 2.
    data : I_msg type string.
    ***Repalcing the starnge characters
    call function 'SCP_REPLACE_STRANGE_CHARS'
    exporting
    intext = I_message
    in_cp = i_codepage
    importing
    outtext = I_msg
    exceptions invalid_codepage = 1
    codepage_mismatch = 2
    internal_error = 3
    cannot_convert = 4
    fields_not_type_c = 5
    others = 6.
    endif.
    gv_sms_number = I_SMS_number.
    ****Check the recipient Number
    replace all occurrences of '+' in gv_sms_number with ' '.
    condense gv_sms_number no-gaps.
    data: client type ref to if_http_client,
          url type string.
    ****Build the  URL
    url created
    ****Create the HTTP client
    call method cl_http_client=>create_by_url
    exporting url = url
    importing client = client
    exceptions others = 1.
    *****Set the Request type to GET******
    ***Sets the value of the specified header field
    client->request->set_header_field( name = '~request_method' value = 'GET' ).
    CALL METHOD client->send
        EXCEPTIONS
          http_communication_failure = 1
          http_invalid_state         = 2.
    **client->request->set_header_field( name = '~request_method' value = 'GET' ).
    "#EC *
    ****Make the call client->send( ).
    ****Receive the Response Object
    call method client->receive
    exceptions
    http_communication_failure = 1
    http_invalid_state = 2
    http_processing_failed = 3
    others = 4.
    if sy-subrc <> 0.
      call method client->get_last_error
        importing
         code    = gv_subrc
         message = gv_errortext.
    endif.

    Hi,
    Pls see this link... Re: Sending SMS frm SAP

  • Mail.app not retrieving new messages from Exchange Server

    I used to use mail.app for my work email account, set up as Exchange IMAP. After upgrading to SL, I wanted to take advantage of the new exchange features, and set up an exchange account.
    But now, multiple times a day, the new exchange account will just sit there, trying to fetch new mail (the spinning wheel thing in the left side menu bar). I've gone hours w/o noticing the problem, only realizing this when I check my iPhone and see dozens of new messages. Restarting fixes the problem.
    Anyone else having this issue?

    michellzappa,
    All of my e-mail providers have some sort of web based access for my accounts. They identify, segregate and prevent any message marked as bounce from being downloaded to my inbox. Is this what you are describing as redundant?
    Mail Scripts 2.7.10 by Andreas Amann, provides an excellent compilation of mail scripts.
    I would advise that you create a new post with the title. "Can I write an applescript to automatically clean out messages on server every hour?" in the AppleScript Forum.
    ;~)

  • I am all of a sudden not able to send emails out from my outlook account on my iPhone.  Any suggestions?

    I am not able to send emails out from my outlook account on my iPhone 4s.  This feature has been working fine for 2 years and all of a sudden decided not to work.  I was able to receive emails but not send out.  I tried deleting the outlook account and recreating it but now I can't even recreate it.  It tells me it cannot verify my account information.  The interesting thing is that the account works fine on my PC, so I know my login info is correct.  Any help would be appreciated.
    Thanks

    Hello tmed32
    Check the website and log into webmail to see if there is anything you need to add to authorize it on other devices. Also check out the articles below to see if they can provide any further assistance.
    iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
    http://support.apple.com/kb/ht1694
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/TS3899
    Regards,
    -Norm G.  

  • Can calendar entries from an iPhone be pushed up to the cloud for iPad and computer updating? My phone only seems to be receiving updates from the cloud, but not able to send them.

    Can calendar entries from an iPhone be pushed up to the cloud for iPad and computer updating? My phone only seems to be receiving updates from the cloud, but not able to send them.

    Under Settings->Mail, Contacts, Calendars, What do you have set for the Default Calendar? Personal?
    If you don't have it set to a Cloud Calendar it will only create the entry locally.   You would need to select the iCloud Calendar specifically when creating the Calendar entry to have it sync.
    Otherwise set your default calendar to be the iCloud Calendar so all entries are created there by default. And as such get synced to other devices.

  • I am not able to send messages to multiple person from my iphone 5s after updating to ios 8.1.2. It shows message not delievered

    I am not able to send messages to multiple person from my iphone 5s after updating to ios 8.1.2. It shows message not delievered

    Hi waqaskhan91,
    Thank you for visiting Apple Support Communities.
    If you're not able to send text or iMessages to certain contacts after updating your iPhone, start with the troubleshooting tips in this article:
    iOS: Troubleshooting Messages - Apple Support
    If you only see this behavior with a few contacts, you may want to try these steps first:
    If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    If the issue occurs with a specific contact or contacts, delete and recreate the contact from the Contacts app. Send a new message to the contact.
    Best Regards,
    Jeremy

  • I am using i pad mini. I am going through a issue in which i am not able to send mails to my work email add wherein i am able to receive emails from same email id.

    i am using i pad mini. I am going through a issue in which i am not able to send mails to my work email add wherein i am able to receive emails from same email id.

    With one mailbox server in the production site and one in the DR site, you do not have high availability.  If the main site goes down, the cluster loses quorum and all databases dismount.  You must then force quorum or move the file share
    witness to restore quorum.
    I can't tell you why what you observed happened.  At the time of the problem I would have been looking at the transport queues to see what's queued and to where.
    I recommend you look at the configuration of your send connectors to ensure that none of them are dependent upon the DR site server.
    To send mail outside, you must allow relay.  To do this, I recommend you create a new receive connector that's configured to allow relay and restrict access to the application server to keep anyone else from using it to relay.  There are plenty
    of articles on the Internet that describe how to configure a relay connector.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Why do Outlook calendar invites appear on my iPod touch calendar but not my icloud calendar

    Why do Outlook calendar invites appear on my iPod touch calendar but not my iCloud calendar? I use Outlook at work and if I want to add events to the calendar on my iPod Touch which I use as a PDA I simply create the event in outlook select my gmail email address and invite myself. The event appears on my iPod Touch...all well and good...now with the advent of iCloud I would like to see all events on my iPod calendar on the iCloud calendar that I view on my PC. At the moment only events that I have added directly onto the iPod calendar appear on the iCloud calendar.
    I have messed around abit syncing and unsyncing, Turning the Calendar on and off in the iCloud setting on the device but nothing is really working. Any easy to follow suggestions or is it a trip to the geniuses in order?

    Not sure why you'd want to alter an artist name anyway but...
    In iTunes, right-click selected track and click "Get Info" then edit the artist field and possibly the album artist too (edit as in... make sure they have a value (the correct artist name)). Delete the faulty track on your iPod and then re-upload the new one.
    Another thing is that if you left the music player open on your iPod when you add the new track, sometimes I find that it doesnt find any of the new songs you add until you close and then re-open the app on the iPod.

  • I am not able to send my slideshow from iphoto because I entered the wrong username (e-mail address) by accident.  I cant see how to edit it. Can anyone help me?

    I am not able to send my slide show from iPhoto because I entered the wrong user name (e-mail address) by accident and I dont see how to edit it.  Can anyone help me out?

    Try here:
    iTunes Store: My credit card's security code or zip code does not match my bank's records
    Then try contacting iTunes
    Apple - Support - iTunes - Contact Us

  • HT4906 I am not able to send my photos from my IPhone to my Mac.  I went to my Cloud preferences and it is not allowing me to click on Photo Stream.  When I went to updates it says I am updated.

    I am not able to send my photos from my IPhone to my Mac.  I went to my Cloud preferences and it is not allowing me to click on Photo Stream.  When I went to "updates" is says I am updated.

    with no information no one can help
    what versions of software? have you followed the directions in this article - http://www.apple.com/icloud/setup/
    LN

Maybe you are looking for

  • Can I have the same phone number on an iPhone and an iPad with cellular?

    I currently have an iPhone 4s and am interested in getting an iPad Air.  I'm interested in the cellular option for iPad, but don't want to give up my smaller, portable phone.  Is it possible have one phone number for both devices?

  • Using timemachine after installing lion

    If I install Lion on a clean harddisk in my MacBook, will I be able to copy items from the TimeMachine backup I made under SnowLeopard? And will it be possible to use the TM backup for migration? Thanks in advance!

  • Parsing the BI Beans xml Catalogue

    As part of our OLAP implementation we have devised a number of presentations in our BI Beans catalogue. As part of a larger piece of work to generate a metadata representation of what we have built, I am trying to parse the xml representation of thes

  • Iphone will not accept my ISP password

    Suddenly, I cannot send out mail on my I phone 5. With no update or changes of settings I cannot send mail. It is the same on my Ipad, but my laptop has no problem.  Both phone and Ipad consistently say user name or password is wrong, but they are no

  • Syslinux PROMT=0 still prompts WTF?

    Hi, I edited the /boot/syslinux/syslinux.cfg file as root and I changed the PROMPT to 0. Every boot the prompt still prompts. Like WTH ya know? No other syslinux.cfg files anywhere else. Help is greatly apprieciated thank you so much!