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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:14:41+00:00 2026-05-23T13:14:41+00:00

I’m deploying an MVC3 application to a new server. The application runs fine on

  • 0

I’m deploying an MVC3 application to a new server. The application runs fine on the development server (Visual Studio) and also under IIS7 on my development machine, but on the server I get a 403 error:

enter image description here

I have completed the following steps, but am now out of ideas. Please help!

  • Using the same xcopy deployment technique that I used on my development machine, I have deployed files to the to the server and added the following permissions to the folder:

IUSR – Read & execute, List folder contents, Read
IIS_IUSRS – Read & execute, List folder contents, Read

  • I have also installed ASP.NET MVC3 on server so additional required .dlls are in GAC

  • IIS is set up and I can access basic html files (such as test.html that I have dropped in at the site route).

  • I have checked in Server Manager that all Role Services are installed

  • Have attempted to bin deploy by copying files from MVC install location and putting in the bin directory

C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies

C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies

  • 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-23T13:14:42+00:00Added an answer on May 23, 2026 at 1:14 pm

    Ok, found the problem. Here it is incase anyone else has the same issue:

    The Server I’m using must have had .NET 4 installed before IIS. This meant that .NET 4 hadn’t been registered with IIS.

    I noticed the issue when checking IIS config. Clicking the .NET compilation icon for the website threw an exception, presumably because the application could not be compiled.

    This led me to a stack overflow post that directed me to hanselman.com

    In short, I had to install VS2010 on the server so I had the Visual Studio command prompt available, and then register .NET 4 with IIS on the command line.

    IIS Manager can't configure .NET Compilation on .NET 4 Applications

    http://www.hanselman.com/blog/ASPNET4BreakingChangesAndStuffToBeAwareOf.aspx

    Key section:

    “I installed ASP.NET 4 and then
    installed IIS.”

    If you install VS2010 and/or .NET 4
    first, then later install IIS, you
    need make sure IIS is configured to
    know about ASP.NET 4 otherwise IIS
    will have no idea how to run ASP.NET 4
    applications.

    There’s a simple workaround

    If you are already in this state, drop
    to the command line and navigate to
    the FX install directory. Then run
    “aspnet_regiis –iru”.

    Note if you are on a 64-bit machine,
    run this command from the 64-bit FX
    install directory – not the 32-bit
    installation directory.

    or for future reference, try to enable
    IIS and the ASP.NET extensibility
    option first when your are building
    machines or VMs. That way when VS
    2010 or .NET are subsequently
    installed, the installation will
    automatically detect the presence of
    IIS and will auto-register with it.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I have a French site that I want to parse, but am running into

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.