我正在做一个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)