Skip to content

The process was terminated due to an unhandled exception. #291

@0xNinshu

Description

@0xNinshu

Preflight Checklist

Power Query SDK

0.2.3

Regression From

No response

Platform

Windows

Architecture

x64

OS Version

Windows 11 Pro - Version: 22H2, Build: 22621.2506

VSCode version

1.84.1

PQSdkTool Path

c:\Users<user>.vscode\extensions\powerquery.vscode-powerquery-sdk-0.2.3-win32-x64.nuget\Microsoft.PowerQuery.SdkTools.2.114.4\tools

Bug Description

I noticed that this issue was in my event log. I was not using the vscode extension, and for some reason the PQServiceHost.exe is running in the background and failing. This event appears multiple times within a day.

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
  <Provider Name=".NET Runtime" /> 
  <EventID Qualifiers="0">1026</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2023-11-05T18:26:48.9112643Z" /> 
  <EventRecordID>95982</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="30460" ThreadID="0" /> 
  <Channel>Application</Channel> 
  <Computer>ASUS-DESKTOP</Computer> 
  <Security /> 
  </System>
<EventData>
  <Data>Application: PQServiceHost.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ComponentModel.Win32Exception at System.Diagnostics.ProcessManager.OpenProcess(Int32, Int32, Boolean) at System.Diagnostics.Process.GetProcessHandle(Int32, Boolean) at System.Diagnostics.Process.get_HasExited() at PQServiceHost.Program.RunningInstance() at PQServiceHost.Program.Main(System.String[])</Data> 
  </EventData>
  </Event>

Steps to Reproduce

I am unsure of how to repro the issue, since I was not using the power query sdk / vscode extension when it happened.

Actual Experience

I am unsure of how to repro the issue, since I was not using the power query sdk / vscode extension when it happened.

Expected Experience

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

sdk toolsIssue is related to the SDK Tools external nuget packages

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions