0

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

(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 错误 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 认证 = 假 channelSets = (Array)#5 [0] (mx.messaging::ChannelSet)#6 已验证 = false channelIds = (Array)#7 [0] "my-amf" channels = (Array)#8 [0] (mx.messaging.channels::AMFChannel)#4 clustered = false connected = false currentChannel = (mx.messaging.channels::AMFChannel)#4 initialDestinationId = (null) messageAgents = (Array)#9 [0] (mx.rpc::AsyncRequest)#10 authenticated = false autoConnect = true channelSet = (mx.消息::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 authenticated = false autoConnect = true channelSet = (mx.messaging::ChannelSet)#6 clientId = (null) connected = false defaultHeaders = (null) destination = "fluorine" id = "B1282969-F54C-B538-E4B1-2CF0D4C3CB73" reconnectAttempts = 0 reconnectInterval = 0 requestTimeout = -1 subtopic = "" connected = false connectTimeout = -1 enableSmallMessages = true端点 = "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 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 =假recordMessageSizes =假recordMessageTimes =假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 = "error" reconnecting = false denied = false rootCause = (Object)#14 code = "NetConnection.Call.BadVersion" description = "" details = "" level = "error" target = (mx.messaging.channels::AMFChannel)#4 type = "channelFault" 时间戳 = 0 timeToLive = 0connected = 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 = "error" reconnecting = false denied = false rootCause = (Object)#14 code = "NetConnection.Call.BadVersion" description = "" details = "" level = "error" target = (mx.messaging.channels::AMFChannel)#4 type = "channelFault" 时间戳 = 0 timeToLive = 0connected = 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 = "error" reconnecting = false denied = false rootCause = (Object)#14 code = "NetConnection.Call.BadVersion" description = "" details = "" level = "error" target = (mx.messaging.channels::AMFChannel)#4 type = "channelFault" 时间戳 = 0 timeToLive = 0Call.BadVersion: : url: 'http://subdomain.domain.org/fluorinefx/gateway.aspx'" faultString = "error" reconnecting = false denied = false rootCause = (Object)#14 code = "NetConnection.Call. BadVersion" 描述 = "" 详细信息 = "" 级别 = "错误" 目标 = (mx.messaging.channels::AMFChannel)#4 类型 = "channelFault" 时间戳 = 0 timeToLive = 0Call.BadVersion: : url: 'http://subdomain.domain.org/fluorinefx/gateway.aspx'" faultString = "error" reconnecting = false denied = false rootCause = (Object)#14 code = "NetConnection.Call. BadVersion" 描述 = "" 详细信息 = "" 级别 = "错误" 目标 = (mx.messaging.channels::AMFChannel)#4 类型 = "channelFault" 时间戳 = 0 timeToLive = 0目标 = (mx.messaging.channels::AMFChannel)#4 类型 = "channelFault" 时间戳 = 0 timeToLive = 0目标 = (mx.messaging.channels::AMFChannel)#4 类型 = "channelFault" 时间戳 = 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 service installed(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;

公共部分类控制台:System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Response.Redirect("Fluorine.aspx"); }

#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

}

这是“gateway.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;

公共部分类网关: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>

任何帮助将不胜感激

4

2 回答 2

1

修复。原来我所要做的就是让应用程序池以经典模式而不是集成模式运行。问题已解决。

于 2012-10-05T11:13:08.250 回答
0

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

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

于 2012-10-04T19:13:54.950 回答