#name?

Is there a version of Aspose.Pdf API for .NET without references to System.Windows.Forms

System.Web - these heavyweight assemblies are not fully supported by SQLCLR…

Also, when registering Aspose.Pdf for use with SQLCLR, it complains about static fields not being set as readonly - a problem in a multithreaded environment.

Msg 6211, Level 16, State 1, Line 2
CREATE ASSEMBLY failed because type ‘.’ in external_access assembly ‘Aspose.Pdf’ has a static field ‘’. Attributes of static fields in external_access assemblies must be marked readonly in Visual C#, ReadOnly in Visual Basic, or initonly in Visual C++ and intermediate language.

Hi Dan,


Thanks for your inquiry. I am afraid there is no light weight version of Aspose.Pdf for .NET is available. However, Aspose.Pdf for .Net 9.7.0 works fine with SQLCLR. Please download latest version for Aspose.Pdf for .NET, it will help you to accomplish the task.

Moreover, please note Aspose APIs are multithread safe as long as only one thread works on a document at a time. It is a typical scenario to have one thread working on one document. Different threads can safely work on different documents at the same time.
Please feel free to contact us for any further assistance.

Best Regards,