locked
.NET web application w3wp.exe issue RRS feed

  • Question

  • Hi Guys,

    BACKGROUND:

    We have one old .net web application.
    It having simple .aspx pages and one master page.
    Working in dev as well as production very well...

    NEW FEATURE:

    For some reason, we wanted to build the WEB API.
    So we add it with the below process:
    > ASP.NET Web Forms project 
    > Add 
    > Add Scaffolded Item 
    > Web API 2 Controller with read/write actions
    > Implemented one required controller
    > test it from Visual Studio in DEV - WORKING
    > test it by deploing in DEV - WORKING

    ISSUE:

    After deploying the same in production server, whole web application stop working.
    TWO ERROS logs in eventviewer:

    1) SOURCE - .NET Error

    Application: w3wp.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FF86AC5D0AD (00007FF86AC00000) with exit code 80131506.


    2) SOURCE - Application Error

    Faulting application name: w3wp.exe, version: 8.5.9600.16384, time stamp: 0x5215df96
    Faulting module name: clr.dll, version: 4.6.1055.0, time stamp: 0x563c12de
    Exception code: 0xc0000005
    Fault offset: 0x000000000005d0ad
    Faulting process id: 0xe18
    Faulting application start time: 0x01d29d67c53a94d2
    Faulting application path: c:\windows\system32\inetsrv\w3wp.exe
    Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
    Report Id: 273589a4-0996-11e7-80d3-000d3ab07b23
    Faulting package full name: 
    Faulting package-relative application ID:

    If I comment out the line "GlobalConfiguration.Configure(WebApiConfig.Register);"
    Web Application start to work again in production - but without API!!


    Any solution?
    Thursday, March 16, 2017 9:53 AM

All replies

  • Hi Piyush Parate,

    This forum discusses and asks questions about issues regarding the very core of .NET, Since your issue is more related to asp.net. I would suggest that you could post your issue on asp.net forum for suitable support.

    https://forums.asp.net/1246.aspx/1?Web+API

    Thanks for your understanding and cooperation.

    Best regards,

    Cole Wu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, March 17, 2017 5:52 AM