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 62: 
Line 63:             //Genera file rtf
Line 64:             if (!Visualizzazione.convertiInPDF(docDaVisualizzare, pathBase))
Line 65:             {
Line 66:                 // Messaggio di errore in caso di fallimento

Source File: \\file01\nir$\accessibile\esportaDoc.aspx.cs    Line: 64

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Xml.Xsl.XsltOld.Processor.GetValueQuery(Int32 key, XsltCompileContext context) +1739353
   System.Xml.Xsl.XsltOld.Processor.EvaluateBoolean(ActionFrame context, Int32 key) +16
   System.Xml.Xsl.XsltOld.IfAction.Execute(Processor processor, ActionFrame frame) +59
   System.Xml.Xsl.XsltOld.ActionFrame.Execute(Processor processor) +22
   System.Xml.Xsl.XsltOld.Processor.Execute() +61
   System.Xml.Xsl.XsltOld.Processor.Execute(TextWriter writer) +114
   System.Xml.Xsl.XslTransform.Transform(XPathNavigator input, XsltArgumentList args, TextWriter output) +89
   BusinessVisualizzazione.GestioneVisualizzazioneWeb.TrasformaInHtml(Documento documentoSelezionato) in C:\Sandro\LavoriInCorso\XNormeRegioneLombardia\Visualizzazione\GestioneVisualizzazioneWeb.cs:1151
   BusinessVisualizzazione.GestioneVisualizzazioneDocumento.TrasformaDocumento(Documento documentoSelezionato) in C:\Sandro\LavoriInCorso\XNormeRegioneLombardia\Visualizzazione\GestioneVisualizzazioneDocumento.cs:1587
   BusinessVisualizzazione.GestioneVisualizzazioneWeb.preparaDocumentoInteroPerConversione(Documento DocumentoSelezionato) in C:\Sandro\LavoriInCorso\XNormeRegioneLombardia\Visualizzazione\GestioneVisualizzazioneWeb.cs:530
   BusinessVisualizzazione.GestioneVisualizzazioneWeb.convertiInPDF(Documento DocumentoSelezionato, String pathBaseImmagini) in C:\Sandro\LavoriInCorso\XNormeRegioneLombardia\Visualizzazione\GestioneVisualizzazioneWeb.cs:292
   accessibile_esportaDoc.Page_Load(Object sender, EventArgs e) in \\file01\nir$\accessibile\esportaDoc.aspx.cs:64
   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