Click here to Skip to main content
15,891,864 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
I've been working on Visual Studio 2013 on an ASP.NET 4.5 application that is mostly done in Ember.js and uses C#.NET for an API.

When I run it normally (http://localhost:60589/) on Visual Studio 2013 everything works smoothly, but now I'm trying to use IIS (running it on http://localhost which uses the default port 80 of IIS) but even though the app runs (It shows the start page) when I try to login (POST to /api/Logins (this api is not a folder or anything it's just the .NET default when creating an API)) I get:

404 Not Found

What is happening is the request sent from the frontend can't find it's target (api/Logins) on the backend, so everything from the frontend is fine but I probably have to set something for the backend to work.

Any idea why this happens and how to solve it? I think it probably has something to do with Ember routing but I'm not sure.

PS: I've never done anything of this kind or even worked with IIS so sorry if it's a stupid question. If you need any other information just leave a comment I'll add it to the question.
Posted

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



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