Saturday, June 23, 2018 1:42:43 PM
Avatar
  • 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
Avatar
  • Posted: Friday, December 15, 2017 10:09 AM
  • Moderator
  • 7
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
Avatar
  • Posted: Friday, December 15, 2017 1:29 PM
  • 3
Hi.
I am using IIS 10 and window 10.
how to fix it?
thanks.
0
Avatar
  • Posted: Friday, December 15, 2017 1:31 PM
  • 3
This is image that I trace.
https://i.stack.imgur.com/vJusn.png
0