Dear Sir, Madam,
We are encountering issues when printing from aspose word while on the production server (ASP.NET Application).
The code found on your website works fine while debugging on a single computer, but nothing happens when published on a production server. (Even though configuration is equivalent)
Public Function ImprimeFichier(ByVal element As T_Document) As Integer
Dim maFacadeDocument As New FacadeDocument(_ID_SITE)
Dim wprint As Aspose.Words.Rendering.AsposeWordsPrintDocument
wdocument = New Document(maFacadeDocument.RecupereNomFichierAvecChemin(element))
'wdocument.Print()
' à tester, en principe, impression sur l'imprimante par défaut
wprint = New Aspose.Words.Rendering.AsposeWordsPrintDocument(wdocument)
wprint.Print()
wprint = Nothing
wdocument = Nothing
End Function
There are no errors generated. The code just seems to “hang” on the Print instruction weather sent to a default printer or a specified one.
Could you please let us know where we may find further instructions concerning this matter?
Cordially