2

when i running mvc app on iis7.5 win 7 it cause an exception "Request is not available in this context" which this don't cause when running by vs2008. can anyone help me?

2
  • By any chance, do you access the request object in your global.asax?
    – Paddy
    Jan 13, 2010 at 12:05
  • i use Request object for a class that inherit from FilterAttribute
    – Sadegh
    Jan 13, 2010 at 13:45

1 Answer 1

2

I think the answers and notes in my question regarding use of the request object in the global.asax file may be helpful. Are you developing on a system that doesn't use IIS7 by any chance?

Global ASAX - get the server name

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.