locked
Application starting error -- item has already been added. key in dictionary 'regex' key being added 'regex' RRS feed

  • Question

  • Hi All

    I have strucked with an issue with urlrewritingnet. I have developed a website and used urlrewritingnet for url redirecting. Application is working fine in DEV, Stage and Prod. but recently I am getting an issue in Stage. When I kept the browser window open for a while and after some time If I come back and clicks any link(like After Session time out), I am getting an error "directory error: cannot add duplicate key "REGEX" key already added". When I click refresh this error goes out and It gets redirected to my custom timeout page. I have tried everything but could not find the cause of this error.

    This is not happening in Dev and Prod. After going through various forums I found out that this is due to URLREDIRECTING DLL. But I did not find out the actual root cause of this error. Can some one please guide me If there is anything going wrong in Stage website setup in IIS.

    Thanks in advance

    Venky

    • Moved by Kristin Xie Wednesday, February 4, 2015 2:15 AM asp.Net related
    Tuesday, February 3, 2015 4:09 AM

Answers

  • you have a problem in web application project, this is a c# forum, please move your problem to :

    http://forums.asp.net/

    • Proposed as answer by Kristin Xie Wednesday, February 4, 2015 2:15 AM
    • Marked as answer by Just Karl Friday, February 27, 2015 8:37 PM
    Tuesday, February 3, 2015 9:19 AM

All replies

  • Maybe use a sniffer like fiddler or wireshark to monitor the webpage and find the request that is causing the problem.  You could also add a log page to the webpage t capture all the request to find the root cause.

    jdweng

    Tuesday, February 3, 2015 7:17 AM
  • you have a problem in web application project, this is a c# forum, please move your problem to :

    http://forums.asp.net/

    • Proposed as answer by Kristin Xie Wednesday, February 4, 2015 2:15 AM
    • Marked as answer by Just Karl Friday, February 27, 2015 8:37 PM
    Tuesday, February 3, 2015 9:19 AM