I am trying to create an iCalendar feed on my MVC3 website that users can subscribe to. I successfully created the ical file using the DDay.ical library. When I download the the ical file from the website and open it with outlook it opens fine. However, when I try to subscribe to it with outlook by right clicking on the list of calendars and selecting
Add calendar => From internet…
and entering the url to the ical file, it tells me the file is not a valid internet calendar file.
What is going on here? Can anyone help me with this please?
My ical file is displayed below:
BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
PRODID:mywebsite
BEGIN:VEVENT
DTEND:20120907T120000
DTSTAMP:20120906T110251
DTSTART:20120907T080000
SEQUENCE:0
STATUS:Confirmed
SUMMARY:Nanosurf easyScan 2 STM
UID:170ee5f7-0b22-4b64-adae-dfaff0277e96
END:VEVENT
BEGIN:VEVENT
DTEND:20120810T120000
DTSTAMP:20120906T110251
DTSTART:20120810T090000
SEQUENCE:0
STATUS:Confirmed
SUMMARY:Nanosurf easyScan 2 STM
UID:2a7e4445-1fe5-4224-b4b3-61e33785e181
END:VEVENT
BEGIN:VEVENT
DTEND:20120814T130000
DTSTAMP:20120906T110251
DTSTART:20120814T090000
SEQUENCE:0
STATUS:Confirmed
SUMMARY:Nanosurf easyScan 2 STM
UID:ee1535a6-e971-4a92-a06a-5d10d414cf07
END:VEVENT
END:VCALENDAR
Thanks very much in advance!
There is a space behind every line.
http://severinghaus.org/projects/icv/