ISAPI sysisapi.dll

  • Hallo,


    ich versuche die sysisapi.dll aus einem anderen Forumsbeitrag zum laufen zu bekommen. Irgendwas mache ich wohl dabei falsch.


    Gespeichert ist die DLL hier:
    \FFSDISK\sysisapi.dll


    Registryeintrag:
    HKLM\Comm\HTTPD\VROOTS\/TestSys
    default \FFSDISK\sysisapi.dll
    a dword 0


    Aufruf über:
    <!-- m --><a class="postlink" href="http://192.168.140.218/TestSys/">http://192.168.140.218/TestSys/</a><!-- m -->


    Errgebnis:
    HTTP 500 Die Website kann diese Seite nicht anzeigen.


    Was mache ich falsch?


    Herzlichen Dank schon im Voraus für die Hilfe.


    Schöne Grüße
    Manfred Domandl
    InterCard

  • Hallo,
    der webserver legt eine log Datei an. Finden Sie dort nähere Informationen?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hallo Herr Zutter,


    das steht im Protokoll:


    Mon, 08 Sep 2008 08:11:06 The web server is starting up.
    Mon, 08 Sep 2008 08:11:07 The web server cannot initialize SSL, no SSL actions will be performed. Error code = 0x80092004
    Mon, 08 Sep 2008 08:15:40 192.168.140.222 GET /TestSys 500
    Mon, 08 Sep 2008 08:18:17 192.168.140.222 GET /TestSys 500


    SSL ist auch noch ein Thema. Da aber der Zugriff zur Zeit nicht über SSL erfolgt sollte diese Fehlermeldung keine Auswirkung haben.


    Schöne Grüße
    Manfred Domandl
    InterCard

  • Hallo,


    welchen Kernel verwenden Sie?


    DKuhne.

    F&amp;S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hallo Herr Kuhne,


    NKP1_CF2_080527.bin


    Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built Feb 4 2008 11:37:45
    Microsoft Windows CE Bootloader for PicoMOD1 Built Mar 3 2008
    Portions copyright (c) 2006 F&S Elektronik Systeme GmbH
    Boot Loader, Version 1.22
    StepStone Loader, Version P119


    Samsung: 256MBit (32MB)
    Create partition for boot section ... Success
    INFO:OALLogSetZones: g_oalLogMask: 0xb
    System ready!
    Preparing for download...
    Press >S< to step into monitor...
    AUTO BOOT enabled
    +ReadKernelRegionFromNandFlash
    Image Signature in Flash Memory found (dwSig=0x43454345)
    TOC pointer=0x80E1BB94
    Kernel read from flash disk started finished


    ROMHDR (cTOC = 0x00ce2b94) ---------------------
    DLL First : 0x01ed01ed
    DLL Last : 0x02000000
    Physical First : 0x80139000
    Physical Last : 0x80e1d5a8
    Num Modules : 143
    RAM Start : 0x80e20000
    RAM Free : 0x80e51000
    RAM End : 0x82000000
    Num Copy Entries : 1
    Copy Entries Offset : 0x8050fc20
    Prof Symbol Length : 0x00000000
    Prof Symbol Offset : 0x00000000
    Num Files : 72
    Kernel Flags : 0x00000000
    FileSys RAM Percent : 0x80808080
    Driver Glob Start : 0x00000000
    Driver Glob Length : 0x00000000
    CPU : 0x01c2
    MiscFlags : 0x0002
    Extensions : 0x8013a14c
    Tracking Mem Start : 0x00000000
    Tracking Mem Length : 0x00000000
    Kernel read from NAND
    INFO: OEMLaunch: Jumping to Physical Address 0x30141FE8h (Virtual Address 0x80141FE8h)...



    Windows CE Kernel for ARM (Thumb Enabled) Built on Feb 8 2007 at 23:36:51
    ProcessorType=0920 Revision=0
    sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 80141eb0
    PicoMOD V1.12 - Firmware Init
    Copyright (c) 2006 F&S Elektronik Systeme GmbH
    Build: May 27 2008/16:32:17
    DCache: 8 sets, 64 ways, 32 line size, 16384 size
    ICache: 8 sets, 64 ways, 32 line size, 16384 size
    GPFCON=0x2a82, EXTINT0=0x1
    OEMInit: SDRAM = 32 MB
    KITL: OFF
    Samsung: 256MBit (32MB)
    Sp=ffffc7cc
    OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
    OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
    Samsung: 256MBit (32MB)
    OEMIoControl: Unsupported Code 0x1010104 - device 0x0101 func 65
    F3S_FSD: Checking serial number...
    F3S_FSD: Failsafe Flash File System - V2.7
    Samsung: 256MBit (32MB)
    F3S_FSD: Volume successfully mounted at \FFSDISK (size=15 MB)!
    OEM: Not cleaning system hive
    OEM: Not cleaning user profiles
    AC97: Can't read vendor id of audio codec
    COM: Version V2.0, ActiveKey = Drivers\Active\04
    COM: Version V2.0, ActiveKey = Drivers\Active\06
    OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
    OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
    DM9CE: DM9000/9000A/9010 driver v3.2.9 for WinCE 5.0>
    DM9CE: StationAddress [ 00-05-51-01-8b-30 ]
    MBD: ActiveKey (copy) = Drivers\Active\25 (@ 0x000566D0)
    SDIO: Reset ...ok
    SDHC: SetClockRate=100000
    NI2C: Version 1.6, ActiveKey = Drivers\Active\28
    DIO: Version 1.1, ActiveKey = Drivers\Active\29
    DIO: ActiveKey (copy) = Drivers\Active\29 (@ 0x00059510)
    Display-Mode: 100, Name Hitachi TX09
    Width: 240 Height: 320 Bpp: 16
    OEMIoControl: Unsupported Code 0x10100fc - device 0x0101 func 63
    Backlight is disabled in registry
    InitializeDisplayHardware Complete
    Lyg.p: Layout Manager successfully initialized to 2
    MSIM: IM_ReadRegistry read KB 5
    Indicated RS232 Cable Event
    OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
    DynRotate(): m_nScreenWidth=320, m_nScreenHeight=240, angle=0x4
    NDCUCFG V: 034 started. Platform: PicoMOD1
    CreateFile() failed -> ERROR COM1:
    NDISPWR:: Found adapter [DM9CE1]

  • Hallo,


    der NKP1_CF2_080527.bin Kernel beinhaltet bereits die sysisapi.dll (im windows Verzeichnis; versteckt).


    Um diese Verwenden zu können ändern Sie die Registry bitte wie folgt:


    !>reg open \comm\httpd
    !>reg open vroots
    !>reg enum
    OK -> reg enum key \
    00 "/SysAdmin" \
    01 "/" \
    !>reg open /sysadmin
    !>reg enum
    OK -> reg enum key \
    OK -> reg enum value \
    00 "a"=dword:0 \
    01 "Default"=string:\windows\sysisapi.dll \
    !>reg set val Default string \windows\sysisapi.dll
    !>reg save
    !>


    DKuhne.

    F&amp;S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hallo Herr Kuhne,


    ja, das war mir klar. Dieses funktioniert auch. Ich möchte allerdings eine eigene ISAPI-Extension zum laufen bringen, was mir bisher nicht geglückt ist. Daher hab ich versucht die sysisapi.dll in einem anderen Pfad zum laufen zu bekommen, um fest zu stellen, wo der Fehler liegen kann......


    Das ist der stark reduzierte Code für die eigene Extension, der leider wohl nicht geladen wird:


  • Hallo,


    ich denke Sie vergessen die für den Webserver benötigten Funktionen zu exportieren.
    1) Fügen Sie dem Projekt eine *.def Datei hinzu.

    Code
    1. LIBRARY "<<name of your program/dll>>"
    2. DESCRIPTION '<<the description>>'
    3. EXPORTS
    4. ; Explicit exports can go here
    5. HttpExtensionProc @1
    6. GetExtensionVersion @2


    2) Rechtsklick auf das Projekt -> Properties -> Linker -> Input -> Module Definition File -> Namen der *.def Datei eintragen.


    3) Rebuild



    DKuhne.

    F&amp;S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.