<Error><Message>An error has occurred.</Message><ExceptionMessage>The object has not yet been initialized. Ensure that HttpConfiguration.EnsureInitialized() is called in the application's startup code after all other initialization code.</ExceptionMessage><ExceptionType>System.InvalidOperationException</ExceptionType><StackTrace> at System.Web.Http.Routing.RouteCollectionRoute.get_SubRoutes()
at System.Web.Http.Routing.RouteCollectionRoute.GetRouteData(String virtualPathRoot, HttpRequestMessage request)
at System.Web.Http.WebHost.Routing.HttpWebRoute.GetRouteData(HttpContextBase httpContext)</StackTrace></Error>
This is on umbraco 7.13.2 with WebApi 5.2.6
I have tried using all the application start handlers instead of overriding with the above comments code, with the same outcome.
Umbraco unable to start
Hi,
I am having real problems when trying to enable cors on Umbraco if Plumber is installed.
I followed the comment here: https://our.umbraco.com/forum/umbraco-7/using-umbraco-7/63841-Web-API-2-and-cross-origin-resource-sharing-CORS#comment-226426
The error which is thrown is:
This is on umbraco 7.13.2 with WebApi 5.2.6
I have tried using all the application start handlers instead of overriding with the above comments code, with the same outcome.
Any help would be appreciated!
is working on a reply...