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 ...moving DNN to a new server - security exceptionmoving DNN to a new server - security exception
Previous
 
Next
New Post
2/3/2016 7:06 AM
 
we are trying to move a DNN site to a new server.

It may be an old installation DNN 5.1.1, but we are trying to move it before upgrading it.

It used to be on a windows 2003 server and is moving to a windows 2008 server with IIS7.

It also used to be stored inside a folder of another DNN site and ran off a virtual directory in IIS 6. So the portal domain name was:

www.sypensions.org.uk/ourDNN5_1site

- Now we are giving it, it's own IP. And it's going to be a subdomain:

ourDNN5_1site.sypensions.org.uk

I have added the new subdomain as a portal alias.

Our error is this:


Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b7xxxxxx' failed.


Q. Do I have to do anything with the machine config /machinekey / PublicKeyToken?
Q. Can I copy the web.config exactly and expect it to work ok?

 
New Post
2/3/2016 7:19 AM
 
this is fixed now.

the problem was - when I zipped up the files and transferred them to the new server - they were blocked when I unzipped them and therefore not trusted.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...moving DNN to a new server - security exceptionmoving DNN to a new server - security exception


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out