Ajax wcf service not working for me

I have a web application that uses a wcf service with support for ajax Service.scv .... I worked yesterday yesterday ... But when I started the application now ... It gives me an error

 500 Internal Server Error 

When I checked through firebug, I saw this,

 http://localhost:1482/CR-F/Service.svc/js 500 Internal Server Error 

Why is this happening, I'm missing something ... Any suggestion ...

EDIT:

Removing temporary ASP.Net files solved the problem ....

It's a long time ...

+1
source share
2 answers

ANSWER:

 <compilation debug="false" batch="false"/> 
+3
source

I also had this on a dev machine, and deleting temporary files was fixed ... Also a great tool for wcf diagnostics (especially for calling ajax, where 500 Server Error is used not so much) is to use SvcTraceViewer.exe. For example, in this case, the logs would point you to the asp.net temp folders ...

http://www.dontcodetired.com/blog/post/Diagnosing-WCF-Problems-Using-SvcTraceViewerexe.aspx

0
source

Source: https://habr.com/ru/post/1300971/


All Articles