.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Post New Web Links

Removing a Web Application Pool

Posted By:      Posted Date: October 25, 2010    Points: 0   Category :SharePoint
 
I had some web applications that each had their own application pools.  After some reading and searching, I decided to change all of the web applications to use only one application pool.  I accomplished this using the script found here: http://share-point.blogspot.com/2010/01/mosswssv3-change-application-pool-of.html .  The problem I'm having is that, after deleting the old application pools from IIS, the application pools are still showing up under the managed service accounts credential management list.  Therefore I can't delete the managed accounts I had setup for these application pools.  I've found powershell commands to remove service application pools, but I haven't been able to find anything on removing the web application pools from SharePoint's configuration.  Any thoughts?


View Complete Post


More Related Resource Links

How to Keep conntion pool and application pool for certain time?

  

In my current system MOSS and windows 2003, I do not know where to see connection pool live time ? and Application pool live time?

How to keep live these for certain number of hours? Where can I change? Is it possible to keep minimum number of connection pool live always?

 

Thanks for help in advance.


ItsMeSri

BuildManager.GetType returns null until application pool recycles

  
Our application uses the Enterprise Library's PropertyProxyValidator class to validate user input (v4.1 - Oct 2008).  On occassion, the code will raise an exception saying the source type cannot be found.  This error persists until the application pools recycle at night, at which point everything works again.  It tends to only affect one of the web front ends at a time (there are two). I tracked down where the exception was being raised, and this is the section of code:Type IValidationIntegrationProxy.ValidatedType { get { if (string.IsNullOrEmpty(this.sourceTypeName)) { throw new InvalidOperationException(Resources.ExceptionNullSourceTypeName); } Type validatedType = BuildManager.GetType(this.SourceTypeName, false, false); if (validatedType == null) { throw new InvalidOperationException( string.Format(CultureInfo.CurrentUICulture, Resources.ExceptionInvalidSourceTypeName, this.sourceTypeName)); } return validatedType; } } (As you can see, the value for this.SourceTypeName is shown in the exception and I've checked that it matches exactly.) We have never been able to reproduce this exception and at this point don't have any ideas left as far as causes.  For a while, my suspicion was that it was related to the Temporary ASP.NET Files folder.  The last

How do use an existing application pool when creating a new web application on Moss-2007 SP2

  
I have been asked to try and reduce how much memory is being used on our Moss 2007 SP2 farm by reusing existing web application pools. My problem is that when you go through creating a new webapplication and choose the option labled "Use existing application pool" under the section labled "Application Pool - Choose the application pool to use for the new web application" I can only select from a list of three application pools "(Default App Pool (network services), Shared Services, and OfficeServerApplicationPool (NetworkService)" The drop down list does not mention any of the other app pools I have created for previous web applications. My question is this, how do I pick an existing web application pool that I have created previously, rather than keep on creating new application pools for every new web application I create? The farm consists of 3 FE servers 1 search, 1 Query and a Clustered 64bit SQL backend running SQL 2005 all running 64bit W2003 server R2 Thanks for any help you can provide on this. Mr T.    MR T

PowerPivot - New Application Pool vs. Existing Application Pool

  
When creating a PowerPivot Service Application I am giving two options: "Use existing application pool" or "Create new application pool" and if I join an existing pool which one should it be "SharePoint Web Services Default" or "SharePoint Web Services System"? Now I understand isolation and other technical reasons but what I want to understand is what you guys in the field that run SharePoint Farm would want me to configure and if that does not cause me any scale or performance issue we are good.  If I want to run outside most SharePoint standards I better have a good reason. One note I just missed was: "While this may be a good security best practice, you may still want to use an application pool and/or managed account that is tied to your SharePoint Farm account. As will be noted in Chapter 9, for the PowerPivot data refresh feature to work, the PowerPivot Service Application and PowerPivot System Service requires Farm account rights to access the Secure Store Service database." -- PowerPivot for Excel and SharePoint, page 217 So folks what you would suggest or better yet, how would you like it configured within your farm. Thanks. Denver, CO

