I decided to scrap the previous installation and do a fresh install of 4.3.6. I deleted all the files in the folder and cleaned out the database. The installation reported no errors, but I didn't have a blank initial page (like Rothschildd) - all the containers were there and the graphics, as expected. I thought great it's gunna work this time, but nope. I was able to login on but when I tried to change the passwords the same error came up. I was able to change one (viz. admin) and it seemed to fail when trying host.
Previously (with 4.3.5) the same error happened unpredictably, but usually within a few minutes of accessing and doing stuff on the site. Prior to the fresh install this time, almost out of desparation, I renamed the folder to be all lower-case (previously it was mixed case) and got my host to update the IIS (application root) too. Didn't appear to make any difference. My hosting provider is Webcentral, if that is important to anyone thinking about this error.
This is getting pretty serious for me now - any hints anyone? The error message talks about trust levels - is there something in this? Or perhaps the pathTooLong reference?
FYI, if I try and access the site immediately after the error, the URL is converted to:
http://www.mydomain.com/dnntest/Default.aspx?tabid=36&error=Request+for+the+permission+of+type+'System.Security.Permissions.FileIOPermission%2c+mscorlib%2c+Version%3d2.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3db77a5c561934e089'+failed.&content=0
and the following is displayed in the browser window:
--- Edited to remove actual domain to stop Google displaying as a search result.
When I wait awhile and access the site, the same thing happens - I can usually login and navigate around doing stuff, but always within minutes the error occurs and the site is not usable again. That is until, something closes down and is restarted when access is made again to the site - after 15-20 minutes or so.
Is it something to do with caching?
I'm getting a little desparate - as we'll have our new skin on Monday and I don't have a live site to put it up on!!