William Severance wrote:
I just did successful installs of DNN 7.0 CTP 1 install and source versions but encountered the same security exception when browsing to the newly created sites. After changing web.config trust level to "Full" both sites came up without error.
For those who have recently installed/upgraded to ASP.Net 4.5 can you please confirm if you are able to open a DNN site running in a 4.0/4.5 application pool without changing trust level to "Full"?
Has anyone's shared hosting provider upgraded to ASP.Net 4.5 and if so are you experiencing this issue?
Bill, my shared hosting provider just informed me that they will be upgrading a server from ASP .NET 4.0 to 4.5 on November 16th. I have several DNN sites running on that server using DNN 6.1.5 and DNN 6.2.4. This thread suggests I may experience a problem if I don't change the web.configs of those sites. Is that the case?
I have looked at the web.config for the sites and find this commented-out section:
<!-- set code access security trust level - this is generally set in the machine.config
<trust level="Medium" originUrl=".*" />
-->
Should I expect to have to uncomment this, and change the level to Full?
Alternatively, I could consider upgrading them to DNN 7.0 which comes out 2 days prior to the .NET 4.5 upgrade. Would that solve the problem? It sounds like your experience would say that it makes no difference to the error.
Thanks for your advice on this.