у нас есть веб-сайт asp.net, который начал выдавать следующую ошибку после перехода с win2k3 на win2k8r2
Ниже приведена информация о конфигурации старого сервера.
win2k3r2 64-разрядная версия iis6 Fluroine fx (1.0.0.15), как показано в разделе «Установка и удаление программ» Служба Windows Fluroine fx не установлена. FluorineFx.dll 1.0.0.15 (присутствует в папке bin на моем веб-сайте) FluorineFx.ServiceBrowser.dll 1.0.0.15 (присутствует в папке bin на моем веб-сайте)
Ниже приведена информация о конфигурации старого сервера.
win2k8r2 64-разрядная версия iis7.5 Fluroine fx (1.0.0.15), как показано в программе «Установка и удаление программ» Установлена служба Windows Fluroine fx (fluorinefx.exe (1.0.0.13)). FluorineFx.dll 1.0.0.15 (присутствует в папке bin на моем веб-сайте) FluorineFx.ServiceBrowser.dll 1.0.0.15 (присутствует в папке bin на моем веб-сайте) Сайт имеет собственный пул приложений. Пул приложений позволяет использовать 32-битные приложения. тайм-аут простоя равен 0
Внутри каталога как на старом, так и на новом серверах есть папка «fluorinefx», в которой есть файлы gateway.aspx и console.aspx.
Это содержимое файла console.aspx.cs.
с помощью системы; используя System.Data; используя System.Configuration; использование System.Collections; с помощью System.Web; с помощью System.Web.Security; с помощью System.Web.UI; используя System.Web.UI.WebControls; используя System.Web.UI.WebControls.WebParts; используя System.Web.UI.HtmlControls;
открытый частичный класс Console: System.Web.UI.Page { protected void Page_Load (отправитель объекта, EventArgs e) { Response.Redirect («Fluorine.aspx»); }
Это содержимое файла «gateway.aspx.cs».
#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
}
с помощью системы; используя System.Data; используя System.Configuration; использование System.Collections; с помощью System.Web; с помощью System.Web.Security; с помощью System.Web.UI; используя System.Web.UI.WebControls; используя System.Web.UI.WebControls.WebParts; используя System.Web.UI.HtmlControls;
общедоступный шлюз частичного класса: System.Web.UI.Page { protected void Page_Load (отправитель объекта, EventArgs e) {
} Это мой файл crossdomain.xml
}
Любая помощь будет принята с благодарностью
<cross-domain-policy> <site-control permitted-cross-domain-policies="master-only"/> <allow-access-from domain="*"/> </cross-domain-policy>
Починил это. Оказывается, все, что мне нужно было сделать, это заставить пул приложений работать в классическом режиме, а не в интегрированном режиме. проблема была исправлена.