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 6748419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:33:45+00:00 2026-05-26T12:33:45+00:00

I have an ASP.NET MVC 3 .NET application under Visual web developer Express 2010.

  • 0

I have an ASP.NET MVC 3 .NET application under Visual web developer Express 2010.

By default it is build as ‘Any CPU’. When tested, Environment.Is64BitProcess always returns false (I have Windows 7 64 bit). I tried Stack Overflow question Change target CPU settings in Visual Studio 2010 Express for both x86 and x64, but it always results in an error, something along the lines of:

Cannot load type 'MyApp.UI.MvcApplication'.

and points to the global.asax file with only one line:

<%@ Application Codebehind="Global.asax.cs" Inherits="MyApp.UI.MvcApplication" Language="C#" %>

How could I fix it?

  • 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-26T12:33:46+00:00Added an answer on May 26, 2026 at 12:33 pm

    This all depends on what process is hosting your website.

    • If you are using Cassini or IIS Express, it will always be a 32-bit application because those processes are always 32-bit.

    • If you are using IIS, then it depends on what your AppPool is set to.

    The CPU settings affect what it can run under, not what it should.

    • Any CPU means that the assembly is capable of running as 64-bit or 32-bit.
    • x86 means it can only run in a 32-bit process.
    • x64 means it cano only run in a 64-bit process.

    These settings are more typical when you have different assemblies for different platforms, say if they have very specific platform invoke for each. Or if you have a stand alone executable that you want to always run 32-bit, even on a 64-bit environment. Generally, for ASP.NET you want your assemblies to to be Any CPU and use IIS’s configuration to decide if you are going to use a 32-bit or 64-bit AppPool.

    For IIS 7+, you would look under the Advanced Settings of the App Pool. Set Enabled 32-bit applications to True for 32-bit, or False for 64-bit.

    If you website is running on IIS Express or Cassini, then you don’t have a choice.

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

Sidebar

Related Questions

I have an asp.net mvc application that works fine under visual studio but when
I have an Asp.Net MVC application that works in the vs.net development web server.
I have an ASP.NET MVC application with the default membership database. I am accessing
I have built an ASP.NET MVC 3 web application (with exlusively Razor/cshtml pages) that
I have an ASP.NET MVC web application running in IIS as a subweb; let's
Scenario : I have an ASP.NET MVC application developed in Visual Studio 2008. There
I have an ASP.NET MVC 3 application, that resides in lets say localhost/myapp under
I have a Asp.Net MVC application that runs on a shared host under IIS7.
I have built a small web application in asp.net c# in VS 2010 using
If I create an ASP.NET MVC 3 (with Razor) application in Visual Studio 2010,

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.