Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

IIS6 Svr 2003 ISAPI Extension DLL - Specified Procedure ca..

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  which scripts folder & dll is used?  
Author Message
omegaman

External


Since: Sep 03, 2003
Posts: 2



(Msg. 1) Posted: Wed Sep 03, 2003 6:21 pm
Post subject: IIS6 Svr 2003 ISAPI Extension DLL - Specified Procedure cannot be found.
Archived from groups: microsoft>public>inetserver>iis (more info?)

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 HTTPExtensionProc is called by the system (for
the breakpoints never get hit). The message printed to the page is:

"The specified procedure cannot be found"

Before I got the debugging session working It was calling the other
functions, for I had a log file with reports of those actions. So either I
have changed a setting which may cause the ISAPI dll to fail or I have
changed a build parameter in VC6.

Note just running the extension w/o the debugger or in release mode has the
same message displayed.

Any thoughts would be helpful...

advTHANKSance

-OmegaMan

 >> Stay informed about: IIS6 Svr 2003 ISAPI Extension DLL - Specified Procedure ca.. 
Back to top
Login to vote
wadeh

External


Since: Sep 03, 2003
Posts: 115



(Msg. 2) Posted: Wed Sep 03, 2003 10:10 pm
Post subject: Re: IIS6 Svr 2003 ISAPI Extension DLL - Specified Procedure cannot be found. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi OmegaMan,

For some reason GetExtensionVersion and/or HttpExtensionProc have not
actually been exported from the dll. Check to ensure that you have a .def
file that's included in the project that exports them (and check the case of
HttpExtensionProc, ie. not HTTPExtensionProc).

Thank you,
-Wade A. Hilmo,
-Microsoft

PS: If you have any other questions on this or any other ISAPI issue,
please feel free to post to
microsoft.public.platformsdk.internet.server.isapi-dev, which exists for
that purpose.

"OmegaMan" <omegaman.DeleteThis@pcisys.net> wrote in message
news:#hQcaFmcDHA.456@TK2MSFTNGP10.phx.gbl...
 > 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 HTTPExtensionProc is called by the system (for
 > the breakpoints never get hit). The message printed to the page is:
 >
 > "The specified procedure cannot be found"
 >
 > Before I got the debugging session working It was calling the other
 > functions, for I had a log file with reports of those actions. So either I
 > have changed a setting which may cause the ISAPI dll to fail or I have
 > changed a build parameter in VC6.
 >
 > Note just running the extension w/o the debugger or in release mode has
the
 > same message displayed.
 >
 > Any thoughts would be helpful...
 >
 > advTHANKSance
 >
 > -OmegaMan
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS6 Svr 2003 ISAPI Extension DLL - Specified Procedure ca.. 
Back to top
Login to vote
omegaman

External


Since: Sep 03, 2003
Posts: 2



(Msg. 3) Posted: Thu Sep 04, 2003 3:52 pm
Post subject: Re: IIS6 Svr 2003 ISAPI Extension DLL - Specified Procedure cannot be found. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Wade for the divining of the problem from afar...and your suggestion
pointed me in the right direction!

After examining the DLL in VC6's external tool, depends.exe, the dependency
walker, I noticed that my extension dll was not exporting any
symbols....hhhmmmmm

The confusion was that actually there was a .def file in the build
directory, with all the exported functions in place...but the file was not
included in the VC6 project, so the link step missed including it, hence the
functions were not exported. Doh!

Thanks for your help!


"Wade A. Hilmo [MS]" <wadeh.RemoveThis@microsoft.com> wrote in message
news:ugz4loocDHA.384@TK2MSFTNGP12.phx.gbl...
 > Hi OmegaMan,
 >
 > For some reason GetExtensionVersion and/or HttpExtensionProc have not
 > actually been exported from the dll. Check to ensure that you have a .def
 > file that's included in the project that exports them (and check the case
of
 > HttpExtensionProc, ie. not HTTPExtensionProc).
 >
 > Thank you,
 > -Wade A. Hilmo,
 > -Microsoft
 >
 > PS: If you have any other questions on this or any other ISAPI issue,
 > please feel free to post to
 > microsoft.public.platformsdk.internet.server.isapi-dev, which exists for
 > that purpose.
 >
 > "OmegaMan" <omegaman.RemoveThis@pcisys.net> wrote in message
 > news:#hQcaFmcDHA.456@TK2MSFTNGP10.phx.gbl...
  > > 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 HTTPExtensionProc is called by the system
(for
  > > the breakpoints never get hit). The message printed to the page is:
  > >
  > > "The specified procedure cannot be found"
  > >
  > > Before I got the debugging session working It was calling the other
  > > functions, for I had a log file with reports of those actions. So either
I
  > > have changed a setting which may cause the ISAPI dll to fail or I have
  > > changed a build parameter in VC6.
  > >
  > > Note just running the extension w/o the debugger or in release mode has
 > the
  > > same message displayed.
  > >
  > > Any thoughts would be helpful...
  > >
  > > advTHANKSance
  > >
  > > -OmegaMan
  > >
  > >
  > >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS6 Svr 2003 ISAPI Extension DLL - Specified Procedure ca.. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (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 ]