Skip to main content

Posts

Showing posts from September, 2017

Add-SPSolution : This solution contains one or more assemblies targeted for the global assembly cache

Exception Add-SPSolution : This solution contains one or more assemblies targeted for the global assembly cache. You should use a strong name for any assembly that will be in the global assembly cache. At line:1 char:1 + Add-SPSolution + ~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (Microsoft.Share...dletAddSolution:   SPCmdletAddSolution) [Add-SPSolution], SPException + FullyQualifiedErrorId :Microsoft.SharePoint.PowerShell.SPCmdletAddSolutIon   I have encountered this error when I deploy my SharePoint solution (wsp) to SharePoint farm as a global assembly. This error is due to not singing the project before deploy. Solution: Go to project properties of the SharePoint project. Then select an existing signing key or create a new one to sign and build the project. Now you can Build the project again and try using Add-SPSolution, which should work fine.

Insufficient SQL database permissions for user 'Name: doman\SP_UserProfiles SharePoint 2013 User Profile

Insufficient SQL database permissions for user 'Name: doman\SP_UserProfiles SID: S-1-5-21-2738186777-3937669245-3595685374-1123 ImpersonationLevel: None' in database 'SharePoint_Config' on SQL Server instance 'ADXWSQL.adxweb.ae'. Additional error information from SQL Server is included below. The EXECUTE permission was denied on the object 'proc_putObjectTVP', database 'SharePoint_Config', schema 'dbo'. This is a caused by not having permission to database objects of using least privileges configuration in farm configuration. Thus you need to give permission exclusively to this Object. First you need to Connect to SharePoint Database using privileged account. Then go the SharePoint Config Database and security section. Then go to Roles and find WSS_Content_Application_Pools under the Database Roles section.   Double click (or Right Click -> Properties) the item and select the Securable section in the mod...