martes, 21 de enero de 2014

Error: A deployment or retraction is Already under way for the solution 'solution.wsp', and only one deployment or retraction at a time is supported.

Sharepoint sometimes surprises us with some unexpected errors

Now try to solve one that says: A deployment or retraction is Already under way for the solution 'solution.wsp', and only one deployment or retraction at a time is supported.

The message is correct and explains the limitation that has sharepoint. This happens when you want to deploy a package, while another is being deployed at the time.

Before deleting the job run, analyzing whether to delete it, because the the deployment may be valid

Please try to run the following commands:

  1. Look for the deploy jobId to break the running by the following command: stsadm -o enumdeployments 
  2. Cancel the deploy typing the following command. stsadm -o canceldeployment -id "jobId" 
  3. Check that has been canceled deploy by typing the following command: stsadm -o enumdeployments 


And ready to deploy again and it should (remember is sharepoint) run

Error "Admin SVC must be running in order to create deployment timer job"

When running Update-SPSolution you can sometimes get the error:
Admin SVC must be running in order to create deployment timer job
upgradeError
There’s a very simple solution to this. Ensure that the SharePoint 2010 Administration service is started.
adminService

sábado, 4 de enero de 2014

First Post

As a first post I do wish to share with you a paragraph of text (The Mythical Man-Month ) expressing how I feel about software development :

"Why is programming fun? May What delights its practitioner
expect as his reward ?
First is the sheer joy of making things . As the child delights
in his mud pie , so the adult enjoys building things , Especially
things of his own design . I think this delight must be an image of
God 's delight in making things , a delight shown in the distinctness
and newness of each leaf and each snowflake .
Second is the pleasure of making things That are useful to
other people. Deep Within, we want others to use our work and
to find it helpful. In this respect the programming system is not
Essentially different from the child 's first clay pencil holder " for
Daddy's office . "
Third is the fascination of fashioning complex puzzle -like
objects of interlocking moving parts and watching them work in
subtle cycles , playing out the Consequences of principles built in
from the beginning . The programmed computer has all the fascination
of the pinball machine or the jukebox mechanism , Carried
to the ultimate.
Fourth is the joy of always learning , que springs from the
nonrepeating nature of the task . In one way or another the problem
is ever new, and its solver learns something : sometimes practical ,
sometimes theoretical , and sometimes both.
Finally , there is the delight of working in Such a tractable
medium . The programmer , like the poet , works only slightly removed
from Pure thought -stuff . I've builds his castles in the air ,
from air , creating by exertion of the imagination . Few media of
Flexible creation are so, so easy to polish and rework , so Readily
Realizing capable of grand conceptual structures . (As we Shall see
later , This very tractability has its own problems. )
Yet the program construct , Unlike the poet 's words , is real in
the sense That it moves and works , producing visible outputs separate
from the construct itself . It prints results , draws pictures,
produces sounds , moves arms . The magic of myth and legend has
come true in our time . One types the correct incantation on a
keyboard , and a display screen comes to life , showing things That
Were never nor Could be .
Programming then is fun gratifies creative longings porque
built Deep Within us and delights sensibilities info we have in common
With All men . "

Welcome

The founding idea of ​​this blog is to help developers in times of grief and doubts with small portions of code , best practices ( some not so much ) on development, methodologies , tools and other stuff . Welcome .