Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM+ Error Description Lost

Status
Not open for further replies.

CasperTFG

Programmer
Nov 15, 2001
1,210
US
Hello All,

At first this may seem like a repeat but it isn't trust me. I have problem where all my COM+ DLL's return "Method~of~Failed".

I know what "Method~of~Failed" is and the error is valid. What I can't get around is why that text is replacing my Error Code Description.

My Program is a large distributed COM+/DCOM system. What happens is the following:

I will make a call from the Client EXE to delete an item from a table. The Client EXE creates an instance on the Facade layer of code on the Server PC (COM+ Server App). This opens the Manager and Data manager DLL (COM+ Library) which executes the statement. The statment fails because of a constraint.

So I raise an error and send that back up. Well the error is logged all the way back up to the Facade layer but once it gets to the Client layer my error text (created to tell the user what the problem was) is replaced with Method~of~Failed. Note my custom error number that I assigned in the err.raise is still the same.

What I want is to retain my error description... any thoughts.



Casper

There is room for all of gods creatures, "Right Beside the Mashed Potatoes".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top