Thursday, May 3, 2012

HTTP Error 500.0 - Internal Server Error Calling LoadLibraryEx on ISAPI filter "C:\Windows\Microsoft.NET\Framework\v4.0.30319\\aspnet_filter.dll" failed

HTTP Error 500.0 - Internal Server Error
Calling LoadLibraryEx on ISAPI filter "C:\Windows\Microsoft.NET\Framework\v4.0.30319\\aspnet_filter.dll" failed


Problem :
If you install .Net framework in machine that already contains .Net Framework 4 , it caused the error

Solution :
Get a command prompt in administrator mode and go to 
C:\Windows\Microsoft .NET\FrameWork64\v4.xxx(version number )
and run 
aspnet_regiis -r. 


It will re-register the right libraries.
For any other kinds of framework locate the exact folder location of framework 4 , fine the file name asnet_regiis and run the command as above .
Now it solves the issue  hope if will work for you.

4 comments:

  1. Hi All,

    I got this error, before you do any above stuff, just try below

    1. Click on your computer icon in IIS

    2. On right side, you see ISAPI filters – Click

    3. Pick up the Filter name ASP.Net_4.0_64bit and its path MIGHT HAVE AN EXTRA \ IN THE PATH,

    SO UNABLE TO LOAD THIS DLL,

    %windir%\Microsoft.NET\Framework64\\v4.0.30319\aspnet_filter.dll

    4. restart IIS – should resolve the error.

    thanks

    HydPhani

    ReplyDelete
    Replies
    1. This solved my problem. Thank you very much sir

      Delete
  2. Dear all,
    I have the same problem,
    unfortunatly, but mentioned above is not solved the problem. Afte run command, the error still the same '500..'

    ReplyDelete
  3. Thankyou very much.It worked to me.It saved my day

    ReplyDelete