Solved

IIS APP Pool Change

Posted on 2013-12-21
5
483 Views
Last Modified: 2013-12-27
Hi All,

This is unexplainable to me but if I have IIS 7.5 and I have some web sites defined in it. The web sites work fine most of the time. I have the same setup in two different machines. A TEST and a USE (TEST and PROD essentially). However, something really weird happens on both these machines - it mysteriously changed the app pool to something I never defined it for.

Then on the TEST machine I have the APP POOL set to an identity of a unique account one as the Local System did not work.  (That didn't make sense.)

Now, on the USE machine I came to find out that the APP POOL changed there too. However, I could not create the identity to the unique account. That did not work. I had to change it to Local System and then it worked.

The APP POOL on both mysteriously changed from the original app pool to ASP.NET 4.0 Classic.

Does anybody have any idea or know why the APP POOL would change from the original to the ASP.NET 4.0 Classic? And does anybody have any idea why the identities would need to differ? (i.e. the TEST is the opposite of PROD (and they can't alternate))?

I'm stumped on this one and hope that somebody has as answer.

Thanks
0
Comment
Question by:davism
  • 2
  • 2
5 Comments
 
LVL 51

Accepted Solution

by:
Ted Bouskill earned 250 total points
ID: 39735168
Well assuming no one else has changed it, then the only time I've seen it change is when you use a tool like Visual Studio to publish to the web site.
0
 
LVL 27

Assisted Solution

by:Chinmay Patel
Chinmay Patel earned 50 total points
ID: 39735527
I don't know how app pool will change automatically but I will never recommend using Local System account as a service account for an IIS app pool due to security concerns.
0
 
LVL 1

Author Comment

by:davism
ID: 39735998
tedbilly, it is being deployed with TFS and publish. I will look at more details of that build.

Chinmay_Patel, but if that is the only one that works it is the only one that works. Why the difference is beyond me - in relation to why the TEST environment has one thing that works and the USE environment has another (albeit local system). Any ideas on that aspect?
0
 
LVL 51

Expert Comment

by:Ted Bouskill
ID: 39738846
Without more detail about what your code is doing I can't say why the application pool is making a difference.  Remember, the account the code is running as affects the permissions of the code, so without knowing what the code is doing I can't determine why it's failing.
0
 
LVL 1

Author Closing Comment

by:davism
ID: 39742098
It's actually not the code as we determined. It's the nature of the app pool.

Thanks for the information guys! It are reaching out to our  networking folks to see if the cloning of the VM had any impact.

Thanks!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
No Data for DropDown List 2 28
SSL Certificate for IIS7 Site 2 57
VB.NET Textbox input validation 4 37
Please explain purpose of GZIP 4 34
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question