Initalising connectionstring in xslt extension method.
Hi,
I've created an an extension class and registered it in the config file. So far so good.
The extension class contains two methods - the first returns a static string "Hello World". When I use this extension method in an xslt file it works, so I know that I've registered the class correctly.
The second class references one of our standard internal factory classes (pre compiled in a dll) that calls a staff database and returns a string. I've tested this class in a stand-alone aspx page, and it returns correctly. However, it umbraco it returns a "ConnectionString property has not been initialized."
I've copied all the dlls for extension class and the factory class to the bin folder. Do I have to register both of them in the xsltExtensions.config file, or just the one containing the actual extension class? Or do I have to register the factory class somwhere else?
Initalising connectionstring in xslt extension method.
Hi,
I've created an an extension class and registered it in the config file. So far so good.
The extension class contains two methods - the first returns a static string "Hello World". When I use this extension method in an xslt file it works, so I know that I've registered the class correctly.
The second class references one of our standard internal factory classes (pre compiled in a dll) that calls a staff database and returns a string. I've tested this class in a stand-alone aspx page, and it returns correctly. However, it umbraco it returns a "ConnectionString property has not been initialized."
I've copied all the dlls for extension class and the factory class to the bin folder. Do I have to register both of them in the xsltExtensions.config file, or just the one containing the actual extension class? Or do I have to register the factory class somwhere else?
is working on a reply...