You can "bounce" IIS by saving the web.config file, too.
I'm not sure I follow what's going on, though. You should be able to add new pages when you want to, and the next time they're requested, if they haven't already been pre-compiled to a dll, they'll be compiled at that point, and the first request to that page will be slower than it feels like it should be. And then after that, it'll be served by the dll.
It sounds like compilation wasn't your problem, so much as IIS knowing where to route the error? I thought any changes to IIS settings were supposed to take place "on the fly?"
Quote:
Originally Posted by ADAM Web Design
Weird...I never knew that either. Then again, I don't mess with 404s using ASP.net. Classic ASP, like Hirst said, just works.
|
It can be terribly annoying at times. Your pages are typically served up from a dll under a folder like "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files\web\3af14531\28517a98" ... and occasionally you can get into file locking issues. That's rare, but a pain when it comes up.
Last edited by ForrestCroce; 09-03-2007 at 09:53 PM..
|