seems to not be working as planned.
I am using this code as I'm doing this in Asp.net VB.
Dim clPageID As String = Request.QueryString("clPageID")
clPageID = "928"
Parameters.Add("clPageID", clPageID)
layout = New DocumentLayout(Server.MapPath("/") & "apps\OSS\Cluster.dplx")
Dim query As ReportWriter.Data.SqlQuery = layout.GetElementById("Query")
query.ConnectionString = getConnectionStr("WMA")
doc = layout.Run(Parameters)
doc.DrawToWeb()
In my web.config the connection string has the username and password encrypted, the getConnectionStr function decrypts those.
when I step through the code. when I hit query and look at the properties it shows the connection string with the encrypted values, then after I run the getConnection function and look at query the properties show the decrypted values. But then when I hit the layout.run(Parameters) I get an error of '{"Login failed for user '+DKhpBcU8TMeU0RESxeWJg=='."} which is the encrypted value, so it's not actually using the new connection string I gave it. It appears to still be using the one set in the dplx file.