Enabling Windows Authentication to SQL Server using Application Pool Credentials

  
I have created a WCF Service (VS2008), an application pool account which has the access to the SQL Server(in remote machine). Configured the App Pool account to the Virtual Directory in IIS (Version 6.0). Once I browse through the SVC file, I can see the WSDL file. I have the "Windows Authentication" and the 'Anonymous authentication" Checked in the Properties for the Virtual Directory. But when I access service through Client, I get "The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'.". Binding that is being used is HTTPBinding. I have set the Identity Impersonate to True as well. Bottom line is - I need to use the App Pool account to connect to the SQL Server. Could some one please help me in this?  

Custom UsernamePasswordValidator causes IIS Application Pool to hang.

  
I have a WCF service hosted in IIS (IIS 7 with .NET 3.5 SP1) that uses a custom UsernamePasswordValidator to validate message credentials against a database. The problem is that it works for a while, but over a period of time IIS stops responding to all client requests until the application pool is recycled. The IIS worker process has some requests that get stuck in the "AuthenticateRequest" pipeline state of the "ServiceModel" module. In my testing, I can consistantly reproduce the problem by forcing a client to create a new service proxy with a different username and password and calling the WCF service every few seconds. To troubleshoot I created a new project and removed all of the authentication code in the Validate function so that the UsernamePasswordValidator will accept any username and password combination without throwing an exception, but IIS still hangs: namespace WcfTestService { public class CustomValidator : UserNamePasswordValidator { public override void Validate(string userName, string password){//code removed for testing} } } If I remove the ServiceCredentials node from the Service Behavior, IIS doesn't hang anymore, but there is no user validation that takes place either, which is a problem. Here is the service binding configuration: <services> <service name=&

IIS Application Pool Recyle

  
Currently I have Sharepoint 2010 installed and it's taking about 30 seconds or so to open it up initially in the morning.  I'm assuming it's application pools are being recycled sometime during the night time.  What will be the easiest way to configure the server, so that I can minimize the slowness in the morning? Thanks,

Cache settings on shared application pool

  
I have several web applications on a server using the same application pool. The worker process usually takes a lot of ram but usually only from one application. I can successfully limit the cache usage by setting "PrivateBytesLimit" in web.config file when the application uses it own dedicated application pool. Does anyone know how this setting will be applied when using shared application pool? Is it per application, per worker process or per application pool? Also if it is not per application which setting from which application will be applied?

Application pool shutdown sometimes

  

I don't know if this is the right place to post, anyway:

Once in a while the application pool of my website has stopped. After taking a look into the Windows logs, In can see in the System log the following: first I see 5 warnings, and then an error. The warning is:
"A process serving application pool 'domain.com' suffered a fatal communication error with the Windows Process Activation Service. The process id was '1568'. The data field contains the error number."

The process id is different for all 5 warnings. Then the error message is:
Application pool 'domain.com' is being automatically disabled due to a series of failures in the process(es) serving that application pool.

 

The warning:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
 <System>
  <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" EventSourceName="WAS" />
  <EventID Qualifiers="32768">5011</EventID>
  <Version>0</Version>
  <Level>3</Level>
  <Task>0</Task>
  <Opcode>0</Op

Application pool WSS 3.0 unresponsive sometimes

  

Hi all,

I have a problem with our WSS 3.0. Sometimes the sharepoint is not reachable because the application is unresponsive for some reason. I have to recycle the application pool via IIS. After doing that the sharepoint is online again.

I did analyse the eventvwr from the server.

Following message appears:

Faulting application w3wp.exe, version 7.0.6002.18005, time stamp 0x49e023cf, faulting module onetutil.dll, version 12.0.6421.1000, time stamp 0x4994a0c8, exception code 0xc0000005, fault offset 0x00097f79, process id 0x65c, application start time 0x01cb5dea875e6f12.

Sharepoint environment is hosted on a windows server 2008 with service pack 2 (x32) and .NET Framework 3.5 SP 1.

Does someone knows a solution for this problem?

Thanks in advance

Kind regards

Sebastian


Site Collection vs Application Pool

  

As someone new to SP admin I am having trouble understanding the difference between "site collections"and "application pools."

Can anyone give some guidance in plain English rather than MS speak?


Error occurred in deployment step 'Recycle IIS Application Pool': Provider load failure

  

Hello,

I am using Visual Studio 2010 to create page layouts and preview images(http://blog.beckybertram.com/Lists/Posts/Post.aspx?ID=71). I was successful in creating page layouts but the image was not coming properly.

So I decided to change the path of image and deploy the project (Empty SharePoint project). But this time, I am getting an error
Error occurred in deployment step 'Recycle IIS Application Pool': Provider load failure
I am sure there is no relation between changing image path in elements.xml and this error.

I also browsed through and found some related issues, but they are not specific to VS 2010 or SharePoint 2010. And I am apprehensive of implementing them.
http://msdn.microsoft.com/en-us/library/bb961987(VS.90).aspx

1. The logged in user is site collection admin and local admin
2. Windows Management Instrumentation service is running
3. App pool's identity is configured to the local admin & password has not changed.

Thanks in advance

_____________________________
Vighnesh Bendre
http://markviky.blogspot.com

 


Stop Application Pool does not trigger PersistenceIOParticipant.BeginOnSave

  

Hi All,

When i stop the IIS application pool, the persistence will not trigger PersistenceIOParticipant.BeginOnSave to save the customize data into database, however it does save the persistence record into [System.Activities.DurableInstancing].[InstancesTable].

Kindly advise!

 

 


single sign on IIS 7 multiple application pool

  

We migrated our web server to window server 2008, IIS 7.

We have single sign on application - that we login through one application called "users" and then no need to login to other applications, they all use the same machine key and cookie.

it works fine when all then applications under the same application pool.

but we have one application that is asp.net 2005.  (the rest are asp.net 2003)

 the user application is in asp.net 2003 and that  other application is in asp.net 2005.

so each application is in a different application pool. -

one pool to asp.net 1.1 and other pool to asp.net 2.

when I run the asp.net 2005 application

I get the login page and after I  login  I get the following errer:

HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested Url: /users/Unauthorised.aspx

 

Important: If I switch the "user" application (the login) to work under the same pool as my asp.net 2005 application, then it works fine with the asp.net 2005 application,but I get the above error for the asp.net 2003 applications

All this happened after we swi

How to change the service application's application pool

  

Hi all,

I have a small 2010 farm (DB server/app server/WFE) implemented on vmware virtualization and I'm having CPU performance issues in the App server (quad core, 8 GB used by 50 people...). While I was creating the service applications I gave each a separate application pool since that seemed the best practice to follow, but now have more than 10 w3wp processes consuming cpu and memory. After some research I found that for performance purposes one should minimize the number of app pools, so now I want to change them and remove a few.

Any ideias how one can do it? Is there a method? It's not something one can use the UI directly to do....

 

Thanks in advance


Application pool WSS 3.0 unresponsive from time to time - ONETUTIL problem?

  

Hi,

One of our application stops responding sometimes. After recycle of app pool all works again. There are no waring/errors information in eventviewer, app pool consuming around 150MB and there are a lot of free resources on server however during last "hang on" I ran Debug Diagnostic tool on PID responsible for this app pool here is what I got:

 

Detected possible blocking or leaked critical section at ONETUTIL!Vifstream::Cin+84 owned by thread 10 in w3wp.exe__APP_NEW__PID__1104__Date__10_23_2010__Time_03_42_14PM__522__Manual Dump.dmp

Impact of this lock

5.88% of threads blocked

(Threads 30 31

Sharepoint 2010 Application Pool Stops after opening Central Administration

  

Hi all,

after installing Sharepoint 2010 Standard in Farm mode, application pool on FE stop working after opening the Central Administration.

Browser say :

Service Unavailable


HTTP Error 503. The service is unavailable.

 

 

Eventvwr say:

Log Name:      System
Source:        Microsoft-Windows-WAS
Date:          26/10/2010 11:00:16
Event ID:      5059
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xxxxx

Description:
Application pool SecurityTokenServiceApplicationPool has been disabled. Windows Process Activation Service (WAS) encountered a failure when it started a worker process to serve the application pool.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-WAS" Guid="{524B5D04-133C-4A62-8362-64E8EDB9CE40}" Event

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend