We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com


I am adding a TextStamp to a pdf file using asp.net but when the website runs as a user with very minimal permissions I get an error message (see below). But if I run with a user that has admin permission everything works just fine. Does the TextStamp class write to temp directory?

[NullReferenceException: Object reference not set to an instance of an object.]
Aspose.Pdf.Document…ctor() +77
PrintForm.Page_Load(Object sender, EventArgs e) +39
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Hi Micheal,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for considering Aspose.Pdf.

Please share your sample application with us to help us reproduce the issue at our end. Also, please provide some more details regarding how you are setting the user permissions which are causing the problem at your end.

Sorry for the inconvenience,