We are migrating moss 2007 site to SharePoint 2010. I am faced with a challenge with manual migrating a custom webpart from Moss 2007 to SharePoint 2010. When i open the webpart created in visual studio 2005 in 2010 and try to build the solution. I get this error
"The command ""c:\program files\Common Files\Microsoft Shared\web server extensions\14\bin\stsadm.exe" -o execadmsvcjobs" exited with code 3."
Any guidence on how to tackle it?
Update - Here is the data in the Project.default.target file
<PropertyGroup>
<PackageFile>name.wsp</PackageFile>
<TargetUrl>http://localhost</TargetUrl>
<ProjectDeploymentFilesFolder>DeploymentFiles</ProjectDeploymentFilesFolder>
<ProjectRootFilesFolder>RootFiles</ProjectRootFilesFolder>
<WssRootFilesFolder>"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14"</WssRootFilesFolder>
<!-- Modified 3/25/08 RHoward - tokenized system directory -->
<MAKECAB>"C:\WINDOWS\system32\makecab.exe"</MAKECAB>
<!-- End of 3/25/08 Modification -->
<STSADM>"c:\program files\Common Files\Microsoft Shared\web server extensions\12\bin\stsadm.exe"</STSADM>
<STSADM>"$(ProgramFiles)\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\stsadm.exe"</STSADM>
<STSDEV>"C:\GDT_Tools\STSDev\stsdev.exe"</STSDEV>
<!-- Added 3/25/08 RHoward - Surrounded TargetName and SolutionDir with quotes to support spaces there -->
<REFRESH>$(STSDEV) /refresh "$(TargetName)" "$(SolutionDir)"</REFRESH>
<!-- End of 3/25/08 Add -->
<GACUTIL>"C:\Program Files(x86)\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe"</GACUTIL>
<ISSAPP_SCRIPT>CSCRIPT.EXE C:\WINDOWS\system32\iisapp.vbs</ISSAPP_SCRIPT>