I'm working on a .NET 1.1 assembly that does a number of huge XSL transforms. This is beginning to cause memory problems. I therefore want to use the XSLT engine in the .NET 2.0 framework, since I know it is much more efficient and less resource intensive. Note: Upgrading the .NET 1.1 assembly to .NET 2.0 is NOT an option at this time, due to time and budget constraints (beyond my control).
I've written a .NET 2.0 assembly that can do XSL transforms, and exposed it as a COM+ interop object. When I load this object from the .NET 1.1 assembly, it loads fine, but as soon as I load the XSL transform, an exception occurs, and it doesn't contain ANY useful information as to what went wrong.
Interestingly, if I call a simpler, unrelated test method in the .NET 2.0 assembly (like a method that just writes to the eventlog instead of doing a transform), it seems to work.
Any ideas on alternative approaches? Or is there something obvious I'm doing wrong?
Any help would be greatly appreciated! Thanks!