私は http ベースの (安全ではない) Web アプリケーションに取り組んでいます。ここでは、クライアントの 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.
誰かがそれに焦点を当てることができますか?