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 ...Tried to install dnnchat module and now have a Server Error in '/' Application. see thread for StackTried to install dnnchat module and now have a Server Error in '/' Application. see thread for Stack
Previous
 
Next
New Post
1/13/2014 3:30 AM
 
Hi everybody! Ugh.... I installed the dnnchat module on my website (shared hosting) and after it installed I got an error across the whole website. I changed the webconfig file to show the error and I tried setting the permissions to full in the web config file but no luck. I really dont care if I keep the chat module so I made a back up copy of the file and deleted it off theserver but still have the error pages... If anyone can help I would greatly appreciate it. Here is the error im getting:


Server Error in '/' Application.

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.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
Microsoft.Owin.Host.SystemWeb.Infrastructure.DefaultTraceFactory.InitializeTraceSource(String key) +0
System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +72
Microsoft.Owin.Host.SystemWeb.Infrastructure.DefaultTraceFactory.GetOrAddTraceSource(String name) +52
Microsoft.Owin.Host.SystemWeb.Infrastructure.DefaultTraceFactory.Create(String name) +28
Microsoft.Owin.Host.SystemWeb.OwinHttpModule..ctor() +25
 
New Post
1/13/2014 4:09 AM
Accepted Answer 
you might still be running in medium trust, if possible, switch to full trust, otherwise you need to remove chat .dll from bin (or .cs files from /app_code/chat folder) and the site should show up, allowing you to uninstall the module.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/13/2014 4:30 AM
 
Thank you for the quick response I removed the chat .dll file and can not find a the other file you said (or .cs files from /app_code/chat folder). Still the same problem... How would I make the site full trust? Thanks again... I appreciate all of your help
 
New Post
1/13/2014 5:22 AM
 
I got it!!! I figured that all the errors were pointing to the Microsoft.Owin.Host.SystemWeb file located in the bin folder.... so I made a copy of on my laptop and deleted it and BAM site was back up... I then uninstalled the module.... Hope this can help someone in the future....
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Tried to install dnnchat module and now have a Server Error in '/' Application. see thread for StackTried to install dnnchat module and now have a Server Error in '/' Application. see thread for Stack


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