FluorineFx +.net 3.5+flex3.5配置注意事...

如果把fluorineFx生成配置到IIS里时会有些问题:
1.用flex RemoteObject访问的时候需要定义 endPoint属性:IIS下的GateWay.aspx文件(endpoint="http://localhost:8899/Gateway.aspx")
2.设置此项目后若运行flex报错如下:
faultCode:Client.Error.MessageSend faultString:'Send failed'
faultDetail:'Channel.Connect.Failed error NetConnection.Call.BadVersion:
解决方法:
打开fluorineFx的Web项目->web.config文件,找到
<add name="FluorineGateway" type="FluorineFx.FluorineGateway, FluorineFx"/>
移动到
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="true">
<add name="FluorineGateway" type="FluorineFx.FluorineGateway, FluorineFx" />
</modules>
...
</system.webServer>
Note:复制也可以,如果是移动那么在VS2008IDE环境下调试项目就会报400错误,尝试了一下复制,不论是IDE还是从IIS访问都可以正常访问到ServerBrowser,即下面这个地址。
单独从服务器方面来看:配置到一个可以访问的状态需要表现在,直接从浏览器可以访问到Fluorine的服务管理器 地址像这样:http://localhost:8098/Fluorine.aspx 此时不能报400错误。
Tags: 

延伸阅读

最新评论

发表评论