在迁移期间使用氟fx borken的网站

时间:2012-10-04 19:06:55

标签: .net-3.5 windows-server-2008 iis-7.5 fluorinefx

我们有asp.net网站从win2k3迁移到win2k8r2后开始出现以下错误

  

(mx.messaging.messages ::的ErrorMessage)#0     body =(对象)#1     clientId =(null)     correlationId =" 4D9A6C96-03CB-3175-FFB4-2CF0D4C4D6FE"     destination =""     extendedData =(null)     faultCode =" Client.Error.MessageSend"     faultDetail =" Channel.Connect.Failed错误NetConnection.Call.BadVersion :: url:' http://subdomain.domain.org/fluorinefx/gateway.aspx'"     faultString ="发送失败"     headers =(Object)#2     messageId =" 90010FA4-E69E-3705-8D29-2CF0D65E957B"     rootCause =(mx.messaging.events ::: ChannelFaultEvent)#3       bubbles = false       cancelable = false       channel =(mx.messaging.channels :: AMFChannel)#4         authenticated = false         channelSets =(数组)#5           [0](mx.messaging :: ChannelSet)#6             authenticated = false             channelIds =(数组)#7               [0]" my-amf"             channels =(数组)#8               [0](mx.messaging.channels :: AMFChannel)#4             clustered = false             connected = false             currentChannel =(mx.messaging.channels :: AMFChannel)#4             initialDestinationId =(null)             messageAgents =(数组)#9               [0](mx.rpc :: AsyncRequest)#10                 authenticated = false                 autoConnect = true                 channelSet =(mx.messaging :: ChannelSet)#6                 clientId =(null)                 connected = false                 defaultHeaders =(null)                 目的地="氟"                 id =" D967EE11-9117-DE39-E544-2CEF7130B37A"                 reconnectAttempts = 0                 reconnectInterval = 0                 requestTimeout = -1                 subtopic =""               [1](mx.rpc :: AsyncRequest)#11                 authenticated = false                 autoConnect = true                 channelSet =(mx.messaging :: ChannelSet)#6                 clientId =(null)                 connected = false                 defaultHeaders =(null)                 目的地="氟"                 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 =(数组)#12         id =" my-amf"         mpiEnabled = false         netConnection =(flash.net::NetConnection)#13           client =(mx.messaging.channels :: AMFChannel)#4           connected = false           objectEncoding = 3           proxyType =" none"           uri =" http://subdomain.domain.org/fluorinefx/gateway.aspx"         piggybackingEnabled = false         polling = false         pollingEnabled = true         pollingInterval = 3000         protocol =" http"         reconnecting = 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 =" Channel.Connect.Failed"       faultDetail =" NetConnection.Call.BadVersion :: url:' http://subdomain.domain.org/fluorinefx/gateway.aspx'"       faultString ="错误"       reconnecting = false       reject = false       rootCause =(对象)#14         code =" NetConnection.Call.BadVersion"         description =""         详情=""         level ="错误"       target =(mx.messaging.channels :: AMFChannel)#4       type =" channelFault"     timestamp = 0     timeToLive = 0

以下是旧服务器的配置信息

win2k3r2 64位 IIS6 Fluroine fx(1.0.0.15)如添加删除程序所示 没有安装Fluroine fx windows服务。 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)如添加删除程序所示 安装了Fluroine fx windows服务(fluorfx.exe(1.0.0.13))。 FluorineFx.dll 1.0.0.15(存在于我网站的bin文件夹中) FluorineFx.ServiceBrowser.dll 1.0.0.15(出现在我网站的bin文件夹中) 网站有自己的应用程序池。应用程序池允许32位应用程序。空闲超时为0

有一个" fluorfx"目录内的新旧服务器上都有gateway.aspx和console.aspx文件。

这是console.aspx.cs文件的内容

使用System; 使用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;

public partial class Console:System.Web.UI.Page {     protected void Page_Load(object sender,EventArgs e)     {         的Response.Redirect(" Fluorine.aspx&#34);     }

#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

}

这是&#34; gateway.aspx.cs&#34;的内容。文件

使用System; 使用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;

public partial class Gateway:System.Web.UI.Page {     protected void Page_Load(object sender,EventArgs e)     {

}

} 这是我的crossdomain.xml文件

<cross-domain-policy> <site-control permitted-cross-domain-policies="master-only"/> <allow-access-from domain="*"/> </cross-domain-policy>

非常感谢任何帮助

2 个答案:

答案 0 :(得分:1)

修正了它。事实证明我所要做的就是让应用程序池以经典模式而不是集成模式运行。这个问题已得到解决。

答案 1 :(得分:0)

这是| c:\ websites \ subdomain.domain.org \ websiteroot \ web-inf \ flex“文件夹中service-config.xml文件的内容                         - &GT;           - &GT;     

<!-- 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>