• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1151
  • Last Modified:

How to reset/restart Application Pool in SharePoint Server?

Dear EE,

I would like to ask on how reset or restart Application Pool in SharePoint Server?

I have googled the solution for this, I found similar solutions in regards to IISAPP.vbs, but that is my problem, that iisapp.vbs, because everytime I run it in cmd line, I receive error saying "IISAPP, is not recognized as an internal or external command, operable program or batch file."
Some site says try to run iisapp /? in the command line, but still same error.

Thanks in advance!
Stiebel Eltron
Stiebel Eltron
  • 2
1 Solution
Dear stiebel,

.vbs is VBScript, and it requires that your computer/server can run such.
The error you get, tells that this is not possible on your server.
I.e. you'll need to ensure that you can run such.
In Windows Server, vbscript is enabled by default, so somebody must have disabled it.
There may have been good reasons for disabling vbscript (e.g. that was used as mitigating measure against the "I Love You" bug/virus years ago).
Check out various resources on the Internet, about how to disable (hence enable) vbscript, e.g.:

Kind regards,
Stiebel EltronAuthor Commented:
How about if I go to the IIS Manager then from there I go to Application Pools, select the site that I want to recycle, is it possible or same? If we say "recycle" is it the same as "reset" or "restart" the service?
Recycling keeps problematic applications running smoothly, especially when it is not feasible to modify the application code. This ensures that those application pools remain healthy, and that system resources can be recovered.
Usually recycling doesn't hurt. In most cases it is useful to recycle periodically because your web apps might have a memory leaks or other conditions that get worse over time. IIS does overlapping recycling, i.e. a new worker process gets spawned while the old worker process is still processing requests in flight.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now