Hi,
i have a connection string defined in my app.config and i want to use in the DataSource Attribute In my Web Test . i am getting an error that the connection string must be a constant.
i saw and followed a similar thread regarding this issue but nothing.
code sample:
<DataSource(
"DataSource1", "Provider=OraOLEDB.Oracle.1;Data Source=GENERIC;PersistSecurityInfo=True;UserID=*****;Password=****", Microsoft.VisualStudio.QualityTools.WebTestFramework.DataBindingAccessMethod.Sequential, "SUBS_INFO"), _DataBinding(
"DataSource1", "MyTable", "MyCol", "DataSource1.MyTable.MyCol")> _To
<DataSource("DataSource1",My.Setting.connectionString,....
thanks Udi

Web Test->DataSource Attribute ->Connection String from App.Config ?
RolfBjarne
I can't tell for sure due to wrapping, but it looks like you have an extra line feed after the "<DataSource..." line.
SKK&#42;
Thanks
Mountain