Anyone know how to remedy this error?
Specified cast is not valid.
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.InvalidCastException: Specified cast is not valid.
Here is the line of code where it breaks -
var id = (int)httpContext.Request.RequestContext.RouteData.Values["id"];