Open nvassi opened 6 years ago
I'm having the same problem in SharePoint 2013.
Get-SPWeb http://portal.domain.local/corporate/finance | ConvertTo-SPSite -TargetUrl "http://portal.domain.local/sites/finance" -OwnerLogin domain\spfarm
ConvertTo-SPSite : Value cannot be null. Parameter name: uriString
I'm able to see folders in C:\Windows\assembly without adding the DisableCacheViewer DWORD. I added the DWORD just in case and tried running the following commands, but I still receive the error.
Update-SPSolution -LiteralPath D:\Lapointe.SharePoint.PowerShell.wsp -Identity Lapointe.SharePoint.PowerShell.wsp -GACDeployment Get-SPWeb http://portal.domain.local/corporate/finance | ConvertTo-SPSite -TargetUrl "http://portal.domain.local/sites/finance" -OwnerLogin domain\spfarm
ConvertTo-SPSite : Value cannot be null. Parameter name: uriString
On Thu, Nov 15, 2018 at 3:51 AM nvassi notifications@github.com wrote:
I found the solution for win 2016, can be the same for win 2012. You should be able to see folders in C:\windows\assembly If not you can add DisableCacheViewer DWORD 32 bit value in HKLM\Software\Microsoft\Fusion\ and set the value to 1. Start explorer and see if you can see the folders, if yes, then run powershell Update-SPSolution -LiteralPath D:\Lapointe.SharePoint.PowerShell.wsp -Identity Lapointe.SharePoint.PowerShell.wsp -GACDeployment After those steps everything should work as expected.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/glapointe/PowerShell-SPCmdlets/issues/5#issuecomment-438999194, or mute the thread https://github.com/notifications/unsubscribe-auth/Aq9xXWuOUvblZtoQbB6cYe6GV20CEIRrks5uvUcugaJpZM4XXlq_ .
You are right. the error is still there
Do you have any idea how to solve this error, any help will be appreciated Error: ConvertTo-SPSite : Value cannot be null. Parameter name: uriString
Get-SPWeb "https://portalurl/000144_C" | ConvertTo-SPSite -TargetUrl "https://portalurl/services/projects/000144_C" -OwnerLogin domain\user