2

I am getting a duplicate key error but I am not seeing where the duplicate is?

I see only one entry in my web.config file for that key. Where else would that duplicate exist?

Error Info...

Detailed Error Information:
Module     IIS Web Core
Notification       BeginRequest
Handler    Not yet determined
Error Code     0x800700b7
Config Error       Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'AuthenticationModule'
Config File    <path info>...\Office\web.config
Requested URL      http://<url info>/Home.aspx
Physical Path      <path info>...\Home.aspx
Logon Method       Not yet determined
Logon User     Not yet determined
wondernate
  • 325
  • 1
  • 7
  • 17
  • 4
    You're likely experiencing a web config inheritance issue. Read up on it here: http://msdn.microsoft.com/en-us/library/ms178685(v=vs.100).aspx You can search this site for solutions to common web config inheritance problems. – Lee Greco Nov 18 '14 at 20:22
  • 1
    See may answer or other in this post http://stackoverflow.com/questions/18506826/iis-express-cannot-add-duplicate-collection-entry-of-type-add-with-unique-key/35185835#35185835 – Steve Coleman Feb 03 '16 at 19:24
  • 1
    Does this answer your question? [IIS express: Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to](https://stackoverflow.com/questions/18506826/iis-express-cannot-add-duplicate-collection-entry-of-type-add-with-unique-key) – Ian Kemp May 12 '22 at 08:14

0 Answers0