none
.net configuration files on Windows 2008 derver RRS feed

  • Question

  • This applies equally to 32-bit and 64-bit versions.

    My .net apps have connection strings with passwords in the config file, so the section has to be 'protected' (encrypted). No problem on  win 2003 server, but BIG problem on 2008.

    I log in to the server as runuser (not the actual user name, but it is the userid for running scheduled tasks on various servers).

    I create a folder and share it (with runuser as the owner). I put an app in the folder (copied from my development machine. BTW - I cannot compile if I log in as runuser on my dev machine.) The config file is clear text, so the first run of the app is needed to protect it.

    However the app fails at the point where it saves back to the config file. Works fine on server 2003. What do I need to do to make runuser successfully operate my software on a 2008 server?

    Thanks,


    Jon Jacobs
    On the road of life...
    Sometimes you're the bug; sometimes you're the windshield.
    Thursday, August 25, 2011 5:54 PM