Windows 8 x64 and Web Service problem RRS feed

  • Question

  • Hello,

    I have weird problem using Web Service in C# desktop application on Windows 8 x64. During uploading large file (~13MB), application and all network connections hang. There is no exception, no information, absolutely nothing. The same application run on Windows 7 32bit and 64bit works perfectly.

    Here my binding config:

                    <binding name="exWSSoap" closeTimeout="00:05:00" openTimeout="00:05:00"
                        receiveTimeout="00:30:00" sendTimeout="00:30:00" allowCookies="false"
                        bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
                        maxBufferPoolSize="524288" maxBufferSize="40000000" maxReceivedMessageSize="40000000"
                        textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"
                        <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="40000000"
                            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
                        <security mode="None">
                            <transport clientCredentialType="None" proxyCredentialType="None"
                                realm="" />
                            <message clientCredentialType="UserName" algorithmSuite="Default" />
                <endpoint address="http://....asmx"
                    binding="basicHttpBinding" bindingConfiguration="exWSSoap"
                    contract="exWS.exWSSoap" name="exWSSoap" />

    On server site configuration allows upload large files by:

    <httpRuntime maxRequestLength="2097151" />
            <requestLimits maxAllowedContentLength="2097151000" />

    Web Service is as follow:

    namespace App
        [WebService(Namespace = "urn:app:services:ex")]
        [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
        public class exWS : System.Web.Services.WebService
            public bool UploadFile(byte[] data, string name) { }

    Any help ?

    Monday, March 4, 2013 7:02 PM

All replies