Windows-API-Code-Pack-1.1 icon indicating copy to clipboard operation
Windows-API-Code-Pack-1.1 copied to clipboard

Exception 0x800700B7 "Cannot create a file when that file already exists."

Open Feofilakt opened this issue 7 years ago • 3 comments

"Code pack" works properly with magnetometer on 2 of our devices, but on third tablet it produces an exception (row 698 in Sensor.cs): System.Runtime.InteropServices.COMException: "Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7)" I'm trying to find out why it's happening or what is especially with this tablet, but not succeed yet.

Feofilakt avatar Apr 04 '18 04:04 Feofilakt

Any additional info for debugging this?

contre avatar Jan 26 '20 21:01 contre

I'd not been able to fix it and just did exception handling. Don't know if we even have that tablet now. I will add comment if somewhen stumble upon this bug again.

Feofilakt avatar Apr 29 '20 09:04 Feofilakt

I meet a same problem at code SensorManager.GetSensorsByTypeId<AmbientLightSensor>()

Tracke the error ,find the COMException is fail at Sensor.cs SnativeISensor.SetEventSink(this) Any solution can reslove ??

garylin04 avatar Nov 20 '20 11:11 garylin04