« Previous Next »

Thread: 500.19 error

Last post 11-01-2009 2:25 AM by anilr. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 10-30-2009, 6:51 PM

    500.19 error

    http://img442.imageshack.us/img442/343/50019.jpg I am Using iis7.5 on windows 7 and vs2010 beta 2(asp.net 4.0) I am getting 500.19 error while running in Local IIS but sites works perfect in VS2010 in debugging mode
  • 10-30-2009, 7:33 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: 500.19 error

    Some more details on the error would be useful.

    Edit: missed the link to the image, your handlers section is locked - did you install the asp.net component under IIS in "add/remove windows components"?

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 10-31-2009, 1:49 AM In reply to

    Re: 500.19 error

    Components which are currently installed http://img88.imageshack.us/img88/8599/components.jpg
  • 10-31-2009, 2:05 AM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: 500.19 error

    That should have unlocked your handler section - did you copy your applicationhost.config from another machine or an earlier backup?

    In any case, you can run the below from an elevated command prompt to unlock the handlers section

    %windir%\system32\inetsrv\appcmd.exe unlock config -section:system.webServer/handlers

    Note that you may still hit other unexpected errors since it seems like your root configuration is not what it should be.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 10-31-2009, 2:23 AM In reply to

    Re: 500.19 error

    Thanks for replying yes you are right error change to this

     

     

    This are the command i have run before your command sorry for

  • 11-01-2009, 2:25 AM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: 500.19 error

    You also need to unlock the system.webServer/modules section - you still did not say how you got into this state - and it would be difficult to say whether any other needed piece of information would be missing from the IIS configuration.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (6 items)
Microsoft Communities