Question

I am currently trying to deploy a timer job to my SharePoint site. for the first deployment I forgot to implement a public default constructor for the Timer Job Class. And now I am stuck because I cannot retract the old solution and update it with the newer one with the public default constructor implemented.

I have already tried it with the Manage farm solutions page and got an error like this:

enter image description here

I have also tried this one here:

Uninstall-SPSolution -Identity testproject.wsp -allwebapplications
Remove-SPSolution -Identity testproject.wsp -force

With the same error and I am driving crazy right know because I don't know any more solutions to handle this error.

Can anyone tell me how I can "kill" the corrupted solution from my farm so that I can deploy the correct one?

EDIT: I have also tried the "Update-SPSolution" but get the same error...

Was it helpful?

Solution

Snickbrack,

Please try to copy your DLL to GAC directly. You can do this manually or use some VS plugins like CKSDev or Fishbone

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top