IIS returning plain Forbidden response. No HTTP code
Posted
by
Alex Pineda
on Server Fault
See other posts from Server Fault
or by Alex Pineda
Published on 2013-10-18T15:49:28Z
Indexed on
2013/10/18
15:56 UTC
Read the original article
Hit count: 201
windows-server-2008
|iis7
I'm running a ServiceStack application on IIS. My regular services work fine and have not had any problems with permissions.
My new project involves providing generated pdfs. I gave IIS_IUSRS read/write permissions to the Temp directory under my app directory. I also allow non SSL connections to this directory. When I browse to the file which ServiceStack is supposed to automatically serve up (eg. http://ryu.com/Temp/201310171723337631.pdf ) I get this:
Forbidden
Request.HttpMethod: GET
Request.PathInfo:
Request.QueryString:
Request.RawUrl: /ryu/Temp/201310171723337631.pdf
App.IsIntegratedPipeline: True
App.WebHostPhysicalPath: C:\inetpub\ryu
App.WebHostRootFileNames: [global.asax,global.asax.cs,web.config,bin,temp]
Now this doesn't look like a ServiceStack error message, more like IIS, but I'm not certain as to how to get to the bottom of this. Authorization settings are Allow All.
© Server Fault or respective owner