Issue about HttpContext.Session

Monday, November 25, 2024 1:20:46 PM
  • Posted: Thursday, December 14, 2017 4:04 PM
  • 3
Hi all.
I have one problem with HttpContext.Session.
I am using version 4.1
describe:
- I run site from visual studio => everything is ok.
- but I publish site as debug mode, and host it on IIS.
- and I run that site => I can't use HttpContext
- error message : 'this.HttpContext.Session' threw an exception of type 'System.IO.FileNotFoundException

can anyone help? thanks.
0
  • Posted: Friday, December 15, 2017 10:09 AM
  • Team
  • 152
Hi,
It looks like is IIS problem, maybe something miss during installation features of server.
Which version of IIS (and Windows) are you use?
Regards
Krzysztof
0
  • Posted: Friday, December 15, 2017 1:29 PM
  • 3
Hi.
I am using IIS 10 and window 10.
how to fix it?
thanks.
0
  • Posted: Friday, December 15, 2017 1:31 PM
  • 3
This is image that I trace.
https://i.stack.imgur.com/vJusn.png
0
back to top
Filters