Ho un problema... ho creato un file XML con una query in VB con una chiamata asincrona.

Ora il mio problema è...

L'SQL restituisce l'xml in maniera corretta.

appena lo restituisco sorge il problema e l'XML viene troncato...

vi posto il sorgentte della pagina:

codice:
Imports System.Data
Imports System.Data.SqlClient
Imports FileComuni.NET
Imports SIC_WebService
Imports FileComuniClassLibrary
Imports iTextSharp.text
Imports iTextSharp.text.pdf
Imports System.IO
Imports PDFCommon

Partial Class getAna
    Inherits System.Web.UI.Page
    Dim objWebService As New FunzioniBase

    Sub Page_Load(ByVal Src As Object, ByVal E As EventArgs) Handles MyBase.Load

        Dim Leggi As SqlDataReader
        Dim SQL As String
        Dim objDb As New DatabaseClass(stringadiconnessione)

        Dim xmlOUT As String



        

        SQL = " SELECT CodiceSIC, "
        SQL &= " Denominazione "
        SQL &= " FROM Anagrafica "
        SQL &= " WHERE '1'='1' "

                 SQL &= " FOR XML AUTO, ELEMENTS, ROOT('ramoprincipale') "
            Leggi = objDb.ReturnDataReader(SQL)

            If Leggi.Read Then
                xmlOUT = Leggi(0) 
            Else
                xmlOUT = "<ramoprincipale></ramoprincipale>"
            End If

            Leggi.Close()
        
            
            'imposto il giusto ContentType.
            Response.ClearContent()
            Response.ClearHeaders()
            Response.ContentType = "text/xml"
            Response.Write(xmlOUT)
            Response.Flush()
            Response.Close()
    End Sub


End Class
già nel punto in cui ho scritto in rosso l'XML viene troncato.

Qualcuno puo'/riesce ad aiutarmi...