本帖最后由 edisoft 于 2013-05-23 23:15:10 编辑

解决方案 »

  1.   

    奇怪了... 我删除服务引用后再次重新添加引用.... 发现我所有的更改都变回来..        <bindings>
                <netTcpBinding>
                    <binding name="NetTcpBinding_IService" closeTimeout="00:01:00"
                        openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
                        transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions"
                        hostNameComparisonMode="StrongWildcard" listenBacklog="10"
                        maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10"
                        maxReceivedMessageSize="65536">
                        <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                        <reliableSession ordered="true" inactivityTimeout="00:10:00"
                            enabled="true" />
                        <security mode="Transport">
                            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
                            <message clientCredentialType="Windows" />
                        </security>
                    </binding>
                </netTcpBinding>
            </bindings>
            <client>
                <endpoint address="net.tcp://127.0.0.1:90/" binding="netTcpBinding"
                    bindingConfiguration="NetTcpBinding_IService" contract="WCF.IService"
                    name="NetTcpBinding_IService">
                    <identity>
                        <userPrincipalName value="PC201302170250\Administrator" />
                    </identity>
                </endpoint>
            </client>
    我的个天,,,这是啥回事呢? 难道服务器端的配置有问题????