Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Calendaring / March 2006

Tip: Looking for answers? Try searching our database.

iCal import fails

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Otto - 28 Feb 2006 14:54 GMT
Hi there,
I'm trying to import an iCal file that I have produced with some C#
code. When I try to do this Outlook says "Can't copy the items. Cannot
import vCalendar file." I'm running Outlook 2003 SP3.

The file looks like this:
BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
PRODID:-//My Company//My Product iCal API//EN
BEGIN:VEVENT
DTSTAMP:20060228T142421Z
DTSTART:20060228T130000Z
DTEND:20060228T140000Z
UID:me@mycompany.com
SUMMARY:what a title
DESCRIPTION:this is my description
END:VEVENT
END:VCALENDAR

Any idea what could be wrong?

cheers,
Otto
Vince Averello [MVP-Outlook] - 28 Feb 2006 15:09 GMT
Saving that data to an ICS or VCS file on my machine it opens as an Outlook
appointment just fine.

> Hi there,
> I'm trying to import an iCal file that I have produced with some C#
[quoted text clipped - 17 lines]
>
> Any idea what could be wrong?
Otto - 28 Feb 2006 15:41 GMT
Thanks for the reply. It looks like it must have been the encoding of
the file. When I converted it to ANSI (original was UTF-8) it imports
ok.
Otto - 01 Mar 2006 15:12 GMT
it seems like outlook barfs on the bom (ef bb bf) of utf files. if the
file is utf-8 encoded but lacks these bytes the import works.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.