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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...RequestFilter error after rolling back from 4.7 to 4.5.5RequestFilter error after rolling back from 4.7 to 4.5.5
Previous
 
Next
New Post
11/27/2007 4:14 AM
 

I tried to upgrade my live site from 4.5.5 to 4.7 but decided to roll back to 4.5.5 after some issues with the Human Friendly  URL that I tried unsuccessfully to resolve.

I rolled back to my 4.5.5 site using back ups I had made of the SQL database and the DNN app folder (and to do some offline testing of the upgrade for my site). Through my hosting company's control panel I restored the pre-upgrade SQL db I had backed up and i also recreated the DNN app folder as it was before the attempted upgrade (using a ZIp archive I had made of the relevant app folder). Once I did that and visitied any page on the site I got an "entry 'RequestFilter' has already been added". Can anyone advise what I need to do to restore my website? Thanks

  • Microsoft .NET Framework Version:2.0.50727.832;
  • ASP.NET Version:2.0.50727.832

Parser Error Message: The entry 'RequestFilter' has already been added.

Source Error:
Line 70: <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" />
Line 71: <!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" / -->
Line 72: <add name="RequestFilter" type="DotNetNuke.HttpModules.Compression.RequestFilter.HttpModule, DotNetNuke.HttpModules.Compression" />
Line 73: <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules.UrlRewrite" />
Line 74: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

 
New Post
11/27/2007 5:06 AM
 

you need to restore all previously used files (and remove unnecessary ones).


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/27/2007 6:05 AM
 

Sebastian Leupold wrote

you need to restore all previously used files (and remove unnecessary ones).

As far as I know I restored all previously used files. These are the relveant steps I took:

  • Before doing the upgrade I got my hosting company to
    • zip the entire DNN app folder (contating v4.5.5) on my website
    • make a back up (.bak) of my SQL db.
  • When I decided to roll back from 4.7 to 4.5.5 I deleted all content of the DNN app folder
  • I then asked my hosting company (I am in a shared hosting env) to unzip the ZIP archive into the (now empty) DNN app folder
  • I restored the database
  • And tried to access a DNN page on the site, at which point I got the error you see above.

Is there something I did wrong in the above? Or something I still need to do to do a proper "roll back"?

Thanks

Eoghano

 
New Post
11/27/2007 9:22 AM
 

This is a very unusual error message, I have a person that is getting a similar error with my error handler module.

I would ensure that you don't have any upstream web.config files.  (IE no web.config files in a folder that exists before DNN.

If that doesn't yeild anything, then I would try adding a <clear/> item just after the <httpModules> start tag and see if that helps.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
11/27/2007 12:59 PM
 

Mitch Sellers wrote

I would ensure that you don't have any upstream web.config files.  (IE no web.config files in a folder that exists before DNN.

Mitchel, you pointed me in the right direction as this truned out to be the case - a copy of web.config had ended up 'upstream'. I deleted it and got a new error message, see below. Any ideas on the next steps to trouble shoot? We are closing in on it. One thought that did occur to me, could the ZIP file I used for the backup be corrupted (in ceither creating or extracting the archive?)

Item has already been added. Key in dictionary: 'RegEx'  Key being added: 'RegEx'

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: 'RegEx'  Key being added: 'RegEx'

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 identifed using the exception stack trace below.

Stack Trace:

[ArgumentException: Item has already been added. Key in dictionary: 'RegEx'  Key being added: 'RegEx']
System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +2807907
System.Collections.Hashtable.Add(Object key, Object value) +11
System.Configuration.Provider.ProviderCollection.Add(ProviderBase provider) +75
UrlRewritingNet.Configuration.Provider.UrlRewritingProviderCollection.Add(ProviderBase provider) +40
UrlRewritingNet.Web.UrlRewriting.Initialize() +181
UrlRewritingNet.Web.UrlRewriting.CreateRewriteRule(String providerName) +13
UrlRewritingNet.Web.UrlRewriteModule.Init(HttpApplication context) +217
System.Web.HttpApplication.InitModulesCommon() +66
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +814
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +243
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +340

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...RequestFilter error after rolling back from 4.7 to 4.5.5RequestFilter error after rolling back from 4.7 to 4.5.5


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