Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

asp.net routing integration feature requires asp.net compatibility with webapi 0.6.0 and asp.net compatibility enabled

using asp.net webapi v0.6.0 I get that error on launch. asp.net compatibility is enabled for the site. I've been trying to fix it for a couple of days now and frankly don't even know where to start.

Any help would be appreciated

like image 574
Nicolás Straub Avatar asked May 09 '12 19:05

Nicolás Straub


1 Answers

Try adding the below to the system.servicemodel in web.config

<serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
like image 199
Roopa Avatar answered Nov 08 '22 15:11

Roopa