Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  Moving local to server errors. Help Req :P
Previous Previous
 
Next Next
New Post 6/27/2008 2:53 AM
User is offline rjdejong
66 posts
www.rjdejong.net
10th Ranked


Re: Moving local to server errors. Help Req :P 

 I removed all the <httpModules> and put <compilation debug="true" strict="false"> in the web.config file and now i'm getting the following error.

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.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

Line 101:
Line 102:            'run schedule if in Request mode
Line 103:            Initialize.RunSchedule(Request)
Line 104:
Line 105:        End Sub

Source File: \\NLAMSWEB02\WebHosting\RACKTIME\catchyourtalent.com\wwwroot\App_Code\Global.asax.vb    Line: 103

Stack Trace:

[SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   DotNetNuke.Common.Initialize.RunSchedule(HttpRequest request) +0
   DotNetNuke.Common.Global.Global_BeginRequest(Object sender, EventArgs e) in \\NLAMSWEB02\WebHosting\RACKTIME\catchyourtalent.com\wwwroot\App_Code\Global.asax.vb:103
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


www.rjdejong.net
 
New Post 6/27/2008 5:25 AM
User is offline William Severance
689 posts
www.wesnetdesigns.com
7th Ranked






Re: Moving local to server errors. Help Req :P 

It appears that your shared web hosting provider has set the WebHostingPermission to Low or Minimal Trust in the Machine.Config file. DNN as well as most ASP.Net applications require Medium Trust. I would discuss this with your hosting provider. BTW, you do need those HttpHandlers specified in web.config so cannot comment them out.


Bill, WESNet Designs
 
New Post 6/27/2008 5:53 AM
User is offline rjdejong
66 posts
www.rjdejong.net
10th Ranked


Re: Moving local to server errors. Help Req :P 

Thanks for the reply. I'll contact my hosting provider .

for the HttpHandlers i just commented them out so i could get some more info on what the problem is :P


www.rjdejong.net
 
New Post 6/27/2008 7:36 AM
User is offline rjdejong
66 posts
www.rjdejong.net
10th Ranked


Re: Moving local to server errors. Help Req :P 

The Host changed the trust level, but i'm still getting this error. Starting to run out of option here. Anyone any idea as to whats goin on?

Greetz R-J


www.rjdejong.net
 
New Post 6/28/2008 6:43 AM
User is offline Ian Robinson
578 posts
www.engagesoftware.com
8th Ranked


Re: Moving local to server errors. Help Req :P 

R-J,

You're still getting the error you posted first about the permissions or the secondary error resulting from commenting out parts of your web.config? Also, I wouldn't comment out or remove any of those parts of your web.config - just need to resolve the initial error message.

If you're still getting an error about permissions I'd go back to your hosting provider and tell them whatever they did to change it didn't actually change it.

Take care,

Ian


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  Moving local to server errors. Help Req :P
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DM Analytics, LLC
DM Analytics, LLC provides software solutions that facilitate rapid development of independent or dependent datamarts and their associated web-based reporting.
www.dmanalytics.com
Integral Hosting | DNN only $14.95/month
Experienced .NET hosting on Windows 2003, ASP.NET 1.1 & 2.0, MSSQL with real technical support.
www.integralhosting.com
Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP