15 49.0138 8.38624 1 0 4000 1 https://vladtalkstech.com 300 1
theme-sticky-logo-alt
Powershell

Unable to load assembly group. The user assembly group provider threw an exception while trying to provide user assemblies for the specified assembly group.

1 Comment
I recently used a PowerShell Script to Deploy a Custom .wsp solution in the Solution Gallery and activate it. However, when running the Install-SPUserSolution command I had this error: Install-SPUserSolution :  Unable to load assembly group. The user assembly group provider threw an exception while trying to provide user assemblies for the specified assembly group.S Inner Exception:...Read More

How to configure SharePoint Outgoing Email Settings Using PowerShell

0 Comments
Here is a little script that lets you configure SharePoint Outgoing Email Settings using Power Shell. #Vlad Catrinescu  www.vladcatrinescu.com$SMTPServer = “192.168.1.20”$EmailAddress = “svcfarm@vlad.loc”$ReplyToEmail = “svcfarm@vlad.loc”Try{ Write-Host -ForegroundColor White ” – Configuring Outgoing Email…” $loadasm = [System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) $SPGlobalAdmin = New-Object Microsoft.SharePoint.Administration.SPGlobalAdmin $SPGlobalAdmin.UpdateMailSettings($SMTPServer, $EmailAddress, $ReplyToEmail, 65001)}Catch{ Write-Host “Failed”} Say Thanks if it helped 🙂

How to Disable IE Enhanced Security Using PowerShell

4 Comments
Here is a little script on how to Disable IE Enhanced Security Using PowerShell #Vlad Catrinescu  www.vladcatrinescu.comWrite-Host -ForegroundColor White ” – Disabling IE Enhanced Security…”Set-ItemProperty -Path “HKLM:SOFTWAREMicrosoftActive SetupInstalled Components{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}” -Name isinstalled -Value 0Set-ItemProperty -Path “HKLM:SOFTWAREMicrosoftActive SetupInstalled Components{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}” -Name isinstalled -Value 0Rundll32 iesetup.dll, IEHardenLMSettings,1,TrueRundll32 iesetup.dll, IEHardenUser,1,TrueRundll32 iesetup.dll, IEHardenAdmin,1,True If (Test-Path “HKCU:SOFTWAREMicrosoftActive SetupInstalled Components{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}”)  { Remove-Item -Path...Read More

Install-SPUserSolution : Sandboxed code execution request failed.

4 Comments
This is a really tricky error I had when trying to deploy a Sand-boxed Solution using PowerShell on a new farm.  The error “Install-SPUserSolution : Sandboxed code execution request failed.”  happened with PowerShell, and with the GUI. I looked in the ULS log and found this: Sandboxed code execution request failed. – Inner Exception: System.InvalidOperationException    Server stack trace:...Read More