Webserver ASP and ISAPI

  • I have been testing the picoCOM2's webserver and cannot get it to serve any ISAPI dlls that I create with VS2010 either C++ or C#.
    I have tried to create an ASP page too without any success.


    I can view the sysadmin demo (sysisapi.dll) and have followed the configuration steps required to view this. If I apply the same steps to my own built dll it does not work.


    I have searched the forum and found the code project example ISAPI and have downloaded the source and built it and again it does not work. sample can be found here <!-- m --><a class="postlink" href="http://www.codeproject.com/KB/ISAPI/isapi_extensions.aspx">http://www.codeproject.com/KB/ISAPI/isa ... sions.aspx</a><!-- m -->


    When I navigate to the url set up in VROOTS via the web browser I get an GET error 500???


    If I replace the dll with the sysisapi.dll and rename it to the registered dll I get the sysadmin pages all working ok!!!! This proves that the registry config is correct.


    I would prefer to use ASP if anyone has an example,I assume that deployment is the the same as with the ISAPI and just the dll is required and a registry entry to infor the webserver of its location when navigated to by a predetermined url, please correct me if I am wrong.


    How can I fix this, has anyone managed to run the code project example of a picoCOM2????


    Cheers
    Rick

  • Did you export functions needed by ISAPI?


    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

    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.

  • Still no luck with ISAPI, I have uploaded to this url


    http://www.sendspace.com/file/8nba9a


    a simple VS2008 project to this post please could someone test this with there system as I cannot get this working on the PicoCOM2.
    Its a project based on the f&s example given in one of the ISAPI posts I found.


    I do not understand why the sysadmin.dll prebuilt by MS works fine but this dll does not, must be my build process or something I have missed!!


    Cheers
    Rick

  • Did you read my question?

    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.

  • Please see here:
    <!-- l --><a class="postlink-local" href="http://www.forum.fs-net.de/viewtopic.php?f=4&t=2237">viewtopic.php?f=4&t=2237</a><!-- l -->

    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.