0

win2k3からwin2k8r2に移行した後、次のエラーが発生し始めたasp.netWebサイトがあります。

(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="送信に失敗しました"headers=( Object)#2 messageId = "90010FA4-E69E-3705-8D29-2CF0D65E957B" rootCause =(mx.messaging.events :: ChannelFaultEvent)#3バブル=falseキャンセル可能=falseチャネル=(mx.messaging.channels :: AMFChannel)# 4認証済み=falsechannelSets =(Array)#5 [0](mx.messaging ::ChannelSet)#6認証済み= false channelIds =(アレイ)#7 [0] "my-amf"チャネル=(アレイ)#8 [0](mx.messaging.channels :: AMFChannel)#4クラスター化=false接続=false currentChannel =(mx.messaging.channels :: AMFChannel)#4 initialDestinationId =(null)messageAgents =(Array)#9 [0](mx.rpc :: AsyncRequest)#10 authentication = false autoConnect = true channelSet =(mx。 Messaging :: 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) 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接続=falseobjectEncoding = 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 =" error "reconnecting = false required = false rootCause =(Object)#14 code =" NetConnection.Call.BadVersion "description =" " details = "" level = "error" target =(mx.messaging.channels :: AMFChannel)#4 type = "channelFault" timestamp = 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 required = false rootCause =(Object)#14 code =" NetConnection.Call.BadVersion "description =" "details =" "level =" error "target =(mx.messaging.channels :: AMFChannel)#4 type="channelFault"タイムスタンプ=0timeToLive = 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 required = false rootCause =(Object)#14 code =" NetConnection.Call.BadVersion "description =" "details =" "level =" error "target =(mx.messaging.channels :: AMFChannel)#4 type="channelFault"タイムスタンプ=0timeToLive = 0Call.BadVersion::url:'http://subdomain.domain.org/fluorinefx/gateway.aspx' "faultString =" error "reconnecting = false required = false rootCause =(Object)#14 code="NetConnection.Call。 BadVersion "description =" "details =" "level =" error "target =(mx.messaging.channels :: AMFChannel)#4 type =" channelFault "timestamp = 0 timeToLive = 0Call.BadVersion::url:'http://subdomain.domain.org/fluorinefx/gateway.aspx' "faultString =" error "reconnecting = false required = false rootCause =(Object)#14 code="NetConnection.Call。 BadVersion "description =" "details =" "level =" error "target =(mx.messaging.channels :: AMFChannel)#4 type =" channelFault "timestamp = 0 timeToLive = 0target =(mx.messaging.channels :: AMFChannel)#4 type = "channelFault" timestamp = 0 timeToLive = 0target =(mx.messaging.channels :: AMFChannel)#4 type = "channelFault" timestamp = 0 timeToLive = 0

以下は、古いサーバーの構成情報です。

win2k3r264ビットiis6Fluroinefx(1.0.0.15)は、プログラムの追加と削除に示されているように、FluroinefxWindowsサービスがインストールされていません。FluorineFx.dll 1.0.0.15(私のWebサイトのbinフォルダー内に存在)FluorineFx.ServiceBrowser.dll 1.0.0.15(私のWebサイトのbinフォルダー内に存在)

以下は、古いサーバーの構成情報です。

win2k8r264ビットiis7.5Fluroinefx(1.0.0.15)は、プログラムの追加と削除に示されています。Fluroine fx Windowsサービスがインストールされています(fluorinefx.exe(1.0.0.13))。FluorineFx.dll 1.0.0.15(私のWebサイトのbinフォルダー内に存在)FluorineFx.ServiceBrowser.dll 1.0.0.15(私のWebサイトのbinフォルダー内に存在)サイトには独自のアプリプールがあります。アプリプールは32ビットアプリケーションを許可しています。アイドルタイムアウトは0です

古いサーバーと新しいサーバーの両方のディレクトリ内に、gateway.aspxファイルとconsole.aspxファイルを持つ「fluorinefx」フォルダがあります。

これは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を使用します。

public部分クラスコンソール: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 に答える