Hi guys
I developed a pipeline component that applies a map in the pipeline. This was working properly until I placed a scriptiong functoid that invokes an external assembly (helper class).
After that I when I try to process the map I get the error:
Cannot find the script or external object that implements prefix 'ScriptNS0'
For what I can find googling, this usually happens with custom XSLT, but on my case I'm using the mapper, so I don't need the extensions objects xml, the external assembly reference is placed on the BTM file when I configure the scripting functoid, but I still have the error :S
I already:
- checked the GAC, the assembly is there and it has the correct name.
- running test map on VS it works
The code I'm using to apply the map in the pipeline is:
Type mapType = Type.GetType(this.MapName, true); TransformMetaData map = TransformMetaData.For(mapType); transform = map.StreamingTransform; args = map.ArgumentList; XmlTextReader inputReader = new XmlTextReader(inputStream); outputStream = new VirtualStream(VirtualStream.MemoryFlag.AutoOverFlowToDisk); transform.ScalableTransform(inputReader, null, outputStream, new XmlUrlResolver(), false);
Any idea that could help?