Is trying to develop for Medium Trust a lost cause?

The official position of the ASP.NET team is that Medium Trust is obsolete. This means a few things: We are automatically resolving all Medium Trust-related bugs reported to us as “won’t fix”. We have provided guidance to hosters that they should migrate away from Medium Trust and use proper OS-level isolation instead (http://support.microsoft.com/kb/2698981). We are … Read more

How to write to Web.Config in Medium Trust?

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: Full (internal) – Specifies unrestricted permissions. Grants the ASP.NET application permissions to access any resource that is subject to operating system security. All … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)