Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Security Exception Following Installation of .Net v 4.5Security Exception Following Installation of .Net v 4.5
Previous
 
Next
New Post
9/10/2012 10:11 AM
 
same problem

Working DNN 6.2 in medium trust. Just installed .NET 4.5... boom! Needs full trust otherwise security exception.
 
New Post
9/10/2012 12:43 PM
 

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, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
9/10/2012 2:39 PM
 
Mike hit the nail on the head. It appears that HttpWorkerRequest now includes some managed code in .Net 4.5 which stops it from working in medium trust.

We are tracking this issue at http://support.dotnetnuke.com/issue/V...

Ultimately MS changed the security requirements on some existing code. We will look into what we can do to work around it.
 
New Post
10/8/2012 6:01 PM
 
Any news on this issue?
Its causing problems for us as by default we set clients sites to High Trust, not Full.
So even the DNN installer will not run until we change a site to Full Trust.
 
New Post
11/1/2012 2:44 PM
 
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.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Security Exception Following Installation of .Net v 4.5Security Exception Following Installation of .Net v 4.5


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out