Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Running MVC2 Application on IIS 5.2

Posted on 2010-08-17
9
Medium Priority
?
1,136 Views
Last Modified: 2013-11-08
I recently created an MVC2 application.  I am having trouble bringing it up on a Windows 2003 Server running IIS 5.2.  My developing machine is Server 2008, so no problems there.  

Changes I made on Server 2003 is Creating a Wildcard Script Map of * and pointing that to: c:\windows\microsoft.net\framework\v4.0.30319\aspnet_isapi.dll

I created a separate apppool and am running that using .Net 4

I am getting an HTTP 403 Forbidden page.

Here is my global.asax
routes.MapRoute(
                "Default", // Route name
                "{controller}.mvc/{action}/{id}", // URL with parameters
                new { action = "Index", id = "" } // Parameter defaults
            );

            routes.MapRoute(
                "Root", // Route name
                "", // URL with parameters
                new { controller = "Home", action = "Index", id = "" } // Parameter defaults
            );

Open in new window

0
Comment
Question by:obautista
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 6

Accepted Solution

by:
ajarvey earned 2000 total points
ID: 33459306
Go into IIS, and into the Web Service Extensions area.. You will need to allow the ISAPI for .NET.
0
 

Author Comment

by:obautista
ID: 33459461
Does IIS5 have the concept of Web Service Extensions?  How would I complete what you are suggesting?
0
 
LVL 6

Expert Comment

by:ajarvey
ID: 33459545
Windows Server 2003 runs IIS6. This is included functionality in that version.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:obautista
ID: 33459563
It is a Windows 2003 Server, but appears to be running IIS 5.2.  I have included a screenshot.
iis.jpg
0
 
LVL 6

Expert Comment

by:ajarvey
ID: 33459592
Take a screenshot of IIS itself (you can blur out the websites) and post it. I'm a bit confused...
0
 

Author Comment

by:obautista
ID: 33459657
I actually see this now, but not sure how you add the extension.  Where do I do that.  My MVC2 application is set up as a Virtual Directory underneath the Default Website.
iis2.jpg
iis3.jpg
0
 
LVL 6

Expert Comment

by:ajarvey
ID: 33459674
It is in this section of the IIS snapin:


step01.gif
0
 

Author Comment

by:obautista
ID: 33459726
Perfect.  The assembly was installed.  It was just set to Prohibited.  Apparently installing .Net Framework 4.0 defaults it to Prohibited.  I changed it to Allowed and BINGO!

Thanks for your help...
iis4.jpg
0
 
LVL 6

Expert Comment

by:ajarvey
ID: 33459739
You're very welcome..
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field.…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

722 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