Solved

ISAPI DLL will not execute with Windows XP Professional.

Posted on 2004-08-27
10
186 Views
Last Modified: 2010-04-05
I have a project which runns on Windows 2K, but since changing to windows XP I cannot get the thing to execute.
In both occasions I use IIS.

I have re-compiled the WEB DLL to an EXE, and this works fine.
But with XP I just cannot get the DLL's to run. All I get is "The page cannot be displayed".


Is there a setting on the IIS that I have missed ?
0
Comment
Question by:chunky1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 13

Expert Comment

by:BlackTigerX
ID: 11914371
(from IIS manager) did you set the Execute Permissions to Scripts and Executables in the folder where you dropped your ISAPI DLL?

if you did, then the only other thing to do is use a log file where you write from your ISAPI file all the steps, then you'll be able to see where it "broke"

Other thing you might want to do is in your Internet Options | Advanced, Browsing, check OFF the option "Show friendly HTTP error messages"
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 11915089
You may need to set the DLL as an 'Allowed Web Server Extension' under the ISS manager, this got my projects up and running.

DAvid
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 11915167
This file has alot of info related to moving between 2000 and 2003/XP might be of some use
www.microsoft.com/korea/ windowsserver2003/docs/MovingNT4.doc

page 9 looks interesting - have you checked your security measures ?

David
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 13

Expert Comment

by:BlackTigerX
ID: 11916843
for XP you should only need to set the Scripts and Executables permission... for 2003 is where you need to add the "allowed server extension"
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 11921867
BlackTigerX  > technicalities technicalities, it still might well help - wouldnt it depend on which version of ISS is running ?
0
 
LVL 1

Author Comment

by:chunky1
ID: 11940638
In IIS I have the Execute permissions set to 'Scripts & Executables'.

I cannot create a log file from my DLL as it never loaded, This I have prooven by inserting a basic 'beep' statement in the oncreate routine.

I have set my browser configuration to dis-allow any friendly messages, after looging at the log file for the IIS status 500 is returned.

I have tried looking for where I can set the DLL as an allowed Web Server Extension, but I am not sure where this is. I have a setting tab called 'Server Extensions'  but in here I have two options :- 1. Enable Authoring. 2. Don't inherit secuity settings.

IIS is version 5.1

I have also read the interesting article from David but after reading through it and doing some investigating, I dont seem to have a copy of the lockdown wizard.
0
 
LVL 13

Expert Comment

by:BlackTigerX
ID: 11965089
you need to put your logging mechanism not inside the class only, but from the DLL, so you can see before it even creates the module
are you using any third party components from that ISAPI DLL? if you are, then that could be the problem if you don't have the necessary DLLs in the other machine

"allowed Web Server Extension" is only required in Windows 2003 (IIS 6), for IIS 5.1 you only need to do the Scripts and Executables
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 11965884
The IIS look down tool is located here

http://www.microsoft.com/technet/security/tools/locktool.mspx

have you got microsofts ISAPI Filter Enabled? you need that to run any ISAPI dll's, I assume its automaticaly enabled...

David
0
 
LVL 7

Expert Comment

by:DavidBirch2dotCom
ID: 11965891
A lot of general ISAPI info here, prehaphs somthing there might help

http://www.dataweb.de/en/support/isapi.html

David
0
 
LVL 1

Accepted Solution

by:
primusmagestri earned 75 total points
ID: 11967296
Set the security level to low to default web site and your virtual directories (for test only). Set the user that will be used to authenticate with this application (put in a local user on that machine, not the usual IUSR_... :)) Try to debug your application and see where it fails.
From my experience, there should be no problem running an ISAPI dll on wXP if it worked on w2K.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi application Soap connection 5 151
how to send memory stream from ics Client To ics server ? 11 203
DBCtrlGrid, Delphi, Scroll 7 34
delphi popmenu non latine charcters 3 45
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question