问题描述
|
WCF流传输模式托管在IIS上,并尝试从控制台应用程序发送2 MB文件,但由于此错误而失败。它可以在3台不同的服务器上工作,而不能在3台共享相同信息的产品服务器上工作。
与IIS上的SSL相关吗?可能是什么问题?
如何在IIS 7.0中设置UploadReadAheadSize元数据库属性?
IIS 7
Windows Server 2008 64位
Client:
<basicHttpBinding>
<binding name=\"BasicHttpBinding_IFileStreamingService\" closeTimeout=\"00:01:00\"
openTimeout=\"00:01:00\" receiveTimeout=\"00:10:00\" sendTimeout=\"00:05:00\"
allowCookies=\"false\" bypassProxyOnLocal=\"false\" hostNameComparisonMode=\"StrongWildcard\"
maxBufferSize=\"2147483647\" maxBufferPoolSize=\"2147483647\" maxReceivedMessageSize=\"2147483647\"
messageEncoding=\"Mtom\" textEncoding=\"utf-8\" transferMode=\"Streamed\"
useDefaultWebProxy=\"true\">
<readerQuotas maxDepth=\"128\" maxStringContentLength=\"2147483647\" maxArrayLength=\"2147483647\" maxBytesPerRead=\"2147483647\" maxNameTableCharCount=\"2147483647\"/>
<security mode=\"TransportWithMessageCredential\">
<transport clientCredentialType=\"None\" proxyCredentialType=\"None\"
realm=\"\" />
<message clientCredentialType=\"UserName\" algorithmSuite=\"Default\" />
</security>
</binding>
</basicHttpBinding>
</bindings>
Service:
<basicHttpBinding>
<binding name=\"HttpStreaming\" maxBufferSize=\"2147483647\" maxBufferPoolSize=\"2147483647\" maxReceivedMessageSize=\"2147483647\" transferMode=\"Streamed\" messageEncoding=\"Mtom\">
<readerQuotas maxDepth=\"128\" maxStringContentLength=\"2147483647\" maxArrayLength=\"2147483647\" maxBytesPerRead=\"2147483647\" maxNameTableCharCount=\"2147483647\"/>
<!--<security mode=\"None\">
<transport clientCredentialType=\"None\" proxyCredentialType=\"None\" realm=\"\" />
<message clientCredentialType=\"UserName\" algorithmSuite=\"Default\" />
</security>-->
<security mode=\"TransportWithMessageCredential\">
<message clientCredentialType=\"UserName\"/>
</security>
</binding>
</basicHttpBinding>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)