I am trying to deploy an app that works fine in cassini to our iis7 for further development. I have thus far been entirely unsuccessful. My project has both some web api controllers and a regular wcf service in it. If I access the wcf service (via http://server/folder/mywcf.svc)
I get the metadata landing page just fine.
If I attempt to use a web api controller (via http://server/folder/products) on a remote machine, I get an error 500 from IIS in ManagedPipelineHandler in ExecuteRequestHandler System.Web.Http.WebHost.HttpControllerHandler. If, however, I try the exact
same request on the server itself (using localhost), IE starts trying to download a file (it looks like) and then give me a 404 error.
I'm at a total loss how to resolve this. Any ideas?
hanfeitzu
0 Points
2 Posts
How to deploy to iis7?
Feb 29, 2012 09:48 PM|LINK
I am trying to deploy an app that works fine in cassini to our iis7 for further development. I have thus far been entirely unsuccessful. My project has both some web api controllers and a regular wcf service in it. If I access the wcf service (via http://server/folder/mywcf.svc) I get the metadata landing page just fine.
If I attempt to use a web api controller (via http://server/folder/products) on a remote machine, I get an error 500 from IIS in ManagedPipelineHandler in ExecuteRequestHandler System.Web.Http.WebHost.HttpControllerHandler. If, however, I try the exact same request on the server itself (using localhost), IE starts trying to download a file (it looks like) and then give me a 404 error.
I'm at a total loss how to resolve this. Any ideas?
dinesh kumar...
Participant
986 Points
247 Posts
Re: How to deploy to iis7?
Mar 01, 2012 04:41 AM|LINK
http://forums.asp.net/t/1772776.aspx/1?Publish+a+web+application
Jai Jagannath