jwetzel1492
jwetzel1492

Reputation: 33

Is it possible to deploy a SharePoint WSP without causing an IIS Reset?

I'm working in SharePoint 2010 and have been unable to deploy (or retract) my WSP without causing an IISReset. Here's my situation:

•The solution contains:

•Fields •One content type •A page layout based on the content type •A bunch of images that go into the style library

•There is ZERO code in the solution

•I've manually edited the manifest.xml

•Removed the assembly, so nothing would get deployed to the GAC •Set ResetWebServer="False" in the Solution tag

Still, every retract or deploy takes down ALL web applications on the server. Is there any way even to restrict it just to one web app? Thanks!

edit: additional info - I'm packaging up the WSP and deploying with powershell commands, but I get the same behavior even if I deploy through Central Admin.

Upvotes: 2

Views: 3307

Answers (1)

Marcela Chitiva
Marcela Chitiva

Reputation: 41

try this in SP Admin console (with credential admin):

stsadm -o addsolution -filename "C:\yourwsp.wsp"

stsadm -o deploysolution -name yourwsp.wsp -url http://yourspsite -allowgacdeployment –immediate

stsadm -o execadmsvcjobs

Upvotes: 0

Related Questions