Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. COM+ Error

COM+ Error

Scheduled Pinned Locked Moved COM
helpcsharpvisual-studiocomsysadmin
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aky
    wrote on last edited by
    #1

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

    S A 2 Replies Last reply
    0
    • A Aky

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

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #2

      Sounds like you need to dump out what the values (and addresses) in the structure are. The error you're getting sounds like a BSTR being freed twice, or similar. Steve S [This signature space available for rent]

      1 Reply Last reply
      0
      • A Aky

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

        A Offline
        A Offline
        Aravinthan 0
        wrote on last edited by
        #3

        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


        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups