asp.net mvc - HTTP Error 403.14 -


i'm developing mvc 5 app using vs 2013, working fine, it's giving following error.

http error 403.14 - forbidden

the web server configured not list contents of directory.

i've read this post, , didn't solve problem.

i've tried followings:

  1. %windir%\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe -ir
  2. setting runallmanagedmodulesforallrequests in system.webserver true.
  3. setting owin:automaticappstartup false.
  4. restarting vs , windows!
  5. publishing app , trying run on iis (i'm using win 8.1).
  6. i'm sure no 1 played permissions.
  7. i've turned on .net extensibility 3.5.
  8. i've copied project on local disk , tried run there.

i developing custom user store , that's why i've tried disable owin configuration (but didn't change in global.asax or web.config during development.)

when run app, second , before error, can see correct title. , can run other apps fine.

i've put break point , following exception first item in intellitrace. can have error?

exception:caught: "access path 'c:\windows\microsoft.net\framework\v4.0.30319\temporary asp.net files\~aspaccesscheck_75bc30d35780.tmp' denied." (system.unauthorizedaccessexception) system.unauthorizedaccessexception caught: "access path 'c:\windows\microsoft.net\framework\v4.0.30319\temporary asp.net files\~aspaccesscheck_75bc30d35780.tmp' denied."

stilly! there refactor bug in vs changes routes well!

my default route changed following , had rename name id , working fine!

routes.maproute(                 name: "default",                 url: "{controller}/{action}/{name}",                 defaults: new { controller = "home", action = "index", id = urlparameter.optional }             ); 

Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -