开发者

asp.net mvc 3 route problem

开发者 https://www.devze.com 2023-02-21 16:55 出处:网络
when I browse http://localho开发者_运维百科st:4716/users/, it will show error: Server Error in \'/\' Application.

when I browse http://localho开发者_运维百科st:4716/users/, it will show error:

Server Error in '/' Application.
The resource cannot be found.

but when I browse http://localhost:4716/users/index, it will ok.

other controllers all ok with or without /index, only UsersController doesn't work. anyone have similar problem?

[I didn't modify the Global.asax.cs after it auto-generated when project created. all route is default.]

Thanks a lot.

0

精彩评论

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