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  |  

$4.95 Windows Hosting at Webhost4life.com
  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

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  HTTPModules Problem after Upgrade from 4.03 to 4.08
Previous Previous
 
Next Next
New Post 6/10/2008 3:21 PM
User is offline Matt Klein
1 posts
10th Ranked


HTTPModules Problem after Upgrade from 4.03 to 4.08 

Hello, prior to the upgrade from 4.03 to 4.08, we were using Inventua's HrefExchanger for friendly URLs. Once we upgraded, we started receiving a security error whenever the HrefHttpModule was included in HttpModules section of Web.Config. We thought it might be an incompatibility, so we purchased DNN Master's SEO module which also has a friendly url module. When we implement this http module "DNNMastersSEORewrite" we receive the same security error. We host at GoDaddy and never had security problems before with these modules, only after the upgrade. All of the "requirepermission" attributes of the ConfigSection keys are set to "false". The two keys that generate the error are:

 

<!--<add name="DNNMastersSEORewrite" type="DNNMasters.SEO.Rewrite.RewriteUrl,DNNMasters.SEO.Rewrite" />-->

<!-- <add name="HrefHttpModule" type= "Inventua.HrefExchanger.HrefHttpModule,Inventua.HrefExchanger"/>-->

Any support you can provide us would be very helpful as our site is now generating all sorts of errors and we are probably getting dinged by search engines because of the 404 errors for urls. THanks!

The error we get is:

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.FileIOPermission, mscorlib, Version=2.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.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.IO.Path.GetFullPath(String path) +98
DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.GetFileName(String FileName) +136
DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String CacheKey, Object objObject, Boolean PersistAppRestart) +37
DotNetNuke.Entities.Host.HostSettings.GetHostSettings() +293
DotNetNuke.Common.Globals.get_PerformanceSetting() +6
DotNetNuke.Security.Permissions.TabPermissionController.GetTabPermissionsDictionary(Int32 PortalId) +134
DotNetNuke.Security.Permissions.TabPermissionController.GetTabPermissionsCollectionByTabID(Int32 TabID, Int32 PortalId) +25
DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader, Boolean CheckForLegacyFields) +1906
DotNetNuke.Entities.Tabs.TabController.GetTab(Int32 TabId) +57
DNNMasters.SEO.Rewrite.RewriteUrl.getPortalId2(HttpRequest request, String& portalTitle) +668
DNNMasters.SEO.Rewrite.RewriteUrl.context_BeginRequest(Object sender, EventArgs e) +458
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

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  HTTPModules Problem after Upgrade from 4.03 to 4.08
 


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.

 


UK DotNetNuke CMS installation, hosting & support
UK based installation, branding, customising, integration, hosting, training, support and maintenance services for DotNetNuke
www.deburca.co.uk
Need Help with your DotNetNuke website?
Jango Studios offers exclusive DotNetNuke Skin Design, Module Development, Web Marketing and Web Hosting.
www.jangostudios.net
Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com

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