I am loading document from array.
In my local solution it work´s fine, but when i deploy the website to the server it doesnot work. the error is:
The type initializer for 'Telerik.Windows.Documents.Flow.Model.RadFlowDocument' threw an exception.
StackTrace:
at Telerik.Windows.Documents.Flow.Model.RadFlowDocument..ctor(Boolean setInitialDocumentDefaultValues)
at Telerik.Windows.Documents.Flow.FormatProviders.Docx.Import.RadFlowDocumentImportContext.BeginImport()
at Telerik.Windows.Documents.FormatProviders.OpenXml.OpenXmlImporter`1.Import(Stream input, IOpenXmlImportContext context)
at Telerik.Windows.Documents.Flow.FormatProviders.Docx.DocxFormatProvider.ImportOverride(Stream input)
at Telerik.Windows.Documents.Common.FormatProviders.BinaryFormatProviderBase`1.Import(Byte[] input)
at FlujoTrabajo_VentanaFirma.GeneraOficioParaFirma(Byte[]& DocumentoPDF, Int32 idArchivo, Int32& NumOficio, String CodigoValidacion, Int32& IdFormulario, String Firmante, String PieFirma, DbTransaction transaction) in c:\Users\pmunoz\AppData\Local\Temp\WebSitePublish\Web_SIGEDOC--1718161755\obj\Debug\AspnetCompileMerge\Source\FlujoTrabajo\VentanaFirma.aspx.cs:line 1138