FIX: Unable to run the Zetadocs SharePoint Extensions PowerShell script Print ZTN4583 This Zetadocs technical note applies to: Zetadocs SharePoint Extensions Symptom When you run the Zetadocs SharePoint Extensions.ps1 you see the following types of issues: The PowerShell script opens and then quickly displays lines of red text before eventually closing Error messages that say: Cannot find type : Verify that the assembly containing this type is loaded info: You cannot call a method on a null-valued expression Have errors saying you do not have the required permissions Cause These types of errors are caused by the script not being able to run correctly or issues with accessing the SharePoint site. Resolution Please run through the below steps to ensure that the script is able to run Please ensure you have the correct permissions on the relevent SharePoint site. By default a global SharePoint Admin will not have admin rights over individual sites, but will be able to grant theirselves Admin rights on that site. Log into the SharePoint Admin site Find the required site and add the required user as an Admin on the site Make sure you have downloaded the latest version of the script from our website, via the Technical support software updates page. When you have the script, make sure you run this from a local drive rather than a network drive. Open PowerShell as an Administrator and perform the following actions: Set the execution policy to 'Remote Signed' from the PowerShell prompt: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine. Please see 'Set-ExecutionPolicy (Microsoft.PowerShell.Security) - PowerShell | Microsoft Learn' for more information about this Change the location you are running from to the same location of the script, using the cd command: cd "C:\temp\Zetadocs SharePoint Extensions\" Run the 'Zetadocs SharePoint Extensions' by typing 'Z' and then pressing tab until the 'Zetadocs SharePoint Extensions.ps1' script is shown Press Enter Once all the above steps have been complete, re-run the Zetadocs SharePoint Extensions.ps1 script and this should now work. If you are still having issues, please reach out to our support team for further assistance. Last updated: 26th January 2023 (BB/NT) Keywords: Zetadocs SharePoint Extensions, Zetadocs Capture InstallationSharePoint Extensions Related articles HOWTO: Setting up Zetafax on a Microsoft Azure hosted server FIX: Unable authenticate to SharePoint Online when running the SharePoint Extensions Script on Windows Server machines PRB: Zetadocs Expenses report fails to export with error in logs: 'The authentication header received from the server was "NTLM". ' HOWTO: Manually modify a NAV report - Zetadocs client side installation using the Microsoft SQL Server Report Builder INFO: What's new in Zetadocs SharePoint Extensions v1.0.20114