GeneraXmlFactura --> An error occurred while parsing EntityName. Line 48, position 38. Traza: at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.Throw(String res) at System.Xml.XmlTextReaderImpl.ParseEntityName() at System.Xml.XmlTextReaderImpl.ParseEntityReference() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(Stream inStream) at FirmaXadesNet.Utils.XMLUtil.LoadDocument(Stream input) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\Utils\XMLUtil.cs:line 131 at FirmaXadesNet.XadesService.Sign(Stream input, SignatureParameters parameters) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\XadesService.cs:line 120 at SignSoapMessage.FacturaElectronica.FirmarDocumento(Byte[] bytesXml, DateTime fecha, SignatureXPathExpression xpathExpression, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 4031 at SignSoapMessage.FacturaElectronica.FirmarEvento(Byte[] bytesXml, DateTime fecha, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 3945 at SignSoapMessage.FacturaElectronica.GenerarXmlEventoV2(Empresa empresa, FacturaEvento factura, Tercero tercero, String SoftwareID, String strSoftwareSecurityCode, String strNombreSoftware, String strPinSofware, String CodigoEmpresa, String NombreArchivo, String Ruta, String RutaPlantilla, String Clase, NpgsqlConnection localConnection, String& strCUDE, String strAmbiente, String& strQR, String TipoEnvio, X509Certificate2 certificado, String RutaBase, String& strError, Boolean EsPrueba) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 2752 GeneraXmlFactura --> An error occurred while parsing EntityName. Line 48, position 38. Traza: at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.Throw(String res) at System.Xml.XmlTextReaderImpl.ParseEntityName() at System.Xml.XmlTextReaderImpl.ParseEntityReference() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(Stream inStream) at FirmaXadesNet.Utils.XMLUtil.LoadDocument(Stream input) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\Utils\XMLUtil.cs:line 131 at FirmaXadesNet.XadesService.Sign(Stream input, SignatureParameters parameters) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\XadesService.cs:line 120 at SignSoapMessage.FacturaElectronica.FirmarDocumento(Byte[] bytesXml, DateTime fecha, SignatureXPathExpression xpathExpression, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 4031 at SignSoapMessage.FacturaElectronica.FirmarEvento(Byte[] bytesXml, DateTime fecha, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 3945 at SignSoapMessage.FacturaElectronica.GenerarXmlEventoV2(Empresa empresa, FacturaEvento factura, Tercero tercero, String SoftwareID, String strSoftwareSecurityCode, String strNombreSoftware, String strPinSofware, String CodigoEmpresa, String NombreArchivo, String Ruta, String RutaPlantilla, String Clase, NpgsqlConnection localConnection, String& strCUDE, String strAmbiente, String& strQR, String TipoEnvio, X509Certificate2 certificado, String RutaBase, String& strError, Boolean EsPrueba) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 2752 GeneraXmlFactura --> An error occurred while parsing EntityName. Line 48, position 38. Traza: at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.Throw(String res) at System.Xml.XmlTextReaderImpl.ParseEntityName() at System.Xml.XmlTextReaderImpl.ParseEntityReference() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(Stream inStream) at FirmaXadesNet.Utils.XMLUtil.LoadDocument(Stream input) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\Utils\XMLUtil.cs:line 131 at FirmaXadesNet.XadesService.Sign(Stream input, SignatureParameters parameters) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\XadesService.cs:line 120 at SignSoapMessage.FacturaElectronica.FirmarDocumento(Byte[] bytesXml, DateTime fecha, SignatureXPathExpression xpathExpression, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 4031 at SignSoapMessage.FacturaElectronica.FirmarEvento(Byte[] bytesXml, DateTime fecha, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 3945 at SignSoapMessage.FacturaElectronica.GenerarXmlEventoV2(Empresa empresa, FacturaEvento factura, Tercero tercero, String SoftwareID, String strSoftwareSecurityCode, String strNombreSoftware, String strPinSofware, String CodigoEmpresa, String NombreArchivo, String Ruta, String RutaPlantilla, String Clase, NpgsqlConnection localConnection, String& strCUDE, String strAmbiente, String& strQR, String TipoEnvio, X509Certificate2 certificado, String RutaBase, String& strError, Boolean EsPrueba) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 2752 GeneraXmlFactura --> An error occurred while parsing EntityName. Line 48, position 38. Traza: at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.Throw(String res) at System.Xml.XmlTextReaderImpl.ParseEntityName() at System.Xml.XmlTextReaderImpl.ParseEntityReference() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(Stream inStream) at FirmaXadesNet.Utils.XMLUtil.LoadDocument(Stream input) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\Utils\XMLUtil.cs:line 131 at FirmaXadesNet.XadesService.Sign(Stream input, SignatureParameters parameters) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\XadesService.cs:line 120 at SignSoapMessage.FacturaElectronica.FirmarDocumento(Byte[] bytesXml, DateTime fecha, SignatureXPathExpression xpathExpression, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 4031 at SignSoapMessage.FacturaElectronica.FirmarEvento(Byte[] bytesXml, DateTime fecha, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 3945 at SignSoapMessage.FacturaElectronica.GenerarXmlEventoV2(Empresa empresa, FacturaEvento factura, Tercero tercero, String SoftwareID, String strSoftwareSecurityCode, String strNombreSoftware, String strPinSofware, String CodigoEmpresa, String NombreArchivo, String Ruta, String RutaPlantilla, String Clase, NpgsqlConnection localConnection, String& strCUDE, String strAmbiente, String& strQR, String TipoEnvio, X509Certificate2 certificado, String RutaBase, String& strError, Boolean EsPrueba) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 2752 GeneraXmlFactura --> An error occurred while parsing EntityName. Line 48, position 38. Traza: at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.Throw(String res) at System.Xml.XmlTextReaderImpl.ParseEntityName() at System.Xml.XmlTextReaderImpl.ParseEntityReference() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(Stream inStream) at FirmaXadesNet.Utils.XMLUtil.LoadDocument(Stream input) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\Utils\XMLUtil.cs:line 131 at FirmaXadesNet.XadesService.Sign(Stream input, SignatureParameters parameters) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\XadesService.cs:line 120 at SignSoapMessage.FacturaElectronica.FirmarDocumento(Byte[] bytesXml, DateTime fecha, SignatureXPathExpression xpathExpression, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 4031 at SignSoapMessage.FacturaElectronica.FirmarEvento(Byte[] bytesXml, DateTime fecha, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 3945 at SignSoapMessage.FacturaElectronica.GenerarXmlEventoV2(Empresa empresa, FacturaEvento factura, Tercero tercero, String SoftwareID, String strSoftwareSecurityCode, String strNombreSoftware, String strPinSofware, String CodigoEmpresa, String NombreArchivo, String Ruta, String RutaPlantilla, String Clase, NpgsqlConnection localConnection, String& strCUDE, String strAmbiente, String& strQR, String TipoEnvio, X509Certificate2 certificado, String RutaBase, String& strError, Boolean EsPrueba) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 2752 GeneraXmlFactura --> An error occurred while parsing EntityName. Line 48, position 38. Traza: at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.Throw(String res) at System.Xml.XmlTextReaderImpl.ParseEntityName() at System.Xml.XmlTextReaderImpl.ParseEntityReference() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(Stream inStream) at FirmaXadesNet.Utils.XMLUtil.LoadDocument(Stream input) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\Utils\XMLUtil.cs:line 131 at FirmaXadesNet.XadesService.Sign(Stream input, SignatureParameters parameters) in D:\Code\C#\DIAN\ServiciosDIAN\FirmaXadesNet\XadesService.cs:line 120 at SignSoapMessage.FacturaElectronica.FirmarDocumento(Byte[] bytesXml, DateTime fecha, SignatureXPathExpression xpathExpression, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 4031 at SignSoapMessage.FacturaElectronica.FirmarEvento(Byte[] bytesXml, DateTime fecha, X509Certificate2 sign) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 3945 at SignSoapMessage.FacturaElectronica.GenerarXmlEventoV2(Empresa empresa, FacturaEvento factura, Tercero tercero, String SoftwareID, String strSoftwareSecurityCode, String strNombreSoftware, String strPinSofware, String CodigoEmpresa, String NombreArchivo, String Ruta, String RutaPlantilla, String Clase, NpgsqlConnection localConnection, String& strCUDE, String strAmbiente, String& strQR, String TipoEnvio, X509Certificate2 certificado, String RutaBase, String& strError, Boolean EsPrueba) in D:\Code\C#\DIAN\ServiciosDIAN\SoapMessageCore\FacturaElectronica.cs:line 2752