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



Home >> Interview Question >> SharePoint >> Post New Question Subscribe to Interview Questions

How to cancel a stsadm deployment ?

Posted By :volvo     Posted Date :December 21, 2013    Points :40   Category :SharePoint 
You can cancel the deployment using stsadm command
"stsadm -o cancaldeployment -id {GUID} command or can either try to force execute timer jobs using execadmsvcjobs command".

The Id here would be GUID of the timer or deployment job.

You can get the Id from stsadm enumdeployment command also.

This will display all the deployments which are inprocess or are stuck with Error.

You can also find related Interview Question to How to cancel a stsadm deployment ?  below: 

. How will you cancel a deployment from central admin -> solution managment, if its stuck at "deploying" or "Error".

  
Ans. You can either try to force execute timer jobs using execadmsvcjobs command or can cancel the dpeloyment using stsadm command stsadm -o cancaldeployment -id {GUID} command. The Id here would be GUID of the timer or deployment job. You can get the Id from stsadm enumdeployment command. This will display all the deployments which are process or are stuck with Error. (More...)

How will you cancel a deployment if its stuck at "deploying" or "Error".

  
You can either try to force execute timer jobs using execadmsvcjobs command or can cancel the dpeloyment using stsadm command stsadm -o cancaldeployment -id {GUID} command. The Id here would be GUID of the timer or deployment job. You can get the Id from stsadm enumdeployment command. This will display all the deployments which are process or are stuck with Error. (More...)

How can we cancel a transaction?

  
Using ROLLBACK TRANSACTION; (More...)

What deployment mechanism can you use to instigate Code Access Security attributes for your WebParts?

  
SharePoint solution files can add in order to handle code access security deployment issues. This is done in the element in the SharePoint solution manifest.XML, which makes it easier to get assemblies the appropriate permissions in order to operate in the bin directory of the web application.
(More...)

how deploy sharepoint solution(WSP)using STSADM Utility?

  
stsadm.exe -o retractsolution -name yourtemplate.wsp -immediate
2. stsadm.exe -o execadmsvcjobs
3. stsadm.exe -o addsolution -filename yourtemplate.wsp
4. stsadm.exe -o deploysolution -name yourtemplate.wsp -allowgacdeployment -immediate -force
5. stsadm.exe -o execadmsvcjobs
(More...)

What could be the solution of one click deployment in windows forms?

  
ClickOnce deployment tool is the solution of one click deployment in windows forms Application (More...)

What is Content Deployment?

  

Content deployment enables you to copy content from a source site collection to a destination site collection. (More...)


What deployment mechanism can you use to instigate Code Access Security attributes for your WebParts?

  

SharePoint solution files can add in order to handle code access security deployment issues. This is done in the element in the SharePoint solution manifest.XML, which makes it easier to get assemblies the appropriate permissions in order to operate in the bin directory of the web application.

(More...)

Q. What is the advantage in using Windows PowerShell over stsadm in SharePoint 2010 ?

  


Ans. Unlike stsadm, which accept and return text, Windows PowerShell is built on the Microsoft .NET Framework and accepts and returns .NET Framework objects.Windows PowerShell also gives you access to the file system on the computer and enables you to access other data stores, such as the registry and the digital signature certificate stores etc..

(More...)

What is the STSADM command to backup and restore the sharepoint site

  
The STSADM commands to take backup and restore the sharepoint site are given as below:

Backup command:
stsadm -o backup -url http://sp-moss:9999/ -filename c:\backupsite.bak

Restore Command:
stsadm -o restore -url http://sp-moss:9999/ -filename c:\backupsite.bak (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


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