Last post Jan 11, 2016 05:36 PM by PatriceSc
Jan 11, 2016 05:17 PM|David Knechtges|LINK
I have a hub and client project that work great inside of Visual Studio. Both also work great even on different machines communicating with each other.
However, I need to take the hub project and deploy it in IIS. When I do a publish from Visual Studio and put it on either a Server 2008 r2 or Server 2012 machine, I then get 404 errors with it.
I disabled the firewalls on the server machines, and am certain I am using the right IP address and port. The projects that work great use something like http:<ipaddress>:<port>/signalr to connect to the hub. In IIS Express from visual studio, it is set
I know I am doing something wrong, but Google has not been my friend so far through several hours of searching.
Are there any examples of what I need to do to make this end up working?
Jan 11, 2016 05:36 PM|PatriceSc|LINK
And so you have a 404 when which web address is required? Could it be for example something such as coding the app as /subfolder/signal/hubs and deploying at /signalr/hubs or the other way round?
IMO it's best to always try to understand as fully as possible what happens before even trying to solve the issue. For example for a 404 error just see what is the exact address you are trying to reach to see if it matches (in the IIS log for example). You
can also use F12 in your browser.