Re: 'Beep', then exiting with code 255 (0xff)???

From: Programmer Dude (Chris_at_Sonnack.com)
Date: 01/21/05


Date: Fri, 21 Jan 2005 11:03:05 -0600

Morten Aune Lyrstad writes:

> Isn't it quite unusual that there is no real error message at all??? I
> mean - I usually get at least a hint of what is wrong. If an object is
> null, one gets an exception. That happens also if you try to do
> something on an object which is already deleted. But I get nothing.
> NOTHING! Except the exit with code 200 bull.

If something in your code throws an exception that you do NOT catch,
the system just aborts (with no error message).

If you can run in a DEBUG environment, you will usually see more
helpful information.

One thing you can try is a try{}catch{} wrapper around the whole program.
Put it in main(), and make sure you catch everything (i.e. catch(...)).

If all else fails, drop into your debugger and "divide and conquor".
Start dividing flow into segments trying to zero in on where the error
is occurring.

Good luck!



Relevant Pages

  • RE: Biztalk 2006 Tutorial 3
    ... There are some known issues w/ the tutorials. ... Below is the error message that appears in the event ... Exception type: ServiceCreationException ... md, Objectargs, Object server, Int32 methodPtr, Boolean fExecuteInContext, ...
    (microsoft.public.biztalk.general)
  • RE: Concerns about exception string revealing internals/data about
    ... exceptions could return certain information as part of the error message. ... exception occurs in my program, is it possible that the exception error ... built in ADO objects in Visual Studio for Microsoft SQL Server. ... the build-in controls in SQL Server2000 or .Net winform/Asp.net controls? ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Concerns about exception string revealing internals/data about
    ... Sorry in last post I meant an "unhandled" exception should never be shown to ... exceptions could return certain information as part of the error message. ... built in ADO objects in Visual Studio for Microsoft SQL Server. ... the build-in controls in SQL Server2000 or .Net winform/Asp.net controls? ...
    (microsoft.public.dotnet.framework.clr)
  • RE: Biztalk 2006 Tutorial 3
    ... Below is the error message that appears in the event ... Exception type: ServiceCreationException ... Microsoft.BizTalk.XLANGs.BTXEngine.BTXSession._createOrRehydrateRealService(Guid& instanceId, IBTMessage currMsg) ... md, Objectargs, Object server, Int32 methodPtr, Boolean fExecuteInContext, ...
    (microsoft.public.biztalk.general)
  • RE: Single Sign-On User Credentials Question
    ... error message means that GetCredentialEntryURL can't find an Enterprise ... different EA names in its calls to GetCredentials and GetCredentialEntryURL. ... This seems to indicate that it can't find the login URL for my application. ... I get the same error message when an unhandled exception occurrs. ...
    (microsoft.public.sharepoint.portalserver)