none
HTTP Error 500.19 - Internal Server Error

    Pregunta

  • Hi

    I have a website with 3.5 framework.

    In WindowsXP with only 4.0 frame work(no other frame work and no visual studio in the PC) the sample is executing with out any errors.

    In windows server 2008R2 Operating system with only 4.0 framework if we run the same website it is throwing following exception:

     

    Error Summary

    HTTP Error 500.19 - Internal Server Error

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

    Module IIS Web Core

    Notification BeginRequest

    Handler Not yet determined

    Error Code 0x800700b7

    Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined 

    Config File \\?\D:\Program Files (x86)\CloudScan\web.config

    Requested URL http://localhost:80/CloudScan/default.aspx

    Physical Path D:\Program Files (x86)\CloudScan\default.aspx

    Logon Method Not yet determined

    Logon User Not yet determined

     Config Source

       32:                  <sectionGroup>

       33:                        <section requirePermission="false" allowDefinition="MachineToApplication"/>

       34:                        <sectionGroup>


    Sravan
    • Cambiado Paul Zhou lunes, 31 de enero de 2011 3:47 ASP.NET (From:Visual C# General)
    jueves, 27 de enero de 2011 5:57

Todas las respuestas

  • Have you read this?

    http://support.microsoft.com/kb/942055


    Regards, Simon
    jueves, 27 de enero de 2011 7:14
  • Yes i read it.

    In this my error message related to Error message 6

     

    error message 6
    Server Error in Application "<var>application name</var>"
    HTTP Error 500.19 – Internal Server Error
    HRESULT: 0x800700b7
    Description of HRESULT
    The requested page cannot be accessed because the related configuration data for the page is invalid.

    Cause of error message 6

    This problem may occur if there is a duplicate entry for the specified configuration section setting at a higher level in the configuration hierarchy (for example, in a parent site/folder’s web.config or applicationHost.config file). The error message itself points out the location of duplicate entry or entries.

    Resolution 6

    Examine the specified configuration file and compare it with its parent applicationHost.config and/or web.config files to check for duplicate entries as suggested by the error message. Either remove the duplicate entry, or make the entry unique.

     

    But i dont no  where applicationHost.config  is located?

    please help me wat to do

     

     


    Sravan
    jueves, 27 de enero de 2011 8:53
  • I think you can safely remove the sectionGroup portion from your web.config. When using .NET Framework 4.0 those sections are already in the machine.config.

    See the post by AlexGarcia at http://forums.iis.net/t/1149226.aspx


    Regards, Simon
    jueves, 27 de enero de 2011 9:01
  • Removing section group creating one more issue at line

    <remove name="WebServiceHandlerFactory-Integrated"/>


    Sravan
    sábado, 29 de enero de 2011 5:45
  • Hi sravan,

     

    Welcome to the MSDN forum!

     

    According to your description, I’d like to move your thread to off-topic because it is a problem related to ASP.NET and IIS. The technology is not support here.

    I suggest that you can post here:

    http://forums.asp.net/

    or

    http://forums.iis.net/

    There are more experts in that forum so that you may get more useful help there.

     

    Thank you for your posting and understanding.


    Paul Zhou [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    lunes, 31 de enero de 2011 3:46