obautista
asked on
Running MVC2 Application on IIS 5.2
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\f ramework\v 4.0.30319\ aspnet_isa pi.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
Changes I made on Server 2003 is Creating a Wildcard Script Map of * and pointing that to: c:\windows\microsoft.net\f
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
);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Windows Server 2003 runs IIS6. This is included functionality in that version.
ASKER
It is a Windows 2003 Server, but appears to be running IIS 5.2. I have included a screenshot.
iis.jpg
iis.jpg
Take a screenshot of IIS itself (you can blur out the websites) and post it. I'm a bit confused...
ASKER
ASKER
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
Thanks for your help...
iis4.jpg
You're very welcome..
ASKER