I'm trying to add Web Api 2 to my umbraco 6.1 project, but i get the following error when i Map the Http Attribute Routes.
I think it's the buildin web api attributes for umbraco. Is there any solution for this problem?
Value cannot be null. Parameter name: umbracoContext
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.ArgumentNullException: Value cannot be null. Parameter name: umbracoContext
Source Error:
Line 21: );
Line 22:
Line 23: config.MapHttpAttributeRoutes();
Line 24:
Line 25: //config.Routes.MapHttpRoute(
Umbraco 6.1 and Web Api 2 Bug
Hi
I'm trying to add Web Api 2 to my umbraco 6.1 project, but i get the following error when i Map the Http Attribute Routes.
I think it's the buildin web api attributes for umbraco. Is there any solution for this problem?
Value cannot be null.
Parameter name: umbracoContext
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.ArgumentNullException: Value cannot be null.
Parameter name: umbracoContext
Source Error:
Line 21: ); Line 22: Line 23: config.MapHttpAttributeRoutes(); Line 24: Line 25: //config.Routes.MapHttpRoute(
Source File: path....\App_Start\WebApiConfig.cs Line: 23
Stack Trace:
I too am experiencing this problem. It seems to be intermittent for me and an application recycle seems to fix it.
Did you sort this?
is working on a reply...