Posts

Showing posts from March, 2013

Solution Struck Retracting in SharePoint 2010

Image
I have faced the below problem when am trying to retract the solution: Solution is here : You are struck up with retracting the solution,  do the following things  its worked for me : run the below command using PowerShell stsadm -o enumdeployments The above command will listed the solutions which are in In progress and pending status cancel the pending task Remove-SPSolution -Identity YOURSolution.wsp -force The above solution has gone now. But now you will most likely  get an error message when re-deploying your solution: "A feature with the ID has been already installed, use the force  attribute to re-install the solution" Install-SPSolution -Identity YOURSolution.wspp -AllWebApplications  -GACDeployment –force

Validate the People Editor Control using JavaScript

   if (document.getElementById( ' <% = PeopleEditor.ClientID  %> ' ).value == "" ) {                 alert( "Please enter the user name") ;                                  return false ;             }