开发者

IIS6 Problems with ASP.NET MVC

开发者 https://www.devze.com 2022-12-23 22:57 出处:网络
I have a ASP.NET MVC page. I Configured a IIS Website and added the additonal H:\\WINDOWS\\Microsoft.NET\\Framework64\\v2.0.50727\\aspnet_isapi.dll.

I have a ASP.NET MVC page. I Configured a IIS Website and added the additonal H:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll.

my Directory Structure is like that

/
../App_data/
../bin/
../Content/
../Properties/
../Scripts/
../Views/
../Default.aspx
../Global.asax
../Web.config

My page is configured to port 9090.

If i try to access the page i get the "default" Page. But if i try to access any other page than the //myServer:9090 like //myServer:9090/home (which is the default method in my HomeController) i get a "page not found" error page.

For me it looks like he does'nt execute the assambly. In the Debbuging Server a开发者_Go百科ll runs nice.

What could be the Problem?

P.S: If i forgort something pls ask for! thanks!


Here's a nice post explaining how to configure ASP.NET MVC to run on IIS6 using extensionless routes.


Take a look at this page. You have to do different things to IIS to get MVC to run based upon what version of IIS you are using.


The Problem was that i use a 64BIT Server so i had to unclick "confirm that file exists"

0

精彩评论

暂无评论...
验证码 换一张
取 消