This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.
Running the AppDeployment.exe file on the SharePoint WFE server leads to the following error:
"Error occurred during the execution of Setup
Exception: Object reference not set to an instance of an object. Error while checking if application is ready to execute."
Assemblies and other dependencies may be missing from the SharePoint WFE server causing the setup manager to fail on launch.
To resolve this, please do the following:
- Under the Installation directory, you will find K2 for SharePoint Application Deployment.exe:
- Copy this executable to the SharePoint WFE server and ensure that it is unblocked before running it.
- Running this will extract a folder of the same name: K2 for SharePoint Application Deployment.
- Run the AppDeployment.exe from this folder:
Should this also fail, retrieve the Installer trace from the SharePoint server:
C:\Users\[User who ran AppDeployment.exe]\AppData\Local\Temp\K2 Setup Log\.
Kindly log a support ticket with the installer trace attached for further assistance.