« Previous Next »

Thread: HTTP Error 500.19 - Internal Server Error

Last post 05-29-2009 3:14 AM by Leo Tang - MSFT. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 05-22-2009, 1:20 AM

    • joshis
    • Not Ranked
    • Joined on 05-22-2009, 5:17 AM
    • Posts 3

    HTTP Error 500.19 - Internal Server Error

    Hi,

       I have taken a sample WEBService, created virtual directory and compiled my website and published it(successful). when i type URL in explorer giving error as :

    HTTP Error 500.19 - Internal Server Error

    The requested page cannot be accessed because the related configuration data for the page is invalid.
    detailed information abt error:
    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 'ScriptModule'
    Config File \\?\C:\inetpub\wwwroot\WCFServiceDemo\web.config
    Config source:
    <modules>
      139:         <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      140:       </modules>


    so i have deleted some files from web.config file and published again. When executed given error as:

    HTTP Error 404.3 - Not Found

    The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

    PC information:
    vista ultimate
    VS 2008 sp1
    Framework 3.5.

    Anyone suggest on it, where i could explore it without error.

    Thanks,

    Josh.

  • 05-22-2009, 3:23 AM In reply to

    Re: HTTP Error 500.19 - Internal Server Error

  • 05-22-2009, 5:44 AM In reply to

    • joshis
    • Not Ranked
    • Joined on 05-22-2009, 5:17 AM
    • Posts 3

    Re: HTTP Error 500.19 - Internal Server Error

    I have read and gone through the article and checked whether the defined handlers and modules are defined in IIS. All of them were defined when i selected my website in IIS and checked "HandlerMappings" and "Modules".

    This is the one which is in web.config file:

    <modules>

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

    </modules>

    <handlers>

    <remove name="WebServiceHandlerFactory-Integrated"/>

    <remove name="ScriptHandlerFactory"/>

    <remove name="ScriptHandlerFactoryAppServices"/>

    <remove name="ScriptResource"/>

    <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

    <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

    <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

    </handlers>

    ............................................................

    But i noticed that the parent website in IIS tree does not have it, and i think only that website shd have it.

    Any one look into it for a solution.

     

    Thanks,

    josh.

  • 05-22-2009, 6:05 AM In reply to

    • joshis
    • Not Ranked
    • Joined on 05-22-2009, 5:17 AM
    • Posts 3

    More information about error:

    HTTP Error 404.3 - Not Found

    The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

     

    Detailed error information:

    Module StaticFileModule
    Notification ExecuteRequestHandler
    Handler StaticFile
    Error Code 0x80070032
    Requested URL http://localhost:80/WCFServiceDemo/Service.svc
    Physical Path C:\inetpub\wwwroot\WCFServiceDemo\Service.svc
    Logon Method Anonymous
    Logon User Anonymous
    Failed Request Tracing Log Directory C:\inetpub\logs\FailedReqLogFiles

     

     

     

     

     

     

     

     

    Thanks.

  • 05-29-2009, 3:14 AM In reply to

    Re: More information about error:

    Hi,

    Please check if the Windows Communication Foundation is installed. You can refer to the steps in the following article:

    WCF and 404.3 Errors
    http://blogs.msdn.com/davidwaddleton/archive/2007/11/02/wcf-and-404-3-errors.aspx

    Leo Tang
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (5 items)
Microsoft Communities