Click here to Skip to main content
15,885,309 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm working on a tracker application with front end Angular JS and using ASP.net Web api for Get/POST requests handling. Getting 404 page not found error while handling requests

What I have tried:

Faced lot of issues related to CORS and after lot of googling... solved that issue and my app is working perfectly in localhost... When I deployed to IIS in a server...it again raised CORS issue and have solved that too.. But now I'm facing 404 Page not found for Get/Post requests..

Request URL:http://xxx.xx.xx.xx:55555/api/CR/ Request Method:GET Status Code:404 Not Found Remote Address:15.85.199.199:8088

Response Headers

Access-Control-Allow-Origin:* Connection:Keep-Alive Content-Length:1245 Content-Type:text/html Date:Tue, 08 Nov 2016 07:44:23 GMT Proxy-Connection:Keep-Alive Server:Microsoft-IIS/7.5 Request Headers view source Accept:application/json, text/plain, / Accept-Encoding:gzip, deflate, sdch Accept-Language:en-US,en;q=0.8 Cache-Control:max-age=0 Host:199.228.105.24:55555 Origin:http://evil.com/ Proxy-Connection:keep-alive User-Agent:Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Posted
Updated 17-Nov-16 1:34am

1 solution

C#
I think this is server side issue if you are using .net as a back end then you need to add the cors library for that or you can install it using console window of visual studio.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900