Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8671419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:56:46+00:00 2026-06-12T18:56:46+00:00

Using: Visual Studio 2012, .NET Framework 4, Windows 7 x64 Sometimes, upon starting my

  • 0

Using: Visual Studio 2012, .NET Framework 4, Windows 7 x64

Sometimes, upon starting my application in debug mode, I see the following line in the Output window:

A first chance exception of type ‘System.Runtime.InteropServices.COMException’ occurred in Microsoft.VisualStudio.HostingProcess.Utilities.dll

This happens approximately once in every 10 startups and appears to be random (no code is changed, I can just Start, Stop, Start, Stop, etc. until I see the error in Output).

I would like to know what is causing this first-chance exception. I have the option “Tools->Options->Debugging->General->Enable Just My Code” disabled and I have enabled the “Debug->Exceptions…->Common Language Runtime Exceptions->System.Runtime.InteropServices->System.Runtime.InteropServices.COMException” option (see screenshot below) in order to break upon getting the exception, but Visual Studio does not break so I don’t know where the issue is.

I’ve tried placing random breakpoints in my code but it seems that whenever I actually have a breakpoint set then the exception doesn’t occur.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T18:56:47+00:00Added an answer on June 12, 2026 at 6:56 pm

    Sounds like the error is occurring within Visual Studio’s attempt to host the process. First Chance exceptions can be caught and handled by applications without further problem. The Output Window is just displaying it has happened. I wouldn’t worry about it. Maybe an update to Visual Studio in the future will resolve this.

    I would not expect it to occur at Runtime outside of the Visual Studio host process.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to be able to target .NET Framework 4.0 using Visual Studio 2012
I'm using Visual Studio 2012 for Windows Phone 7 and this is my first
I am using Windows 8 Pro and Visual Studio 2012 Ultimate (both RTM). I
We have an application that was built using Visual Studio 2010 targeting the .NET
Using Visual Studio 2005 - C# 2.0, System.Net.WebClient.UploadData(Uri address, byte[] data) Windows Server 2003
I'm using Visual Studio 2010 and VB.NET . My target environment is .NET Framework
I'm running Windows 7 and using Visual Studio 2012 RC. I have a USB
Using Visual Studio 2008 I've built a COM object that targets the .Net Framework
Using Visual Studio 2008, windows forms, C#, .NET 2.0 ... Is there a code-less
I'm currently learning ASP.Net MVC; I'm using Visual Studio Express 2012 with MVC4 (which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.