We have a 2013 SharePoint Foundation instance using FBA. Long story short, we had a DB issue (turned out to be Firewall), and reran the SharePoint Setup utility. All of the data remained in the database, FBA appears to be working correctly, with the exception
that the links are missing under "Site Settings". I tried to rerun the "./deploy" command (with and without a site), and I get the error below. Any idea?
PS C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5> .\deploy
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. Do you want to run C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\Deploy.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. Do you want to run C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\UnDeploy.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R
Going to uninstall feature
uninstall-spfeature : Cannot find a Feature object with Path or Id: FBAManagement in scope Local farm.
At C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\UnDeploy.ps1:59 char:2
Uninstall-SPSolution : Cannot uninstall the LanguagePack 0 because it is not deployed.
At C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\UnDeploy.ps1:62 char:2
Timer job not found
Going to remove solution
Going to add solution
Name SolutionId Deployed
visigo.sharepoint.formsbase... 956715d5-f34c-4b00-bfb7-8c35d5fa0f62 False
Going to install solution to all web applications
Waiting for job to finish
Waiting to finish job solution-deployment-visigo.sharepoint.formsbasedauthentication.wsp-0......Finished waiting for job
..
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. Do you want to run C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\Activate.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R
Deactivating/activating active features to ensure activation script is run
Get-SPFeature : Cannot find a Feature object with Path or Id: FBAManagement in scope Local farm.
At C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\Activate.ps1:3 char:13
At C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\Activate.ps1:4 char:2
PS C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5> .\deploy
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. Do you want to run C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\Deploy.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. Do you want to run C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\UnDeploy.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R
Going to uninstall feature
uninstall-spfeature : Cannot find a Feature object with Path or Id: FBAManagement in scope Local farm.
At C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\UnDeploy.ps1:59 char:2
- uninstall-spfeature -identity $featureName -confirm:$false -force
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (Microsoft.Share...ninstallFeature:SPCmdletUninstallFeature) [Uninstall-SPF
eature], SPCmdletPipeBindException - FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletUninstallFeature
- CategoryInfo : InvalidData: (Microsoft.Share...ninstallFeature:SPCmdletUninstallFeature) [Uninstall-SPF
Uninstall-SPSolution : Cannot uninstall the LanguagePack 0 because it is not deployed.
At C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\UnDeploy.ps1:62 char:2
- Uninstall-SPSolution -identity $solutionName -allwebapplications -confirm:$fal ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (Microsoft.Share...installSolution:SPCmdletUninstallSolution) [Uninstall-SP
Solution], SPCmdletException - FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletUninstallSolution
- CategoryInfo : InvalidData: (Microsoft.Share...installSolution:SPCmdletUninstallSolution) [Uninstall-SP
Timer job not found
Going to remove solution
Going to add solution
Name SolutionId Deployed
visigo.sharepoint.formsbase... 956715d5-f34c-4b00-bfb7-8c35d5fa0f62 False
Going to install solution to all web applications
Waiting for job to finish
Waiting to finish job solution-deployment-visigo.sharepoint.formsbasedauthentication.wsp-0......Finished waiting for job
..
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. Do you want to run C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\Activate.ps1?
[D] Do not run [R] Run once [S] Suspend [?] Help (default is "D"): R
Deactivating/activating active features to ensure activation script is run
Get-SPFeature : Cannot find a Feature object with Path or Id: FBAManagement in scope Local farm.
At C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\Activate.ps1:3 char:13
- $feature = Get-SPFeature $featureName
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (Microsoft.Share...mdletGetFeature:SPCmdletGetFeature) [Get-SPFeature], SPC
mdletPipeBindException - FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletGetFeature
- CategoryInfo : InvalidData: (Microsoft.Share...mdletGetFeature:SPCmdletGetFeature) [Get-SPFeature], SPC
At C:\Users\user\Desktop\SharePoint2013FBAPack.1.3.5\Activate.ps1:4 char:2
- $features = [Microsoft.SharePoint.Administration.SPWebService]::ContentService. ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [], MethodException
- FullyQualifiedErrorId : MethodCountCouldNotFindBest