Results 1 to 3 of 3

Thread: Dear VB Professionals

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Posts
    3

    Exclamation Dear VB Professionals

    Dear VB Professionals

    I spent more than five months searching for answer for the following question, I don’t know where are the professionals.
    I am using Windows 2000, and I am trying to create ActiveX DLL, I did it successfully, and I created the Test Project, but when run the program, the Visual Basic gave me the following error message



    System Error &H80004015 (-2147467243 )

    Add to your information that this message doesn’t appear in Windows 98

    Does this question has an answer if so, please send the answer to me

    Best Regards ………

    Yours Ismail

  2. #2
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    hmm only thing I found on this :

    -2147467243 (80004015) The class is configured to run as a security id
    different from the caller.

    huh... what that means, I don't know... sorry

    I assume u have compiled the DLL and then added it to a new standard EXE project, and then encounter the problem?

    If so, have u tried addin the DLL project to the Test project, making a Project group? (this makes it possible to debug both the test program and the dll program, and might give u a clue where the problem occurs.

    One last question, have u tried compiling ur dll on another win2k computer? (or 98)

    I know u have tested the dll on win98, but have u tried compiling it on one?

    hmmm... not a good answer, only a lot of questions.. sorry about that
    -= a peet post =-

  3. #3
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    wowwowow.... look what I found !

    maybe ... just maybe... u'r nightmare is over ?

    PRB: System Error Message "&H80004015" Running ActiveX DLL in IDE

    --------------------------------------------------------------------------------
    The information in this article applies to:

    Microsoft Visual Basic Learning Edition for Windows, versions 5.0, 6.0
    Microsoft Visual Basic Professional Edition for Windows, versions 5.0, 6.0
    Microsoft Visual Basic Enterprise Edition for Windows, versions 5.0, 6.0

    --------------------------------------------------------------------------------


    SYMPTOMS
    While attempting to run an ActiveX dll from the Visual Basic IDE, the following error message is displayed:

    System error &H80004015(-2147467243). The class is configured to run as a security ID different from the caller.



    CAUSE
    When Visual Basic runs an ActiveX dll from the IDE, it calls the CoRegisterClassObject API to temporarily register the server. This creates the AppId and specifies it to run in the Interactive User context.

    The problem is due to a bug in the Microsoft OLE Libraries 4.0, which are included with the Microsoft Platform Software Development Kit (SDK). CoRegisterClassObject fails with the error message given earlier under the following conditions:



    If the ActiveX server calling the API is set to run using the "Interactive User" identity.

    -and-


    The string associated with the following registry key contains any value other than a single valid executable name for the shell process:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon Shell=

    Under Windows 2000, this error occurs when the Certificate Authority service does not start.



    RESOLUTION
    Make certain that the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon Shell= registry key contains a single valid executable name for the shell process.

    To resolve this problem under Windows 2000, you can install the "Client for Microsoft Network" component and then reboot.

    See the "REFERENCES" section of this article for instructions on how to handle this error when it is related to the Certificate Authority on systems that are running Windows 2000.

    I hope this will give u the answers u need
    -= a peet post =-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width