Featured post
c# - Why is my MVC app throwing a blank page? -
deploying asp.net mvc 2 application iis7 staging server leads blank page, regardless of action called. attempts access controller actions require authentication correctly redirected /account/logon
, page shows blank page on both local machine , remote server.
i have checked site permissions , think assembly issue, no errors show in application log.
how determine cause of error?
i installed asp.net mvc 3 on dev machine, made no changes project , using structuremap di, if makes difference.
you try installing elmah
nuget.
in package manager console, type install-package elmah
. run app.
also, if you're not getting errors, have checked rendered source in browser? master page have commented out in it. not though!
another suggestion empty bin directory after doing clean solution
, rebuild, , try again.
in cases this, helps breaking problem down smallest steps needed replicate problem. in case, remove routes, barring one/s need, empty out master page , view simple 'hello world' , comment out code in action it's not going off database or whatever else.
- Get link
- X
- Other Apps
Comments
Post a Comment