Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I just installed SP 2013 in a test environment. I created an app pool to be used by the service applications using the Powershell command below:

New_SPServiceApplicationPool -Name "Default SharePoint Service App Pool" -Account domain\service account

If I run the command Get-SPServiceApplicationPool the app pool appears in the list. enter image description here

However, if I open IIS Manager the app pool has a GUID for a name

enter image description here

This is not a critical issue and everything seems to be functioning correctly. I was just wondering if anyone knows why this happened so I can avoid it in future installations.

share|improve this question
    
This is unfortunately OOTB behavior for the Service application pools in SharePoint. They have correct names in PowerShell and central admin but guids in IIS –  Robert Lindgren Jul 22 at 13:28

2 Answers 2

Service application pools appear in IIS as long random strings of characters. The name you give it in SharePoint is not reflected in IIS Manager.

An IIS Application Pool can have but one unique identifier, it’s Name, for which uniqueness is enforced. It works perfectly. However SharePoint has decided to use GUIDs for this Name. Within Central Administration the Application Pools are displayed using a SharePoint only property – Name, which is actually a Display Name (e.g. SharePoint Web Services Default).

Moreover, the GUIDs used are unique. These aren't “well known GUIDs” like class ids. They will be different on every installation. It would appear the GUID love from SQL server has found it’s way into IIS thru the back door.

http://www.harbar.net/archive/2009/12/04/more-on-sharepoint-2010-application-pools.aspx

share|improve this answer

There IS a way to get rid of those GUID names for the application pools, and it works, too, although this is a hacky way of doing it; I don't know if anyone else does this, and you certainly do it at your own risk.

Most of the time, these GUID names are created by Sharepoint's managed services. If you look in IIS, you will see under "Sites" a site called "Sharepoint Web Services". These Web Applications all have GUIDs, too.

First thing is to figure out what service they are used by:

How to Know What GUID Goes To What

In IIS, go through the "Sites" and find one that has a GUID name. Most of them will be in the "Sharepoint Web Services" site (which should be running, by the way). Select the Web Application and choose "Advanced". You will see something like this:

enter image description here

Three things of note here:

  1. Application Pool: you see the GUID of the app pool this Web Application is using.
  2. Physical Path: If you look at the tail end of the physical path, you can see what service the Application is really using. In the screenshot above, you see it is "SearchService", and it is, indeed, one of those managed Sharepoint Web Services.
  3. Virtual Path: This is the GUID name for this Web Application (the site itself).

How to Change the Application Pool

  1. Okay, now create a new application pool to be used by your Search Service, and assign it the proper login account (something like spsearch or whatever you call yours).
  2. In "Application Pools", select the GUID for the Search Service (which you now know) and click on "View Applications".
  3. Here you will see a list of Web Applications that are using that particular app pool (there may be more than one). Locate the GUID for the Web Application under "Virtual Path" and select it.
  4. Look over in the right panel under "Actions" and choose "Change Application Pool".
  5. Now choose the Application Pool that you created (with a nice name) from the dropdown box.

If the login account has proper credentials, it should begin working immediately.

However, if you create a new web application in SCA, it will create another GUID-named application pool. That's how it works, but you can always change it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.