Monday, March 26, 2012

IExtension.SetConfiguration not working

I am having

problems with the method IExtension.SetConfiguration in my Custom Data Extension.

According to MSDN

I am suppose to add <Configuration> tags in my config file, however this does not work for me.

The configuration string stays empty.

(http://msdn2.microsoft.com/en-us/library/microsoft.reportingservices.interfaces.iextension.setconfiguration.aspx)

This is an example of my comfig file:

<Extension

Name="Teradata" Type="namespace.path.to.connect,assemly.path.to.DLL">

<Configuration>value</Configuration>

</Extension>

I have also

tried Microsoft's exact example character for character

<Extension

Name="Teradata" Type="namespace.path.to.connect,assemly.path.to.DLL">
<Configuration>

<MyExtensionConfigurationData>

<MyExtensionData1>Value</MyExtensionData1>

<MyExtensionData2>Value</MyExtensionData2>

</MyExtensionConfigurationData>
</Configuration>
</Extension>

My SetConfiguration method

looks like this:

void

IExtension.SetConfiguration(string configuration)

{

string test_string =

configuration;

}

Does anyone see what I am missing?I do not see any additional steps on MSDN

that I missed.

Jason,
Is there a way I can contact you? It seems we are working towards similar issues.

R

No comments:

Post a Comment