31 Jul 2010 
Support Center » Knowledgebase » SightMax 7 Live Chat - Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ScriptModule'
 SightMax 7 Live Chat - Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ScriptModule'
Solution When browsing the SightMax Service file you receive an error:

Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ScriptModule'

<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>


Solution:
Edit your web.config in the WebService and add the following line in the right section (either httpmodules, or httphandlers, depending on what the error is).

<remove name="ScriptModule" />

Save the web.config file and browse the SVC file again.


Article Details
Article ID: 388
Created On: 05 Mar 2010 12:48 PM

 This answer was helpful  This answer was not helpful

 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | Troubleshooter
Language:

Help Desk Software By Kayako eSupport v3.04.10