相关疑难解决方法(0)

名为"x"的路径已在路径集合中.路线名称必须是唯一的.ASP.NET MVC 3的例外

我正在做一个ASP.NET MVC 3 Web服务,我一直在间歇性地得到这个例外.

堆栈跟踪:

Server Error in '/' Application.

A route named 'ListTables' is already in the route collection. Route names must be unique.
Parameter name: name

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: A route named 'ListTables' is already in the route collection. Route names must be unique.
Parameter name: name …
Run Code Online (Sandbox Code Playgroud)

asp.net asp.net-mvc-3-areas asp.net-mvc-3

95
推荐指数
4
解决办法
6万
查看次数