Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

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.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -