Skip to main content

If I click on Apps I get this error.

 

Object reference not set to an instance of an object.

Hello   @jbyers

 

To resolve this you can deleted the group provider from the K2].2HostServer].rGroupProvider] table and then delete the settings for the site from the hK2].2Integration].nProcessSharePointSetting] table.
After both are deleted and the K2Server restarted, all should be well again.

 

Additional Information...
When you remove the K2 App from a site collection, you keep the K2 related configurations in the DB still.
One might need to remove the K2 App for various reasons like when you want to make a template or copy an artifact from one SP farm to another.

 

If you removed the configuration information in the DB, your settings would have been lost and you probably had to re-create everything again. And if you recreate a smartobject, it will get created with a different GUID.
If that smartobject was used anywhere on a view, form or in a workflow, everything that uses that will be broken and this why you keep the info in the DB.

 

Should you find the above information useful kindly mark as "Accepted Solution and/or Kudo", as this will assist other community members looking for related information.

 

Regards,
BesM

 

 


Hi

 

This issue could be caused by the K2 Service Account not having permissions to see any object in that database.

To resolve the issue, correct the permission in SQL to allow the K2 Service Account to see objects in the database.

 

For more information please visit attached link below

http://help.k2.com/support-services/kbt164489

 

Should you find the information from the article useful or leading you to the answer please mark as "Solution and/or Kudo", as it will assist other k2 developers with relevant information in the near future.

 

Best Regards

Elvis

 


Reply