I'm using Saxon B dot net API and i encounter this problem. I use in my COM object HttpRuntime.Cache to store XsltExecutable object of the compiled stylesheet, then when i want to use it again it throws me this error messsage on (transformer.Run(serializer);)

Externally supplied NodeInfo belongs to the wrong Configuration v net.sf.saxon.Controller.transform(Source source, Result result) v Saxon.Api.XsltTransformer.Run(XmlDestination destination) v idnes.SaxonXslt.getFinalResult(Processor processor, XdmNode input, XsltTransformer transformer, TextWriter output)

I know, that i need to use the same configuration or set it to default(i've tried ((Controller)transformer.Implementation).getConfiguration();) but it does nothing.

Any help would be appreciated.

Jan Kovařík