I have a website that has been working fine for several months. This morning I started getting 503 Service Unavailable errors. After checking IIS, I noticed that the application pool is stopped. Since I had problems with this before, I suspected that the WebRequest problem was a problem. So I commented on part of the WebRequest site and guessed that the application pool is no longer shutting down. I suspect there was another security update, and I cannot figure out what else needs to be done to get WebRequest to work again.
Things I've already tried:
1) aspnet_regiis -u then -i
2) reinstalling .net framework
Additional info: I am using NetworkService account for asp.net v4.0 application pool with Windows Authentication
Error from event log: "HipIISEngineStub.dll failed to load. Data is an error.
var request = (HttpWebRequest)WebRequest.Create(path1); request.Credentials = CredentialCache.DefaultCredentials; request.PreAuthenticate = true; var getResponse = new Func<WebRequest, WebResponse>(req => req.GetResponse()); try { return getResponse(request).GetResponseStream(); }
cvanniekerk
source share