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".
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".