Previous Next

Thread: HTTP Error 500.0 - Internal Server Error

Last post 05-19-2008 3:59 PM by isilxora. 12 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (13 items)

Sort Posts:

  • 03-31-2008, 12:34 PM

    • isilxora
    • Not Ranked
    • Joined on 03-31-2008, 11:54 AM
    • sweden
    • Posts 7
    • isilxora

    HTTP Error 500.0 - Internal Server Error

    Hi! 

    I've been searching the web and trying to troubleshoot, but I havn't find any solution for this problem.

    Windows Vista Home Premium
    IIS7 Full installation
     

    HTTP-fel 500.0 - Internal Server Error

    Description: The page cannot be displayed because an internal server error has occurred.

    Error Code: 0x8007007e

    Notification: BeginRequest

    Module: AspNetInitClrHostFailureModule

    Requested URL: http://localhost:8080/default.aspx

    Physical Path: C:\inetpub\wwwroot\emc\default.aspx

    Logon User: Not yet determined

    Logon Method: Not yet determined

    Handler: PageHandlerFactory-Integrated

    IIS Trace Detail Highlights

    No.
    EventName Details
    77.
    n
    n
    r
    MODULE_SET_RESPONSE_ERROR_STATUS
    Warning
    ModuleName="AspNetInitClrHostFailureModule", Notification="BEGIN_REQUEST", HttpStatus="500", HttpReason="Internal Server Error", HttpSubStatus="0", ErrorCode="Det går inte att hitta den angivna modulen. (0x8007007e)", ConfigExceptionInfo=""

     ErrorCode="Not able to find the requested module"

     

    Best Regards, Erik 

  • 03-31-2008, 3:50 PM In reply to

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

    Re: HTTP Error 500.0 - Internal Server Error

    You should have something in the event-log with a more detailed description of the error.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-04-2008, 5:45 AM In reply to

    • isilxora
    • Not Ranked
    • Joined on 03-31-2008, 11:54 AM
    • sweden
    • Posts 7
    • isilxora

    Re: HTTP Error 500.0 - Internal Server Error

    Hi again

    That's the only highlighted error there is. Any possibility that I could send you the log-file?
    Normal asp-pages works. And i get both asp/asp.net working with the visual studio development server.

    Is there something wrong with my ISAPI-filter or ? I have really no clue about these things..
     

    ISAPI-filter:

    ASP.Net_2.0.50727.0
    %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll 

    IIS Diagnostics Output

    Url: http://localhost:8080/
    Site: 2
    App Pool: DefaultAppPool
    Process: 4084
    Authentication: anonymous
    User from token: NT INSTANS\IUSR
    Activity ID: {00000000-0000-0000-0400-0080010000FB}
    Failure Reason: STATUS_CODE
    Final Status: 200
    Time Taken: 109 msec
     

  • 04-04-2008, 5:27 PM In reply to

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

    Re: HTTP Error 500.0 - Internal Server Error

    This will probably require some debugging on your server - let me know if you are comfortable using debugging tools for windows and I can send you some instructions - otherwise, you may need to open a support case to get to the bottom of this.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-05-2008, 6:50 AM In reply to

    • isilxora
    • Not Ranked
    • Joined on 03-31-2008, 11:54 AM
    • sweden
    • Posts 7
    • isilxora

    Re: HTTP Error 500.0 - Internal Server Error

    Send me some instructions and I'll do my best.  I've got 'Debug Diagnostics Tool 1.1' installed, and I think i should be able to do some debugging if you give me a hand.

    I don't know if this error means anything:

    "It's not right to use a section that is registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."

  • 04-07-2008, 1:22 PM In reply to

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

    Re: HTTP Error 500.0 - Internal Server Error

    You can create a crash rule in debugdiag for all IIS processes and add rule to create full user dump for CLR/.Net exceptions - this should create user dumps for the spot where the interesting error happens - you will need to load this dump in a debugger and dump the exception info to find what is going on.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-14-2008, 12:36 AM In reply to

    • isilxora
    • Not Ranked
    • Joined on 03-31-2008, 11:54 AM
    • sweden
    • Posts 7
    • isilxora

    Re: HTTP Error 500.0 - Internal Server Error

    I've made a rule for all IIS/COM+ related processes in Debug DT (with CLR (.NET) Exception). But it doesn't generate any dump files, when i load a .net page on my IIS server. It says that the rule is active.

    I do get a ' First chance exception' which doesn't detect any known problems.
     

  • 04-14-2008, 12:37 PM In reply to

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

    Re: HTTP Error 500.0 - Internal Server Error

    The first chance CLR/.Net exception is the one you want to break on - asp.net will handle that first chance exception and convert it to the 500 error you are seeing - the managed exception object at that first chance exception will tell you what the problem is.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 05-17-2008, 6:50 PM In reply to

    • isilxora
    • Not Ranked
    • Joined on 03-31-2008, 11:54 AM
    • sweden
    • Posts 7
    • isilxora

    Re: HTTP Error 500.0 - Internal Server Error

    Hi. 

    I got the Analysis for my 500.0 Error now. Do you have any clue or futher suggestions what I could do, or should i contact MS support ?

    ISAPI? 

    Sorry for large post.

    Analysis Summary

    In dllhost__PID__6464__Date__05_17_2008__Time_11_19_44PM__527__First chance exception 0X800401FD.dmp the assembly instruction at kernel32!RaiseException+58 in C:\Windows\System32\kernel32.dll from Microsoft Corporation has caused an unknown exception (0x800401fd) on thread 0

    This exception originated from rpcrt4!RpcpRaiseException+1e.

     

     

    Analysis Details

    Type of Analysis Performed   Crash Analysis
    Machine Name   ERIK-DATOR
    Operating System   Windows Vista
    Number Of Processors   4
    Process ID   6464
    Process Image   C:\Windows\System32\dllhost.exe
    System Up-Time   00:18:30
    Process Up-Time   00:12:32

    Thread 0 - System ID 6468

    Entry point   dllhost!WinMainCRTStartup
    Create time   2008-05-17 23:07:12
    Time spent in user mode   0 Days 0:0:0.15
    Time spent in kernel mode   0 Days 0:0:0.15


    Function     Arg 1     Arg 2     Arg 3   Source
    kernel32!RaiseException+58     800401fd     00000001     00000000   
    rpcrt4!RpcpRaiseException+1e     0019e23c     000ef63c     75e65a14   
    rpcrt4!RpcRaiseException+16     800401fd     cb33548f     000ef67c   
    rpcrt4!CStdProxyBuffer_Connect+14f6     73a02798     73a03438     000ef67c   
    rpcrt4!ObjectStublessClient+6f     000ef67c     00000004     000ef6c0   
    rpcrt4!ObjectStubless+f     0019e23c     e78367ec     4e2e4165   
    es!FiringAgent::~FiringAgent+d6     001d05f8     000ef6dc     73a0f7a3   
    es!FiringAgent::`scalar deleting destructor'+d     00000001     6e25cbdc     000ef6e8   
    es!FiringAgent::InternalRelease+24     001d05f8     000ef6f4     76dad856   
    es!FiringAgent::XNDUnknown::Release+11     001d0660     000ef700     76dad9f5   
    ole32!CDefLink::Release+11     001ccb48     000ef734     6e1cfb5a   
    ole32!Interceptor_Release+11     001ccb64     001c8220     6e1c508f   
    comsvcs!CLceDisp::ReleaseAll+1d     cb347194     00000000     001c8220   
    comsvcs!ATL::CComObject<CLceDisp>::~CComObject<CLceDisp>+3f     001c8220     000ef754     6e1c7ab8   
    comsvcs!ATL::CComObject<CLceDisp>::`scalar deleting destructor'+d     00000001     0024e004     0024df48   
    comsvcs!ATL::CComObject<CLceDisp>::Release+27     001c8220     cb33638c     00000000   
    ole32!CStdIdentity::ReleaseCtrlUnk+55     0024df4c     000ef7e4     00000000   
    ole32!CStdMarshal::Disconnect+281     00000008     0000005d     76ed0898   
    ole32!DisconnectSwitch+16     000ef7e4     0024df4c     00000008   
    ole32!CStdMarshal::DisconnectAndRelease+44     00000008     0018ae18     fffffffe   
    ole32!COIDTable::ThreadCleanup+cb     cb336dfc     0018ae18     00000000   
    ole32!FinishShutdown+9d     00000000     000efa34     76ed064c   
    ole32!ApartmentUninitialize+96     00000000     00000000     0018ae18   
    ole32!wCoUninitialize+153     000efa34     00000000     00552374   
    ole32!CoUninitialize+71     00161d80     00000000     000efa5c   
    dllhost!WinMain+f8     00550000     00000000     00161d80   
    dllhost!_initterm_e+1a1     7ffdb000     000efc98     7713a9bd   
    kernel32!BaseThreadInitThunk+e     7ffdb000     000e9256     00000000   
    ntdll!_RtlUserThreadStart+23     005516e6     7ffdb000     00000000   


    In dllhost__PID__6464__Date__05_17_2008__Time_11_19_44PM__527__First chance exception 0X800401FD.dmp the assembly instruction at kernel32!RaiseException+58 in C:\Windows\System32\kernel32.dll from Microsoft Corporation has caused an unknown exception (0x800401fd) on thread 0

    This exception originated from rpcrt4!RpcpRaiseException+1e.

    Module Information

    Image Name: C:\Windows\System32\kernel32.dll   Symbol Type: PDB
    Base address: 0x76b00000   Time Stamp: Thu Nov 02 10:42:24 2006
    Checksum: 0x000d9614   Comments:
    COM DLL: False   Company Name: Microsoft Corporation
    ISAPIExtension: False   File Description: Windows NT BASE API Client DLL
    ISAPIFilter: False   File Version: 6.0.6000.16386 (vista_rtm.061101-2205)
    Managed DLL: False   Internal Name: kernel32
    VB DLL: False   Legal Copyright: © Microsoft Corporation. All rights reserved.
    Loaded Image Name: kernel32.dll   Legal Trademarks:
    Mapped Image Name:
      Original filename: kernel32
    Module name: kernel32   Private Build:
    Single Threaded: False   Product Name: Microsoft® Windows® Operating System
    Module Size: 864,00 KBytes   Product Version: 6.0.6000.16386
    Symbol File Name: c:\symcache\kernel32.pdb\04B9D5F57B154AA2BDBAB7946947DC4F2\kernel32.pdb   Special Build:
  • 05-17-2008, 8:30 PM In reply to

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

    Re: HTTP Error 500.0 - Internal Server Error

    IIS7 does not use dllhost.exe for its process model - that exception is likely unrelated to your issue - are you not seeing any CLR exceptions in w3wp.exe?

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 05-17-2008, 8:57 PM In reply to

    • isilxora
    • Not Ranked
    • Joined on 03-31-2008, 11:54 AM
    • sweden
    • Posts 7
    • isilxora

    Re: HTTP Error 500.0 - Internal Server Error

     That's the only detectable error i get from DebugDia 1.1, and no I don't get any errors in w3wp.exe.

  • 05-19-2008, 11:28 AM In reply to

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

    Re: HTTP Error 500.0 - Internal Server Error

    I don't see how we can make further progress without someone from microsoft being able to debug your machine - and that means involving product support.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 05-19-2008, 3:59 PM In reply to

    • isilxora
    • Not Ranked
    • Joined on 03-31-2008, 11:54 AM
    • sweden
    • Posts 7
    • isilxora

    Re: HTTP Error 500.0 - Internal Server Error

    Well i accidently solved the problem somehow. My user account on my computer (windows account) got switched into a Guest Account and I had to reinstall the OS. And when I tried IIS with asp.net everything worked. I got kinda supprised and happy.

    So I must have done something strange while setting the server up last time or I dunno. But thanks for all your time and assistance :)

     
    I'm going to program asp.net with c# instead of vb that i learned in school. Trying to get a connection to work to Sql Server Express at the moment.

     


    Best Regards, Erik. 


Page 1 of 1 (13 items)
Page view counter