Microsoft Technical Takeoff
Nov 27 2023 07:00 AM - Nov 30 2023 11:30 AM (PST)
Microsoft Tech Community

Getting error as Object to the reference not set to the instance of an object

Copper Contributor

We have developed an software and trying to run it on Windows.10. It runs well with external web camera. But when we run it using integrated/Laptop camera, it shows an error.

The light on the web camera blinks but no image is displayed. The camera is working fine. We checked it using other application on the laptop.

We tested the same.application on 5 laptops. Out of the 5, it ran properly on 2 laptop while it have null exception on 3 other laptop.

We had done the camera app privacy setting but still the error comes.

1. Will appreciate if some cam guide What is that we are missing because the application is unable to access the integrated camera. It shows the null exception. Attach is the photo of the error. 3.jpg2.jpg1.jpg

2. Also our application is not listed under the list of application listed under camera app privacy list. 

0 Replies