Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have received the above error when uploading excel file to server.i search the solution in internet but i didn't get proper answer. pls help me to solve my problem.
this is my application web.config file.


C#
<bindings>
   <basicHttpBinding>
     <binding name="BasicHttpBinding_CommercialLoan" closeTimeout="00:10:00"
       openTimeout="00:10:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
       allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
       maxBufferSize="2147483647" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
       messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
       useDefaultWebProxy="true">
       <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
         maxBytesPerRead="4096" maxNameTableCharCount="16384" />
       <security mode="None">
         <transport clientCredentialType="None" proxyCredentialType="None"
           realm="" />
         <message clientCredentialType="UserName" algorithmSuite="Default" />
       </security>
     </binding>
Posted
Comments
Rajat_RJT 23-Apr-15 0:47am    
Is your Service REST based?

1 solution

You can test the wcf service first using the WcfTestClient tool. It is however, always a pain to find because m$ likes to keep people busy with trivial tasks like searching for files, settings, virusses and trojans instead of handling those for you.
As a hint you might find it somewhere here:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\WcfTestClient.exe
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\WcfTestClient.exe

Visual Studio required of course!

https://msdn.microsoft.com/en-us/library/bb552364%28v=vs.110%29.aspx[^]

Good luck!
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900