興味深いものです。
半ダースの開発者のチームの中で、次の問題を経験しているのは私だけなので、それが私自身に固有のものであることはかなり確信していますが、原因を突き止めることはできないようです.
Orchard ベースのサイトを使用すると、既定のホームページは Route プロバイダーを使用してオーバーライドされます。
public IEnumerable<RouteDescriptor> GetRoutes()
{
return new[]{
new RouteDescriptor{
Name = "Homepage",
Priority = 85,
Route = new Route(
"",
new RouteValueDictionary{
{"area", "Area"},
{"controller", "BingoGame"},
{"action", "BingoRealm" },
{"realm", "realmName" }
},
new RouteValueDictionary(),
new RouteValueDictionary{
{"area", "Area"}
},
new MvcRouteHandler())
},
...
ただし、アプリケーションにログインすると (ホームページに移動すると思われる場所で、次のエラーが発生します。
指定された値と一致するルートがルート テーブルにありません。
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.InvalidOperationException: No route in the route table matches the supplied values.
Source Error:
Line 160: public void EndProcessRequest(IAsyncResult result) {
Line 161: try {
Line 162: _httpAsyncHandler.EndProcessRequest(result);
Line 163: }
Line 164: finally {
So here we have somewhere that establishes a route yet try to access that route and nothing is found.
As I mentioned, only myself is experiencing this particular error and we can think of nothing local to my machine that should be influencing this matter.
Solutions? Suggestions? Questions?