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 ...Permissions Errors on Several ModulesPermissions Errors on Several Modules
Previous
 
Next
New Post
2/28/2007 4:32 PM
 

Greetings to all, and thank you in advance if you are able/willing to help!

I am running two sites now w/DNN 4.4.1 on each.  One is Intranet, one is public on the web.

I have modules, some of the same, installed in each location (some of the nice freebies, like weather, google search, stuff like that).

They all run fine in my Intranet install.  Most of them do NOT work at my site hosted at GoDaddy.

I get this type of error when I install several of my modules on any of my pages:

DotNetNuke.Services.Exceptions.ModuleLoadException: Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ---> System.Security.SecurityException: Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.Net.WebRequest.set_DefaultWebProxy(IWebProxy value) at System.Net.GlobalProxySelection.set_Select(IWebProxy value) at WeatherChannel.WeatherChannelShow.Page_Load(Object sender, EventArgs e) The action that failed was: Demand The type of the first permission that failed was: System.Net.WebPermission The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace ---

Any ideas as to why?  Again, both installations are 4.4.1

Regards,

Vollerworld


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
3/7/2007 9:28 AM
 
This is a medium trust issue. Your application is attempting to make an outbound connection to an external application, either via an http request or a webservice call.

I'm pretty sure that GoDaddy is not going to set up a custom trust environment for you, so you may be out of luck on this one. Search this forum for "medium trust" and "webpermission" for more details on this error; it comes up pretty often around here lately.

Sorry to be the bearer of bad news!

Brandon

Brandon Haynes
BrandonHaynes.org
 
New Post
3/7/2007 9:36 AM
 
Yes, Brandon is right. Godaddy runs under Medium Trust and some DotNetNuke modules requires Full Trust (or at least Custom Trust Level) to run correctly.

I have contacted Godaddy and they said they wont change this procedure. So you better need changing your host or, not using that modules requires Full Trust.

There is another option, contact module developers and ask for a workaround. (But i dont think this option will work with Godaddy

Or-Rouge Team Or-Rouge
Personally recommend Hostgator for hosting single or multiple DotNetNuke Websites.
DotNetNuke Tips and Tutorials
Install DotNetNuke to Godaddy root
DotNetNuke Türkçe Hakkinda Hersey
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Permissions Errors on Several ModulesPermissions Errors on Several Modules


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