Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi, all!
I'm installing EPiServer.ServiceApi via Nuget, as it is described in the guide, but right after that I get the following error instead of my start page:
I've tried this solution, but config.EnableCors() doesn't exist, config.MapHttpAttributeRoutes() causes error "ArgumentException: A route named 'MS_attributerouteWebApi' is already in the route collection", and all the rest doesn't help. I tried adding "GlobalConfiguration.Configuration.EnsureInitialized();" at the end of initialization, it doesn't help either.
What can be the problem? What causes this error?