Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Any solid help for "Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx'"
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
MorningZ  
View profile  
 More options Mar 5 2007, 10:04 am
From: "MorningZ" <morni...@gmail.com>
Date: Mon, 05 Mar 2007 15:04:45 -0000
Local: Mon, Mar 5 2007 10:04 am
Subject: Any solid help for "Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx'"
This error happens now and then during Application Start, a simple
page refresh solves the issue, but that's all great and fine when it's
me that's kicking off the start, but i'd hate for a client to run
across this.....

Server Error in '/' Application.
--------------------------------------------------------------------------- -----

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 identified 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) +2834883
   System.Collections.Hashtable.Add(Object key, Object value) +11
   System.Configuration.Provider.ProviderCollection.Add(ProviderBase
provider) +75

UrlRewritingNet.Configuration.Provider.UrlRewritingProviderCollection.Add(P roviderBase
provider) +40
   UrlRewritingNet.Web.UrlRewriting.Initialize() +181
   UrlRewritingNet.Web.UrlRewriting.CreateRewriteRule(String
providerName) +13
   UrlRewritingNet.Web.UrlRewriteModule.Init(HttpApplication context)
+217
   System.Web.HttpApplication.InitModules() +267
   System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +1251

System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
context) +243

System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +106
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
+214


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Albert Weinert  
View profile  
(1 user)  More options Mar 5 2007, 3:29 pm
From: "Albert Weinert" <albert.wein...@awn-design.biz>
Date: Mon, 5 Mar 2007 21:29:38 +0100
Local: Mon, Mar 5 2007 3:29 pm
Subject: AW: [UrlRewritingNet] Any solid help for "Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx'"
--- UrlRewritingProviderCollection.cs

using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration.Provider;

namespace UrlRewritingNet.Configuration.Provider
{
    public class UrlRewritingProviderCollection : ProviderCollection
    {
        private object lockObject = new object();
        public override void Add(ProviderBase provider)
        {
            if (provider == null)
                throw new ArgumentNullException("provider");
            if (!(provider is UrlRewritingProvider))
            {
                string msg = string.Format("Provider must implement type {0}", typeof(UrlRewritingProvider).ToString());
                throw new ArgumentException(msg, "provider");
            }

            lock (lockObject)
            {
                if (base[provider.Name] == null)
                {
                    base.Add(provider);
                }

            }
        }
        public void CopyTo(UrlRewritingProvider[] providers, int index)
        {
            lock (lockObject)
            {
                base.CopyTo(providers, index);
            }
        }
        new public UrlRewritingProvider this[string name]
        {
            get
            {
                return (UrlRewritingProvider)base[name];
            }
        }
    }

}

-----Ursprüngliche Nachricht-----
Von: UrlRewritingNet@googlegroups.com [mailto:UrlRewritingNet@googlegroups.com] Im Auftrag von MorningZ
Gesendet: Montag, 5. März 2007 16:05
An: UrlRewritingNet
Betreff: [UrlRewritingNet] Any solid help for "Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx'"

This error happens now and then during Application Start, a simple
page refresh solves the issue, but that's all great and fine when it's
me that's kicking off the start, but i'd hate for a client to run
across this.....

Server Error in '/' Application.
--------------------------------------------------------------------------- -----

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 identified 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) +2834883
   System.Collections.Hashtable.Add(Object key, Object value) +11
   System.Configuration.Provider.ProviderCollection.Add(ProviderBase
provider) +75

UrlRewritingNet.Configuration.Provider.UrlRewritingProviderCollection.Add(P roviderBase
provider) +40
   UrlRewritingNet.Web.UrlRewriting.Initialize() +181
   UrlRewritingNet.Web.UrlRewriting.CreateRewriteRule(String
providerName) +13
   UrlRewritingNet.Web.UrlRewriteModule.Init(HttpApplication context)
+217
   System.Web.HttpApplication.InitModules() +267
   System.Web.HttpApplication.InitInternal(HttpContext context,
HttpApplicationState state, MethodInfo[] handlers) +1251

System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext
context) +243

System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext
context) +106
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
+214


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glyn  
View profile  
 More options May 4 2007, 4:54 am
From: Glyn <g...@mvps.org>
Date: Fri, 04 May 2007 01:54:58 -0700
Local: Fri, May 4 2007 4:54 am
Subject: Re: AW: [UrlRewritingNet] Any solid help for "Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx'"
Will this be rolled into version 2.1??

Thanks


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[UrlRewritingNet] Any solid help for "Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx'"" by Albert Weinert
Albert Weinert  
View profile  
 More options May 4 2007, 7:50 am
From: "Albert Weinert" <albert.wein...@awn-design.biz>
Date: Fri, 4 May 2007 13:50:36 +0200
Local: Fri, May 4 2007 7:50 am
Subject: AW: [UrlRewritingNet] Re: AW: [UrlRewritingNet] Any solid help for "Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx'"
Yes, something like that.

-----Ursprüngliche Nachricht-----
Von: UrlRewritingNet@googlegroups.com [mailto:UrlRewritingNet@googlegroups.com] Im Auftrag von Glyn
Gesendet: Freitag, 4. Mai 2007 10:55
An: UrlRewritingNet
Betreff: [UrlRewritingNet] Re: AW: [UrlRewritingNet] Any solid help for "Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx'"

Will this be rolled into version 2.1??

Thanks


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Any solid help for "Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx'"" by rtw1981@gmail.com
rtw1981@gmail.com  
View profile  
 More options Jul 3 2007, 1:38 am
From: "rtw1...@gmail.com" <rtw1...@gmail.com>
Date: Tue, 03 Jul 2007 05:38:25 -0000
Local: Tues, Jul 3 2007 1:38 am
Subject: Re: [UrlRewritingNet] Any solid help for "Item has already been added. Key in dictionary: 'RegEx' Key being added: 'RegEx'"
Thanks for the fix albert.

On May 4, 9:50 pm, "Albert Weinert" <albert.wein...@awn-design.biz>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google