Scenario: MVC ASP.NET application containing WCF data services. When you try to browse WCF data service .svc page you might get the error
"Resource not found -404 error" .
Reson for such behavior : When you try to browse to data service page , the request is sent to MVC framework first rather than data service . As the controller is not defined for such request , error is send back.
Resolution :Ignore request redirection to MVC framework when WCF data service is requested .In order to achieve this add following to global.asax RegisterRoute function.
routes.IgnoreRoute("{resource}.svc/{*pathInfo}");
Subscribe to:
Post Comments (Atom)
Installing Octave in Ubuntu running on Docker
I want to run Octave on Ubuntu running on docker. Simple stuff but still manage to get errors and had to spend few minutes on fine-tuning ...


-
Note : In below scenario jenkins was deployed in Linux container Scenario: Jenkins build failed with error. java.io.IOException: error...
-
error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/auth: open //./pipe/docker_engine: The system cannot find the file ...
-
Ever wanted to have a people picker kind of control in Infopath form and that too in browser mode. Did i heard yes :) , well there is a Acti...

1 comment:
Interesting that it is not specified anywhere in MSDN or the tutorial videos. Thanks for this post
Post a Comment