asp.net - Blank pages from logged in views -


i have mvc application displays login page , reset password page fine, , when fill in reset password form, email gets correctly sent me. know database connection fine , web.config being read correctly.

however, when log in application, blank page back. once have logged in, login & logout pages subsequently return blank. can open incognito tab , login & logout pages again, seems issue cookie/authentication - i.e. once logged in, it's sending cookie, somewhere in pipeline failing when validating(?) cookie.

i should add website works fine on laptop when publish host, has behavior.

i wanted make sure correct route/controller being used, created simple "test" controller & view. if navigate url http://www.example.com/test error:

http error 500.19 - internal server error requested page cannot accessed because related configuration data page invalid. 

however, works correctly on localhost - i.e. when published have error. on localhost see correct view contents. i'm not sure if related?

strangely physical path it's looking "test" config file in:

config file    \\?\d:\websites\example.com\httpdocs\test\web.config 

i.e. it's looking in test folder, although test route view/controller.

i can't work out what's gone wrong (previously working) website?


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -