Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

ISAPI Extension DLL don't work on IIS6

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  OWA 2003 / IIS 6.0 - Error 404 opening attachment..  
Author Message
joncao

External


Since: Sep 20, 2004
Posts: 1



(Msg. 1) Posted: Mon Sep 20, 2004 12:17 pm
Post subject: ISAPI Extension DLL don't work on IIS6
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have created an ISAPI dll file by using VC++ ISAPI Extension wizard.

I posted it into IIS 5 server, it worked fine. However, when I posted into
IIS6 server, it doesn't work.
When I said it works, it populated what i want: the HTML interface; dons't
work, the page can not be found error appearing.

I have posted this dll file into virtual "scripts" directories acording the
doucmentati, on both of IIS5 and IIS6 with the exact same steps and
procedures.

What this DLL does is that it gets information from remote IP through
WinSock and post thoese info into HTML.

Thnaks very much in advance!

 >> Stay informed about: ISAPI Extension DLL don't work on IIS6 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 2) Posted: Mon Sep 20, 2004 6:31 pm
Post subject: Re: ISAPI Extension DLL don't work on IIS6 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

For security reasons, IIS6 does not allow any code to execute by default
(only static files with configured MIMEType can be served). A few
applications will detect IIS6 and add/enable themselves in Web Service
Extensions, but vast majority of applications require manual setup steps.
You will have to set up a Web Service Extension for your custom ISAPI and
enable it so that IIS6 will allow it to execute. Please search this
newsgroup, IIS documentation (from IIS Manager UI, F1 help Troubleshooting
section should be enough) about "404" errors and you should find the
solution.

FYI: ISAPI has always been able to retrieve the remote IP WITHOUT using
Winsock. Just use GetServerVariable() on "REMOTE_ADDR" and "REMOTE_PORT" as
documented on MSDN.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"joncao@cox.net" <joncao.DeleteThis@cox.net@discussions.microsoft.com> wrote in message
news:7D7602A7-C5EB-487D-9704-D8A0F34360F0@microsoft.com...
I have created an ISAPI dll file by using VC++ ISAPI Extension wizard.

I posted it into IIS 5 server, it worked fine. However, when I posted into
IIS6 server, it doesn't work.
When I said it works, it populated what i want: the HTML interface; dons't
work, the page can not be found error appearing.

I have posted this dll file into virtual "scripts" directories acording the
doucmentati, on both of IIS5 and IIS6 with the exact same steps and
procedures.

What this DLL does is that it gets information from remote IP through
WinSock and post thoese info into HTML.

Thnaks very much in advance!

 >> Stay informed about: ISAPI Extension DLL don't work on IIS6 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Can not get ISAPI extension to work in IIS 6.0 - I can't seem to get a very simple ISAPI extension (generated from the ..NET wizard). I added the permission through the Web Service Extensions. While debugging it, it does go through the process of calling the constructor on my class MyExtension..

IIS6 Svr 2003 ISAPI Extension DLL - Specified Procedure ca.. - I am working on a C++ extension DLL created in VC6 and used under IIS6 and 2003 Server. When I debug into the ISAPI extension DLL, the DLLMain's gets called for DLL Attach action (true returned) but no other exposed functions such GetExtensionVersion or....

Why cant i add an isapi extension - I right click on my virtual directory go to properties, directory and under application settings go to configuration. I then try to add an executable for an extension but keep getting told invalid file path?? If i put the dll file in the root of c driv...

Jrun - ISAPI extension - Hi, I upgraded to win server 2003, used the lockdown tool for IIS as recommended during installation. Now Jrun ISAPI extension doesn't go up (keeps showing red arrow down). I added the extension on IIS 6.0 and enable it (allow), then deleted the old..

how to debug ISAPI extension in IIS 6.0 - I didn't find any article on this in MSDN. I want to debug an ISAPI extension running in IIS 6.0 in win2k3 box. I am building the DLL in native C++ in VS.NET. Any help in this regard is appreciated. Thanks, Manoj
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]