I was wondering if anyone could help me with this problem I am having.
I am using friendly URLs in my .net 3.5 website, and this uses the GetCompiledPageInstance method in the PageParser class to work.
This all works a treat on my localhost, but as soon as I upload this to my shared hosting (with 1&1) I get this error
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
I have done loads of Googling and found that this is due to me needing to turn Full Trust mode on. However, this is something that is not allowed on shared hosting.
Does any one know of a workaround for this 'GetCompiledPageInstance' method, or another method I could use? Is there another way of doing Friendly URLs without this?
View Complete Post