asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -


i have simple page in intranet uses razor/asp fetch single record table , display it, plus few graphic, dashboard display. meaning, no user intervention other first time open ie internal url.

the problem having every morning ie displays "page not found or network error" message. refresh page, , it's stuck , doesn't display anything. try different pc, open ie internal url , it's stuck...

...until following:

  • login server hosting page
  • run inetmgr go web sites, etc
  • right click on page that's giving me problem , select browse

at moment, error message:

server error in '/' application. -------------------------------------------------------------------------------- type of page not served.  description: type of page have requested not served because has been explicitly forbidden.  extension '.cshtml' may incorrect.   please review url below , make sure spelled correctly.   requested url: /application/dashboard.cshtml  -------------------------------------------------------------------------------- version information: microsoft .net framework version:4.0.30319; asp.net version:4.0.30319.1  

and in windows application log:

event code: 3005  event message: unhandled exception has occurred.  event time: 5/8/2013 8:05:11  event time (utc): 5/8/2013 12:05:11 pm  event id: 5a7c440506344f5583776e1e1ceb0679  event sequence: 4  event occurrence: 1  event detail code: 0   application information:      application domain: /lm/w3svc/2103969953/root-2-130124883110906632      trust level: full      application virtual path: /      application path: c:\inetpub\wwwroot\cctelecomadmin\      machine name: icsrec1   process information:      process id: 23760      process name: w3wp.exe      account name: nt authority\network service   exception information:      exception type: httpexception      exception message: path '/application/dashboard.cshtml' forbidden.    @ system.web.httpforbiddenhandler.processrequest(httpcontext context)    @ system.web.httpapplication.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute()    @ system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously)    request information:      request url: http://localhost:8888/application/dashboard.cshtml      request path: /application/dashboard.cshtml      user host address: 127.0.0.1      user:       authenticated: false      authentication type:       thread account name: nt authority\network service   thread information:      thread id: 2599      thread account name: nt authority\network service      impersonating: false      stack trace:    @ system.web.httpforbiddenhandler.processrequest(httpcontext context)    @ system.web.httpapplication.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute()    @ system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously)   custom event details:   more information, see , support center @ http://go.microsoft.com/fwlink/events.asp. 

the funny thing split second after error on server, 2 pages have been trying open url "un-stuck" , display page without issues rest of day, regardless if keep page open time (which auto-refreshes every 3 minutes) or if open new ies. next morning, same story again.

you can't navigate /application/dashboard.cshtml. if have action dashboard in homecontroller url needs home/dashboard/ and, assuming action returns view without specifying name, default return view same name action.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

c++ - wxwidget compiling on windows command prompt -