Server Error in '/Normelombardia' Application.

Exception of type 'System.OutOfMemoryException' was thrown.

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.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:


Line 581:        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("https://intranet.consiglio.regione.lombardia.it/OpenData/SelectATTI", RequestNamespace="https://intranet.consiglio.regione.lombardia.it/OpenData", ResponseNamespace="https://intranet.consiglio.regione.lombardia.it/OpenData", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
Line 582:        public string SelectATTI(string qry, string order) {
Line 583:            object[] results = this.Invoke("SelectATTI", new object[] {
Line 584:                        qry,
Line 585:                        order});

Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\normelombardia\bb0411c1\8f5aafa1\App_WebReferences.ck8ls3k5.0.cs    Line: 583

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Net.ScatterGatherBuffers.AllocateMemoryChunk(Int32 newSize) +41
   System.Net.ScatterGatherBuffers.Write(Byte[] buffer, Int32 offset, Int32 count) +76
   System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) +214
   System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size) +115
   System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder) +93
   System.IO.StreamWriter.Flush() +27
   System.Xml.XmlTextWriter.Flush() +15
   System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id) +652
   System.Web.Services.Protocols.SoapHttpClientProtocol.Serialize(SoapClientMessage message) +910
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +131
   it.lombardia.regione.consiglio.intranet.UpsertOpenData.SelectATTI(String qry, String order) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\normelombardia\bb0411c1\8f5aafa1\App_WebReferences.ck8ls3k5.0.cs:583
   accessibile_main.visualizzaDocumentoPDL() in \\file01\nir$\accessibile\main.aspx.cs:828
   accessibile_main.Page_Load(Object sender, EventArgs e) in \\file01\nir$\accessibile\main.aspx.cs:255
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1055.0