Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6108049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:15:17+00:00 2026-05-23T14:15:17+00:00

I have an MVC 3.0 application that when deployed crashs the app pool every

  • 0

I have an MVC 3.0 application that when deployed crashs the app pool every time a certain page is run.

This page is not doing anything different to any of the other pages, basically
Grabs a database record and presents the information using a view.

I have not been able to figure out why it crashes causing the app pool to shut down and shutting down the entire site.
I have install ELMAH log tracking and have wrapped a base controller but as the app pool crashes no logs get written to ELMAH

I have tried to catch all unmanaged exceptions using this method
http://support.microsoft.com/kb/911816 however the app pool still crashs and I am no closer to finding a solution.

None of the code is unmanaged so I am not sure why this is happening except for calls to the database that could be failing but see no errors in the database logs.
I am using DynamicMethod to generate IL code to map to the database structure to my models but the same implementation works for every other model and the broken call works ok on my dev machine.

Question 1 If this IL generated code fails should the exception still be caught in the standard request error handling?

Event logs are cryptic and next to useless.

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

DebugDiag for 64 bit windows only allows me to analyze dump files and I am unable to attach it to app pool or IIS process.

Application runs perfectly in Debug and release mode in VS2010.

Question 2 I am developing on 32 bit but deploying to 64 bit. Is there any scenario where something works fine in 32 bit but fails in a 64 bit environment?

Question 3 I am not sure what other logging or approach I can do to find this problem.
Is there any other logging or code I can wrap my request with to try and track the issue.

I am pretty sure it must be a crash in the Dynamic method code, so if anyone can answer Question1 then that will really help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:15:18+00:00Added an answer on May 23, 2026 at 2:15 pm

    Ok The problem was with the DynamicMethod generate IL code was failing.

    If the field type and database type did not match up it crashed the entire app-pool

    Any type mismatches should of been found on the development server however the
    The issue was a database type of int and field type of Decimal
    did not break on the 32 bit dev machines but broke on the 64 bit deploy server.

    Generating IL Code to a dll and running PEVerify showed the problem.

    Question 1. No,
    Question 2. In this situation yes
    Question 3. PEVerify, if you are generating IL code always run it through PEVerify.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that uses ASP.NET MVC. I have it deployed to a
I have an ASPNET MVC application that works fine locally but when I deployed
I have an MVC application that among other things contains a small Silverlight menu
I have an MVC application that needs to login and verify a user against
I have an mvc application that has been coded to use Windows authentication and
I have an MVC application view that is generating quite a large HTML table
I have an Asp.Net MVC application that works in the vs.net development web server.
I have a ASP.NET MVC application that runs in both IIS 6 and 7.
We have an asp.net mvc application that we would like to integrate a FileSystemWatcher
I have a Spring Web MVC application that I'd like to serve a large,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.