COM+ Error
-
Im getting a COM+ error which is like The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below. Component Prog ID: Server Application ID: {5C36819D-0094-454E-B9D2-C5B9C8FA34CE} Server Application Name: TransactOnline The serious nature of this error has caused the process to terminate. Exception: C0000005 Address: 0x779D9256 Call Stack: OLEAUT32!SysFreeString + 0x46 RPCRT4!NdrServerInitialize + 0x288 RPCRT4!NdrStubCall2 + 0x570 RPCRT4!CStdStubBuffer_Invoke + 0xC5 OLEAUT32!UserEXCEPINFO_free_local + 0x2114 + 0xFFFFFFF7 + 0x8820B0A8 ------------------------------------------------ I have found out the that error to a particular structure which is typedef struct XXXX { BSTR A_account; BSTR B_Date; BSTR C_Date; BSTR D_Date; } YYYY In Sysfreestring(YYYY.B_Date),it is failing and giving errors. I have initialised this structure through VB and passed to COM. Moreover,when i build this on my machine (all params and environments are same), this works good. The only difference between the "original Build machine" and my machine is i have Visual Studio SP5. Any suggestions?..
-
Im getting a COM+ error which is like The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below. Component Prog ID: Server Application ID: {5C36819D-0094-454E-B9D2-C5B9C8FA34CE} Server Application Name: TransactOnline The serious nature of this error has caused the process to terminate. Exception: C0000005 Address: 0x779D9256 Call Stack: OLEAUT32!SysFreeString + 0x46 RPCRT4!NdrServerInitialize + 0x288 RPCRT4!NdrStubCall2 + 0x570 RPCRT4!CStdStubBuffer_Invoke + 0xC5 OLEAUT32!UserEXCEPINFO_free_local + 0x2114 + 0xFFFFFFF7 + 0x8820B0A8 ------------------------------------------------ I have found out the that error to a particular structure which is typedef struct XXXX { BSTR A_account; BSTR B_Date; BSTR C_Date; BSTR D_Date; } YYYY In Sysfreestring(YYYY.B_Date),it is failing and giving errors. I have initialised this structure through VB and passed to COM. Moreover,when i build this on my machine (all params and environments are same), this works good. The only difference between the "original Build machine" and my machine is i have Visual Studio SP5. Any suggestions?..
-
Im getting a COM+ error which is like The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below. Component Prog ID: Server Application ID: {5C36819D-0094-454E-B9D2-C5B9C8FA34CE} Server Application Name: TransactOnline The serious nature of this error has caused the process to terminate. Exception: C0000005 Address: 0x779D9256 Call Stack: OLEAUT32!SysFreeString + 0x46 RPCRT4!NdrServerInitialize + 0x288 RPCRT4!NdrStubCall2 + 0x570 RPCRT4!CStdStubBuffer_Invoke + 0xC5 OLEAUT32!UserEXCEPINFO_free_local + 0x2114 + 0xFFFFFFF7 + 0x8820B0A8 ------------------------------------------------ I have found out the that error to a particular structure which is typedef struct XXXX { BSTR A_account; BSTR B_Date; BSTR C_Date; BSTR D_Date; } YYYY In Sysfreestring(YYYY.B_Date),it is failing and giving errors. I have initialised this structure through VB and passed to COM. Moreover,when i build this on my machine (all params and environments are same), this works good. The only difference between the "original Build machine" and my machine is i have Visual Studio SP5. Any suggestions?..
I feel this B_Date is already freed somewhere else..! check if b_date is not null and pointing to a valid address! -Aravinthan
Visit me:
http://www2.domaindlx.com/earavi/
When you know something.. its meant to share with others :-) for otherwise that knowledge has no worth:-)
mail me:
aravinthan@rediffmail.com