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

  • SEARCH
  • Home
  • 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 7796241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:18:47+00:00 2026-06-01T23:18:47+00:00

I wrote a simple console app in Visual Studio 10 on a Windows 7

  • 0

I wrote a simple console app in Visual Studio 10 on a Windows 7 32 bit machine using all managed code. It works fine in debug mode, but when I deploy it to another machine and run it, I get the message,

[my assembly] has encountered a problem and needs to close.  We are sorry for the inconvenience.

… and then it generates a cryptic error report that I cannot imagine ever finding useful. Here’s the thing: the exception is occurring inside a try-catch statement that is designed to gracefully handle the error; the exception does not seem to be caught, however.

How can this be? How can I fix it?

  • 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-01T23:18:48+00:00Added an answer on June 1, 2026 at 11:18 pm

    Either the exception is thrown from a diferent place in the code, or you do not list the particular type of the exception (or one of its parent types) in the catch branches

    The “cryptic” error message actually is designed to help you find out: what went wrong (the type of the exception), where did it occur (stack trace). You should learn to read/”decypher” it

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

Sidebar

Related Questions

Running a c# console app I wrote on 64 bit Vista. Here's the code:
So I wrote this simple console app to aid in my question asking. What
I wrote a simple Sinatra app that generate an image using rmagick from some
I'm writing a simple console client-server app using MSMQ. I'm attempting to run it
I'm very new to lucene.net. I wrote this simple console app in C# which
I have wrote this simple console app to test when we change the timezone
I wrote some sort of console client for a simple application. To be more
I wrote not so simple app, and decided to make applet. I have the
Have a simple console app where user is asked for several values to input.
I have a very simple console app (just a Console.Write() ) to test some

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.