-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConvertTo-SPSite on SharePoint 2016 #5
Comments
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. |
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 ***@***.***> 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
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aq9xXWuOUvblZtoQbB6cYe6GV20CEIRrks5uvUcugaJpZM4XXlq_>
.
|
You are right. the error is still there |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: