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 ...HTTPModules Problem after Upgrade from 4.03 to 4.08HTTPModules Problem after Upgrade from 4.03 to 4.08
Previous
 
Next
New Post
6/10/2008 6:21 PM
 

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
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...HTTPModules Problem after Upgrade from 4.03 to 4.08HTTPModules Problem after Upgrade from 4.03 to 4.08


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