Я работаю над веб-приложением на основе http (НЕ защищенным).В этом я предоставил положение, чтобы добавить некоторую встречу в календарь Outlook.Я создаю файл .vcs динамически при нажатии на гиперссылку.Код создания файла .VCS:
string calendarFormat = GetVCSFormat();
Response.ContentType = "text/calendar";
Response.AppendHeader("content-disposition", "attachment; filename=MyCalendar.vcs");
Response.Write(calendarFormat);
Response.End();
Он отлично работает во всех браузерах, кроме IE.Это дает мне следующую ошибку:
Internet Explorer cannot download GenerateAppointment.aspx from server.
Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.
Может кто-нибудь сфокусировать свет на этом?