Teknikdagboken En blogg om teknik i vardagen

15Nov/110

Problem att deploya till Sharepoint 2010

Idag fick jag problem med att deploya till Sharepoint och fick följande felmeddelanden:

An object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 Parent=SPSolution Name=il.sharepoint.workflows.wsp", depends on other objects which do not exist.  Ensure that all of the objects dependencies are created and retry this operation.

Error occurred in deployment step 'Retract Solution': The solution does not have a WSP file associated with it.

Error occurred in deployment step 'Retract Solution': The language-neutral solution package was not found.

För att lösa det fick jag göra följande:

  1. net stop "SharePoint 2010 Timer"
  2. Ta backup av .ini-filen.
  3. Ta bort alla xml-filer i C:\ProgramData\Microsoft\SharePoint\Config\{GUID} eller C:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\<<GUID>> folder
  4. Öppna .ini-filen och ändra värdet till 1.
  5. net start "SharePoint 2010 Timer"