I have couple of SVC services within an ASP.Net 4.0 website. All works fine with some hiccups (see my previous posts about issues with naming, etc.), but then I started getting errors again when accessing them (500 internal server error). So I investigated what's happening and found out that services are not working and returning:
asp.net svc could not load assembly App_Web...
What the heck? All worked fine and all I did was to add some assembly references to web.config. Turns out that compilation tag may cause this issue - and
solution is:
set the "batch" attribute of the "compilation" tag in web.config to "false.
No comments:
Post a Comment