HostOnNet.com Forum Index HostOnNet.com
Private Label Reseller Plan
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HTTP Error 500-12 Application Restarting

 
Post new topic   Reply to topic    HostOnNet.com Forum Index -> Knowledge Base
View previous topic :: View next topic  
Author Message
admin
Site Admin


Joined: 23 Jan 2003
Posts: 256
Location: India

PostPosted: Sat Mar 06, 2004 5:51 am    Post subject: HTTP Error 500-12 Application Restarting Reply with quote

This happens at times when using a global.asa in ASP application. But it happens randomly.

For more info see:

http://support.microsoft.com/default.aspx?scid=kb;en-us;248013&Product=iis50
http://support.microsoft.com/default.aspx?scid=kb;EN-US;248013

Quote:

"When you save changes to the Global.asa file, the server finishes processing all of the current application requests before it recompiles the Global.asa file. During that time, the server refuses additional requests and returns an error message stating that the request cannot be processed while the Web site is restarting. "

And yes, these problems were happening right after I made a change to the script in global.asa. The ASP engine recognizes this. The 'old' global.asa is used until all other sessions are abandoned, and the app ends. Since the file has been changed, global.asa is re-compiled on the next time the applicaiton starts. This can cause the 500-12 HTTP error.

I am using a session variable to hold the connection string in my app. The argument of using session variables at all is out of the scope of this post. But I don't think they should be avoided, especially when you know your IIS administrator by first name.

Session variables are powerful, and they work great on dedicated servers (not shared server) and with intranet apps that see a limited amount of concurrent users (under 50).
_________________
HostOnNet.com - Reseller Hosting
Free Ads Forum, Promote your site
NetFreeHost.com - Free Web Hosting, phpBB Hosting
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    HostOnNet.com Forum Index -> Knowledge Base All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!