веб-сайт, использующий фтор fx borken во время миграции

у нас есть веб-сайт 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>

Починил это. Оказывается, все, что мне нужно было сделать, это заставить пул приложений работать в классическом режиме, а не в интегрированном режиме. проблема была исправлена.


person Syed Salman Akbar    schedule 04.10.2012    source источник


Ответы (2)


это содержимое файла service-config.xml внутри папки |c:\websites\subdomain.domain.org\websiteroot\web-inf\flex" --> -->

person Community    schedule 05.10.2012

(mx.messaging.messages::ErrorMessage)#0 body = (Object)#1 clientId = (null) CorrelationId = "4D9A6C96-03CB-3175-FFB4-2CF0D4C4D6FE" destination = "" extendedData = (null) faultCode = "Client .Error.MessageSend" faultDetail = "Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: 'http://subdomain.domain.org/fluorinefx/gateway.aspx'" faultString = "Отправить не удалось" заголовки = ( Object)#2 messageId = "90010FA4-E69E-3705-8D29-2CF0D65E957B" rootCause = (mx.messaging.events::ChannelFaultEvent)#3 пузыри = false отменяемый = false канал = (mx.messaging.channels::AMFChannel)# 4 аутентифицировано = false channelSets = (Array)#5 [0] (mx.messaging::ChannelSet)#6 аутентифицировано = false channelIds = (Array)#7 [0] каналы "my-amf" = (Array)#8 [ 0] (mx.messaging.channels::AMFChannel)#4 сгруппировано = ложно подключено = ложно currentChannel = (mx.messaging.channels::AMFChannel)#4 initialDestinationId = (null) messageAgents = (Array)#9 [0] (mx.rpc::AsyncRequest)#10 authentication = false autoConnect = true channelSet = (mx. message::ChannelSet)#6 clientId = (null)connected=false defaultHeaders=(null) destination = "fluorine" id = "D967EE11-9117-DE39-E544-2CEF7130B37A" reconnectAttempts = 0 reconnectInterval = 0 requestTimeout = -1 subtopic = "" [1] (mx.rpc::AsyncRequest)#11 аутентифицировано = false autoConnect = true channelSet = (mx.messaging::ChannelSet)#6 clientId = (null) linked = false defaultHeaders = (null) destination = "fluorine " id = "B1282969-F54C-B538-E4B1-2CF0D4C3CB73" reconnectAttempts = 0 reconnectInterval = 0 requestTimeout = -1 subtopic = ""connected = false connectTimeout = -1 enableSmallMessages = true endpoint = "http://subdomain.domain.org/ fluorinefx/gateway.aspx" failoverURIs = (Array)#12 id = "my-amf" mpiEnabled = false netConnection = (flash.net::NetConnection)#13 client = (mx.messaging.channels::AMFChannel)#4 подключен = false objectEncoding = 3 proxyType = "none" uri = "http://subdomain.domain.org/fluorinefx/gateway.aspx" piggybackingEnabled = false polling = false pollingEnabled = true pollingInterval = 3000 протокол = переподключение "http" = false recordMessageSizes = false RecordMessageTimes = false requestTimeout = -1 uri = "http ://subdomain.domain.org/fluorinefx/gateway.aspx" url = "http://subdomain.domain.org/fluorinefx/gateway.aspx" useSmallMessages = false channelId = "my-amf"connected = false currentTarget = ( mx.messaging.channels::AMFChannel)#4 eventPhase = 2 faultCode = "Канал. Connect.Failed" faultDetail = "NetConnection.Call.BadVersion: : url: 'http://subdomain.domain.org/fluorinefx/gateway.aspx'" faultString = "ошибка" повторного подключения = false reject = false rootCause = (Object) #14 code = "NetConnection.Call.BadVersion" description = "" details = "" level = "error" target = (mx.messaging.channels::AMFChannel)#4 type = "channelFault" timestamp = 0 timeToLive = 0

<!-- Custom authentication -->
<security>
    <!-- A security constraint requires that a user is authorized before accessing a destination.
    Here you can declare security constraints globally. When several destinations 
    use the same security settings, you should define one security constraint in the 
    security section of the services configuration file and refer to it in each destination.                
    -->
    <!-- 
    <security-constraint id="privileged-users">
        <auth-method>Custom</auth-method>
        <roles>
            <role>admin</role>
            <role>privilegeduser</role>
        </roles>
    </security-constraint>    
     -->

    <!--    
    Custom login command, to check a user's credentials and log a principal into the application server
    A login command must implement the com.TheSilentGroup.Fluorine.Messaging.Security.ILoginCommand interface
    or inherit from com.TheSilentGroup.Fluorine.Messaging.Security.GenericLoginCommand.

    You can use a login command without security constraints defined.
    -->
    <!-- 
    <login-command class="FluorineFx.Security.GenericLoginCommand" server="asp.net"/>
     -->
</security>

<channels>
    <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
        <endpoint uri="http://{server.name}:{server.port}/{context.root}/fluorinefx/Gateway.aspx" class="flex.messaging.endpoints.AMFEndpoint"/>
        <properties>
            <!-- <legacy-collection>true</legacy-collection> -->
        </properties>
    </channel-definition>
    <!--
    <channel-definition id="my-rtmp" class="mx.messaging.channels.RTMPChannel">
        <endpoint uri="rtmp://{server.name}:2037" class="flex.messaging.endpoints.RTMPEndpoint"/>
        <properties>
            <idle-timeout-minutes>20</idle-timeout-minutes>
        </properties>
    </channel-definition>
    -->
</channels>

person Syed Salman Akbar    schedule 04.10.2012