Hi guys.
I`m making a simple uploading app in my system,
but when I'm trying to upload image size more than 50kb "remote server returned an unexpected response (413) request entity too large" error always come up.
googled and seeing other post on this forum and done these things below but nothing worked.
1.setting MaxReceivedMessage
2.setting uploadReadAheadSize
3. set serverRuntime overrideModeDefault into allow in applicationHost.config
I'm using IIS 6 with .netFramework 4.0
and this is my app web.congfig
<?xml version="1.0"?><!-- ASP.NET アプリケーションの構成方法の詳細については、 http://go.microsoft.com/fwlink/?LinkId=169433 を参照してください --><configuration><!-- .NET 4.5 対応のための web.config の変更点の説明については、http://go.microsoft.com/fwlink/?LinkId=235367 を参照してください。 次の属性を <httpRuntime> タグに設定できます。 <system.Web><httpRuntime targetFramework="4.5" /></system.Web> --><system.webServer><httpProtocol><customHeaders><!-- IEでxmlファイルなどを勝手に,htmlと判断したりするのを防ぐおまじない --><add name="X-Content-Type-Options" value="nosniff"/></customHeaders></httpProtocol><modules runAllManagedModulesForAllRequests="true"/><serverRuntime maxRequestEntityAllowed="2147483648" uploadReadAheadSize="10485760"/><security><requestFiltering><requestLimits maxAllowedContentLength="10485760"/></requestFiltering></security></system.webServer><system.web><compilation targetFramework="4.5"/><pages controlRenderingCompatibilityVersion="4.0"/><httpRuntime maxRequestLength="10485760" /></system.web><system.serviceModel><!-- WCFがASP.NET環境で動くように --><serviceHostingEnvironment aspNetCompatibilityEnabled="true" /><bindings><basicHttpBinding><binding name="IBROOMMaintenanceDataService" maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647" ><readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/><security mode="None"/></binding></basicHttpBinding></bindings><behaviors><serviceBehaviors><behavior><!--サーバー側のエラー詳細を、クライアント側に伝えるかどうか 開発時:True 本番化時:False--><serviceDebug includeExceptionDetailInFaults="False"/><serviceMetadata httpGetEnabled="True"/><!--<dataContractSerializer maxItemsInObjectGraph="100000000"/>--></behavior></serviceBehaviors></behaviors></system.serviceModel></configuration>
do anybody have any idea for this problem?
V