How to dynamically retarget server (connectionString) of localMode reports??? RRS feed

  • Question

  • This is probably a noobie ??? or we are perhaps missing something... however...


    When one sets up a localmode reporting solution, the connection string ends up buried in the App's settings and we can't figure out how to change/replace/subclass/whatever the thing at runtime.


    Is this possible, and if so how it achieved??




    - Lance



    Thursday, July 19, 2007 1:07 AM


  • Apparently the new connstr has to be a wellformed connstr in some sense (I've not yet discovered what the rules are, so it's nebulous to me as of yet...)


    So for instance setting the connnstr to "yadda yadda" (just to see if it can be changed) fails.


    The interesting thing is that I did not consistently see the exception (diagnostic), apparently it was being masked.


    Oh well... "Nothing to see here - move along!"


    Thursday, July 19, 2007 10:11 PM