403 Error when accessing MVC site

Posted on 2013-10-14
Medium Priority
Last Modified: 2013-10-20
Running Windows 2008 Web Edition.  Cant get MVC site to work.  Gets 403 error.

#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2013-10-14 19:12:56 W3SVC3 GET /default.aspx - 80 - Mozilla/5.0+(compatible;+MSIE+10.0;+Windows+NT+6.2;+WOW64;+Trident/6.0;+MATBJS) 403 1 5

Is there a hotfix available for Server 2008 Web Edition?  Works in other servers.
Question by:No1Coder
  • 5
  • 3
LVL 16

Expert Comment

ID: 39573215
Which MVC version are you using?
Are you using IIS 7.5+?

Can you give us some more detailed information about the application?

Mostly when there is a 403, the modules for wildcard mapping are not initiated or the .NET version is not correctly registered to IIS.

Author Comment

ID: 39573241
I tried aspnet_regiis -iru but no affect.
If I run the app and point at a .htm file, it serves it up.  When I try any .aspx file, it gives the forbidden error.  Changed contents of default.aspx to following:


Still doesn't serve page.

I have also applied the following kb:

Author Comment

ID: 39573476
Which MVC version are you using?  MVC4

Are you using IIS 7.5+?  IIS7

Can you give us some more detailed information about the application?  Standard ASP.NET MVC4, bin deployable, nothing out of the ordinary
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

LVL 16

Expert Comment

ID: 39573496
You have setup the website as .NET 4.0 apppool and installed all the neccesary components like:
- Common HTTP Features

Author Comment

ID: 39573927
Yes.  This is the first MVC site, but many other asp.net sites are running on this box.
LVL 16

Expert Comment

ID: 39574375
Can you remove all the MVC code content and just keep the default.aspx you are trying to get it to work? If IIS even doesn't serve .aspx, some configuration is in the way or something is wrong in IIS.

Accepted Solution

No1Coder earned 0 total points
ID: 39574455
Couldn't make work by configuring iis.  Installed on IIS 6, and then synched the site with IIS7 using msdeploy..  This worked.  There is obviously something in the UI that cant be configured.

Author Closing Comment

ID: 39585805
this worked.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
An ASP.NET Web Form User Control is not newly introduced in ASP.NET. In fact, it was an old technology yet still playing a role to generate web content, especially when we want to use it to have a better and easy way to control part of the web conte…
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…
If you are looking for an automated tool which can generate reports for Outlook emails and other items from PST file, then you can go for Kernel PST Reporter tool. The reports which are created by this tool are helpful to analyze and understand PST …
Suggested Courses

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question