Saturday, 28 September 2013

"An unknown error occurred" when logging in in Visual Studio 2013 SPA template on IIS8 express

"An unknown error occurred" when logging in in Visual Studio 2013 SPA
template on IIS8 express

I have used the SPA template in VS2013 and try to host it in IIS8 on Win8.
When I try to Log In in the Todo list I get a An unknown error occurred.
When I run the solution in VS2013 (preview v.12.0.20623.01 update) through
the development webserver it runs alright.
But I want to use the real IIS and hence created an application in
IIS8express for the same folder.
When I try to register or log in to the todo list I get the error above.
Running aspnet development on the IIS is no problem, I have done it for
years.
Looking through the code it looks like it has something to do with the
Identity providers, like the code cannot enumerate them when running in
IIS. I just can't get my head around it.

No comments:

Post a Comment