locked
HTTP Error 500.21 - Internal Server Error RRS feed

  • Question

  • User287445725 posted

    Hello everyone 

    My name is Deepak and i'm Asp.net Student i have installed visual studio 2012 on my system but i'm not able to open the website as it showing the http error 500.2 internal error even if i run a very simple code i'm getting the same problem i have google it out everything  but i din't get any soultion even the older post regarding this topic on the this site couldn't resolve my problem 

    i don't know whats wrong my IIS , window 7(32 bit ), framwork4.0 everything is installed 

    any suggestion would be highly apprecited 

    Friday, August 2, 2013 7:52 AM

Answers

  • User-1434367 posted

    Hai Deepak,

    As it turns out, some glitch caused this problem, and somehow .NET was not registered with IIS.

    Running the following commands solved this issue:

    %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
    %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 8, 2013 1:54 AM

All replies

  • User455156504 posted

    Hi,

    do you have the source code for this site? Normally you will get this kind of error when the application is throwing an unhandled exception. Best approach would be to run it in debug mode from Visual Studio. There you would see what exactly happens.

    Friday, August 2, 2013 5:32 PM
  • User-1434367 posted

    Hai Deepak,

    As it turns out, some glitch caused this problem, and somehow .NET was not registered with IIS.

    Running the following commands solved this issue:

    %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
    %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, August 8, 2013 1:54 AM
  • User287445725 posted

    Thanks for answering my problem 

    Thursday, August 8, 2013 2:18 AM