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. Visual Basic
  4. VB6: System Error &H80004015

VB6: System Error &H80004015

Scheduled Pinned Locked Moved Visual Basic
helpcsharpvisual-studiosecurity
3 Posts 2 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.
  • W Offline
    W Offline
    willempipi
    wrote on last edited by
    #1

    I have a really weird problem. I had to make some adjustments to a VB6 application. So i installed Visual Studio 6 (with SP6) on my Windows 7 pc, i downloaded the project though Visual SourceSafe and after changing some filepaths in the projectfiles(had to be done because it had some absolute references in it) and recompiling some ocx file(because of a more logic file-location) i got the project to work on my computer. I made my changes i checked-in the project again. Now a college of mine wanted to see the changes on his computer(with had a already working copy of the source). He got the latest version of the source code and opened the project. He got a error about visual basic not finding the ocx file i recompiled, but after registrating the ocx file he could open the project without a problem. After hitting F5 he got the following error message: "System Error &H80004015 (-2147467243). The class is configured to be executed when a security-ID is different from the caller" << now don't know about the error message, i had to translate it, the original message was: De klasse is geconfigureerd om te worden uitgevoerd als een beveiligings-ID dat verschilt van de beller < witch is not correct dutch :) His Pc is a Windows XP computer and also has Visual Studio 6 (SP6) installed. Can somebody please help me out with this really weird problem.

    L 1 Reply Last reply
    0
    • W willempipi

      I have a really weird problem. I had to make some adjustments to a VB6 application. So i installed Visual Studio 6 (with SP6) on my Windows 7 pc, i downloaded the project though Visual SourceSafe and after changing some filepaths in the projectfiles(had to be done because it had some absolute references in it) and recompiling some ocx file(because of a more logic file-location) i got the project to work on my computer. I made my changes i checked-in the project again. Now a college of mine wanted to see the changes on his computer(with had a already working copy of the source). He got the latest version of the source code and opened the project. He got a error about visual basic not finding the ocx file i recompiled, but after registrating the ocx file he could open the project without a problem. After hitting F5 he got the following error message: "System Error &H80004015 (-2147467243). The class is configured to be executed when a security-ID is different from the caller" << now don't know about the error message, i had to translate it, the original message was: De klasse is geconfigureerd om te worden uitgevoerd als een beveiligings-ID dat verschilt van de beller < witch is not correct dutch :) His Pc is a Windows XP computer and also has Visual Studio 6 (SP6) installed. Can somebody please help me out with this really weird problem.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Did you unregister the old ocx and register the new one? (using regsvr32.exe)

      I are Troll :suss:

      W 1 Reply Last reply
      0
      • L Lost User

        Did you unregister the old ocx and register the new one? (using regsvr32.exe)

        I are Troll :suss:

        W Offline
        W Offline
        willempipi
        wrote on last edited by
        #3

        Yes i did, but that didn't work... So i removed all registry entries that pointed to the ocx and registrated the new one. That didn't work too. My last hope was a system restart, did it, and YES it works again!!! Don't know what fixed the problem, but my solutions where: - Recompiling the ocx on the other computer. - Registrating all dll/ocx files again. - Removed all registry entries of the ocx file. - Registrated the ocx again. - Restarted the computer.

        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