Server Error in '/' Application.

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
  at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
  at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
  at System.Convert.FromBase64String(String s)
  at Base.Common.Crypto.CryptoEngine.Decrypt(String cipherString, String securityKey) in C:\Desarrollo\corisconosur\sistemacoris\Librerias\Base\Base.Common\Base.Common\Crypto\CryptoEngine.cs:line 84
  at Negocio.WebSiteService.Encriptation.GetWebServiceByReferenceId(String referenceId) in C:\Desarrollo\corisconosur\sistemacoris\Librerias\Negocio\Negocio\Negocio\WebService\WebSiteService.Encriptation.cs:line 73
  at Negocio.SaleProcess.GetProductsInAnyGroup(String tokenSession, String cultureId) in C:\Desarrollo\corisconosur\sistemacoris\Librerias\Negocio\Negocio\Negocio\ServicioWeb\SaleProcess.cs:line 3205
  at SaleProcess.GetProductsInAnyGroup(String tokenSession, String cultureId) in C:\Users\neuma\AppData\Local\Temp\WebSitePublish\Sistema--525745289\obj\Debug\AspnetCompileMerge\Source\App_Code\WS\SaleProcess.cs:line 220
  --- End of inner exception stack trace ---

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.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
  at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
  at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
  at System.Convert.FromBase64String(String s)
  at Base.Common.Crypto.CryptoEngine.Decrypt(String cipherString, String securityKey) in C:\Desarrollo\corisconosur\sistemacoris\Librerias\Base\Base.Common\Base.Common\Crypto\CryptoEngine.cs:line 84
  at Negocio.WebSiteService.Encriptation.GetWebServiceByReferenceId(String referenceId) in C:\Desarrollo\corisconosur\sistemacoris\Librerias\Negocio\Negocio\Negocio\WebService\WebSiteService.Encriptation.cs:line 73
  at Negocio.SaleProcess.GetProductsInAnyGroup(String tokenSession, String cultureId) in C:\Desarrollo\corisconosur\sistemacoris\Librerias\Negocio\Negocio\Negocio\ServicioWeb\SaleProcess.cs:line 3205
  at SaleProcess.GetProductsInAnyGroup(String tokenSession, String cultureId) in C:\Users\neuma\AppData\Local\Temp\WebSitePublish\Sistema--525745289\obj\Debug\AspnetCompileMerge\Source\App_Code\WS\SaleProcess.cs:line 220
  --- End of inner exception stack trace ---

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. 
   at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
   at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
   at System.Convert.FromBase64String(String s)
   at Base.Common.Crypto.CryptoEngine.Decrypt(String cipherString, String securityKey) in C:\Desarrollo\corisconosur\sistemacoris\Librerias\Base\Base.Common\Base.Common\Crypto\CryptoEngine.cs:line 84
   at Negocio.WebSiteService.Encriptation.GetWebServiceByReferenceId(String referenceId) in C:\Desarrollo\corisconosur\sistemacoris\Librerias\Negocio\Negocio\Negocio\WebService\WebSiteService.Encriptation.cs:line 73
   at Negocio.SaleProcess.GetProductsInAnyGroup(String tokenSession, String cultureId) in C:\Desarrollo\corisconosur\sistemacoris\Librerias\Negocio\Negocio\Negocio\ServicioWeb\SaleProcess.cs:line 3205
   at SaleProcess.GetProductsInAnyGroup(String tokenSession, String cultureId) in C:\Users\neuma\AppData\Local\Temp\WebSitePublish\Sistema--525745289\obj\Debug\AspnetCompileMerge\Source\App_Code\WS\SaleProcess.cs:line 220
   --- End of inner exception stack trace ---]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +240916
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +267
   Base.Website.servicio.SaleProcess.GetProductsInAnyGroup(String tokenSession, String cultureId) in C:\Desarrollo\corisconosur\WebsitesCMS\Librerias\Base\Base.Website\Web References\servicio\Reference.cs:809
   Base.Website.Aplicacion.GetProductsInAnyGroup(String idreference, String idculture) in C:\Desarrollo\corisconosur\WebsitesCMS\Librerias\Base\Base.Website\Entorno\Aplicacion.cs:838
   Base.Website.Aplicacion.GetProductInAnyGroup(Int32 idproduct, String idreference, String idculture) in C:\Desarrollo\corisconosur\WebsitesCMS\Librerias\Base\Base.Website\Entorno\Aplicacion.cs:848
   Base.Website.Aplicacion.GetProduct(Int32 idproduct, String idreference, String idculture) in C:\Desarrollo\corisconosur\WebsitesCMS\Librerias\Base\Base.Website\Entorno\Aplicacion.cs:728
   UCProductConditionsLink.fillData() in c:\Users\neuma\AppData\Local\Temp\WebSitePublish\Coris--108553386\obj\Debug\AspnetCompileMerge\Source\widgets\producto\productconditionslink.ascx.cs:35
   UCProductConditionsLink.Page_Load(Object sender, EventArgs e) in c:\Users\neuma\AppData\Local\Temp\WebSitePublish\Coris--108553386\obj\Debug\AspnetCompileMerge\Source\widgets\producto\productconditionslink.ascx.cs:16
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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