Global.asax and Web Hosting

I have webhosting with WebHost4Life, which has been great. But I can't seem to access the HttpApplication object with the Global.asax, like unhandled Errors. The events don't fire. I figure it is because IIS doesn't have my root folder as an Application, but I've messed with that with no avail. And of course it works on my development box...

Doing a little research online didn't find anything.

Anyone else had this problem with their Global.asax?

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
Print | posted on Sunday, January 18, 2004 7:26 AM

Feedback

# re: Global.asax and Web Hosting

left by Paul Wilson at 1/18/2004 7:59 AM Gravatar
My Global.asax error catching works, as does everything else in Global.asax, with no problem on WebHost4Life. You definitely do need to make sure your subdirectory is an IIS application, but that should be the default for a web-root directory. WebHost4Life does have a control panel applet for creating IIS application settings, so I would check it if you have not. I would also setup your dev box to run your website as a web-root for at least some testing, instead of being a subdirectory, if you have not done so, to see if that makes any difference in your code.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: