Support Forum: Get Support for Patch My PC Products and Services

Microsoft Configuration Manager and Intune (Enterprises/Paid) => Report Publishing/Download/Hash Issues (Enterprises Using ConfigMgr and Intune) => Topic started by: vidockq on August 12, 2020, 01:39:06 AM

Title: Application Error - Object variable or With block variable not set.
Post by: vidockq on August 12, 2020, 01:39:06 AM
We have had this error "Object variable or With block variable not set." appear on multiple applications in the past 3 weeks.
We had to delete the application and then redeploy it to fix it.

Can you help us with more information in regards to this error?
Title: Re: Application Error - Object variable or With block variable not set.
Post by: Andrew Jimenez (Patch My PC) on August 12, 2020, 10:41:56 AM
Hello,

Can you let me know exactly where you are seeing this error? In the applications themselves? In the PatchMyPC.log?
Title: Re: Application Error - Object variable or With block variable not set.
Post by: vidockq on August 12, 2020, 11:51:42 PM
Hello Andrew,

The only error we get in PatchMyPc.log is the following:
Component: Worker
Thread ID: 6
Entry: An error occurred while updating a package in SCCM: Object variable or With block variable not set. [System.NullReferenceException]

We saw the error poping in the notification mail sent when publishing occurs.
The latest one was today.

This is for ConfigMgr Applications only, with the settings Update exisitng applications metadata,deployment type... (Default)
Title: Re: Application Error - Object variable or With block variable not set.
Post by: Andrew Jimenez (Patch My PC) on August 13, 2020, 11:27:48 AM
Could you please open a support case with us here: https://patchmypc.com/technical-support (https://patchmypc.com/technical-support) and send in the patchmypc.log? We'll take a deeper look at it and see if we can figure out what is going on here. Thanks!
Title: Re: Application Error - Object variable or With block variable not set.
Post by: vidockq on August 14, 2020, 03:23:15 AM
Done, thank you.