I'm calling from a webpage and I have some variables in my settings that are not connection strings (just strings). I can add the connection strings to the web.config ok, but the application settings don't seem to work.
Here is what's in the report app.config or myReport.dll.conifg
My guess was to use:
Does the MyReport.dll.config do anything if you put it in the bin of your website/ webservice?
Here is what's in the report app.config or myReport.dll.conifg
<
applicationSettings
>
<
MyReport.Properties.Settings
>
<
setting
name
=
"MyVariable"
serializeAs
=
"String"
>
<
value
>Test123</
value
>
</
setting
>
</
MyReport.Properties.Settings
>
</
applicationSettings
>
My guess was to use:
<
appSettings
>
<
add
key
=
"MyReport.Properties.Settings.MyVariable"
value
=
"Test123"
/>
</
appSettings
>
Does the MyReport.dll.config do anything if you put it in the bin of your website/ webservice?