locked
When launching an ASP.NET 5 MVC 6 Web App in IIS 8.5 I get an HTTP500 and an Event 1001 against the HttpPlatformHandler RRS feed

  • Question

  • User-389856493 posted

    I have built and published an ASP.NET 5 MVC 6 Web App via VS2015 and Published it to IIS 8.5 on a Windows Server 2012 64-bit machine. I had previously published a very simple ASP.NET 5 MVC 6 App (albeit with no EF code) which works fine in IIS and to my mind has proved the IIS config side of things for .NET. To do all of this I followed the really helpful guide that is: http://docs.asp.net/en/latest/publishing/iis.html.

    When I try to browse to the published App I get an HTTP 500

    Also in the Windows Application Log in Event Viewer at the moment of browsing I get an Event 1001 against the HttpPlatformHandler (I have installed the latest version 1.2)

    Log Name: Application
    Source: HttpPlatformHandler
    Date: 17/12/2015 15:11:17
    Event ID: 1001
    Task Category: None
    Level: Information
    Keywords: Classic
    User: N/A
    Computer: cma-tst-ts16.cma.local
    Description:
    The description for Event ID 1001 from source HttpPlatformHandler cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event originated on another computer, the display information had to be saved with the event.

    The following information was included with the event:

    Process '7336' started successfully and is listening on port '29148'.

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="HttpPlatformHandler" />
    <EventID Qualifiers="0">1001</EventID>
    <Level>4</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-12-17T15:11:17.000000000Z" />
    <EventRecordID>153823</EventRecordID>
    <Channel>Application</Channel>
    <Computer>cma-tst-ts16.cma.local</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Process '7336' started successfully and is listening on port '29148'.</Data>
    </EventData>
    </Event>

    Has anyone got any clue on what might be happening and what steps I could take to resolve this error please?

    Thanks

    Thursday, December 17, 2015 3:51 PM

All replies

  • User-389856493 posted

    Update on this - its something to do with Entity Framework as when I added a basic bit of LINQ SQL to the basic working application it stopped working and gave the same HTTP 500 error. Is there logging that could be enabled so I can see more clearly what's going on?

    Friday, December 18, 2015 10:11 AM
  • User-166373564 posted

    Hi,

     Please check whether your application is unable to connect to your database for whatever reason.

    Regards,

    Angie

    Monday, December 21, 2015 11:50 AM