I\'ve installed Visual Studio 2013 and when I run my app I get the error below.
I\'ve got no idea as to where I\'m to initialized this object.
What to do?>
I actually got this error when I was using Attribute Routing within my WebApi.
I had
[Route("webapi/siteTypes/{siteTypeId"]
instead of
[Route("webapi/siteTypes/{siteTypeId}"]
for my route and got this error. I had simply missed out the closing curly bracket. Once I added it back in, this error didn't occur again.