Uploading my first decently sized web app to my shared host provided me with a fresh set of challenges, by which I mean, sleepless nights. The issue was that I had most certainly not developed my application for medium trust (or had any clue what that was.)
I mitigated all of the issues, save one.
I had written an installer for the admin to be able to specify their connection string and other preferences, but I cannot find a way to write to a web.config in medium trust. Does anyone have a solution, or should I just be putting preferences in another file?
That actually sounds like IIS's
Low
level. If it is, then you won't be able to write to any file, not just the web.config.Here are the levels from IIS's help file:
I would suggest that if you are dead set on having an installer, have it create a
web.config
in memory that the user can save locally andFTP
up afterward.