Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 1st, 2004, 05:44 AM
Registered User
Join Date: Mar 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Err.Number -2147217873


In asp I am catching the error that is thrown by COM+ component. I am getting the error number as
 -2147217873. I know why this error is coming(Due to constraint violation in database). But my doubt is whether this error number is common for all runtime errors or it signifies some specific kind of error. Can anyone put some light on this? Also can I get a list of all possible error numbers (ofcourse excluding user defined) along with its description?


Old April 1st, 2004, 06:10 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post

That is not a "general" runtime error code. It depends on which db driver you are using as to what that specific error code actually means (though it seems in your case you know what it means). For example see http://www.aspfaq.com/show.asp?id=2370 (note that -2147217873 is 80040E2F in Hex).

Personally I don't know of any resource that lists all the possible error codes for each driver and what they mean.

Old April 5th, 2004, 11:54 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts

I've seen lists of errors for a specific program (never a list of multiple program's errors). In the past, I've done a search for the error number and see what pops up. Some of these lists contain both the number and the hex code, and some one or the other.

I've never seen a description of the error, or if there is, it's usually what appears on the screen, and offers no more insight. Usually documents explaining the error detail only the error itself, which offer much insight.

Hope this helps,


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Authentication Err rizoriz Classic ASP Databases 0 April 23rd, 2006 07:42 AM
Object required: 'err' dopoto Classic ASP Professional 1 June 3rd, 2005 02:24 PM
the err of SignOut allanhu BOOK: ASP.NET Website Programming Problem-Design-Solution 3 May 3rd, 2005 09:13 PM
If err.number <> 0 probs in subroutine Greywacke Pro VB 6 4 March 4th, 2004 04:13 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.