HomeHomeUsing DotNetNuk...Using DotNetNuk...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 4: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 DotNetNuk...Using DotNetNuk...Administration ...Administration ...HTTPModules Problem after Upgrade from 4.03 to 4.08HTTPModules 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.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.