Questions tagged [routing]
For questions related to the creation of custom or use of default routes in Sitecore, covering routing for MVC and WebAPI, in addition to ReactJS routing, etc.
7
questions
7
votes
2
answers
5k
views
A route named x is already in the route collection. Route names must be unique
EXM is throwing error when I go to the dashboard.
I see the following error in the Sitecore log file.
Exception System.ArgumentException: A route named 'CountriesV1' is
already in the route ...
11
votes
1
answer
7k
views
InvalidOperationException: No route in the route table matches the supplied values
I've recently deployed a SC 8.1 update 3 site to production (seperate CM and CD) and on the CD side I'm getting this error:
Server Error in '/' Application.
No route in the route table matches the ...
5
votes
4
answers
6k
views
Passing a parameter to controller rendering through URL
I have a component on my page that is a controller rendering and I'd like to pass a parameter in through the URL, but not as a query string parameter. So, instead of site.com/product?id=123, I want: ...
4
votes
0
answers
921
views
How to ignore routes from specific dlls in Sitecore 8.2 [closed]
Sitecore 8.2 update 1.
I have added few dll refences in project. The DLLs are from external application and have their own webapi controllers and routes.
I am using Autofac and excluding the ...
2
votes
1
answer
777
views
Requested document not found when using MVC routes
I am getting 404s (requested document not found) when I try to use a custom route I created per the guide here: https://kb.sitecore.net/articles/700677. My patch config is showing up in showconfig, ...
1
vote
2
answers
3k
views
Troubleshooting Sitecore Identity Server routing errors in Sitecore 9
I am upgrading Sitecore 8.1 to 9.1. After resolving a number of config and dll-related errors, if I try to reach /sitecore I get redirected to
/identity/login/shell/SitecoreIdentityServer
Which ...
1
vote
2
answers
695
views
I need to integrate a controller from a compiled dll into a controller I can build/control. How can I call that as a rendering?
I'm able to call this compiled dll's controller directly in a Sitecore rendering - e.g. I can create a rendering where I reference the controller, controller action, and area and the content from the ...