<serverItem url="http://serverx/" matchAll="true" />
<serverItem url="http://serverx:6080/" matchAll="true" />
Non-negative number required.Parameter name: count Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentOutOfRangeException: Non-negative number required.Parameter name: countSource Error: Line 108: {Line 109: BinaryReader br = new BinaryReader(byteStream);Line 110: byte[] outb = br.ReadBytes((int)serverResponse.ContentLength);Line 111: br.Close();Line 112: Source File: c:\....\Proxy\proxy.ashx Line: 110 Stack Trace: [ArgumentOutOfRangeException: Non-negative number required.Parameter name: count] System.IO.BinaryReader.ReadBytes(Int32 count) +14387194 proxy.ProcessRequest(HttpContext context) in c:\....l\Proxy\proxy.ashx:110 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +913 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165
BinaryReader br = new BinaryReader(byteStream); int length = (int)serverResponse.ContentLength; if (length < 0) length = 10000000; byte[] outb = br.ReadBytes(length); br.Close();
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.