Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

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

$
0
0

Hi, my name is Arif,

I've tried to deploy the website in windows server 2008 (IIS 7.0). However, it does not work successfully. I developed the website using windows xp and I also have tried to published in windows xp and it works great.

For that projects, I use AJAX. in windows server 2008(IIS 7.0) I am sure that I have installed ajax extension which is the same version that i have installed in my local machine ( windows xp).

Here is the error details that I've got, any idea how to solve this error?

<div class="content-container">

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

</div> <div class="content-container">
Detailed Error Information<div id="details-left">
ModuleIIS Web Core
NotificationBeginRequest
HandlerNot yet determined
Error Code0x800700b7
Config ErrorCannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ScriptHandlerFactory'
Config File\\?\C:\inetpub\wwwroot\arif\arif\web.config
</div> <div id="details-right">
Requested URLhttp://localhost:80/arif/arif/index.htm
Physical PathC:\inetpub\wwwroot\arif\arif\index.htm
Logon MethodNot yet determined
Logon UserNot yet determined
</div>
</div> <div class="config_source content-container">
Config Source
142:
  143:         <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
  144:              type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</div>

Viewing all articles
Browse latest Browse all 27852

Trending Articles