Jump to content

[ISAPI] Compile with Rad Studio 10, deploy on IIS 7


tappatappa

Recommended Posts

This may seem a weird question.

 

So I am upgrading my machine to a Win10/Rad Studio 10 setup.

 

I need to produce an ISAPI Module compatible with IIS7, but I see that now the uniGUI/ISAPI module project produces cpl files? Am I doing something wrong?

 

Please help!

Link to comment
Share on other sites

The previous post was not correct.
 
In RadStudio 10 Project manager the project is called <my project>.cpl, but actually it releases a .dll file.
 
Loaded in IIS 7, when I try to access localhost I get an error
 
HTTP 500.0
 
Modulo    IsapiModule
Notifica    ExecuteRequestHandler
Gestore    ISAPI-dll
Codice errore    0x8007007f
 
Using my previous setup (Windows 7/ Rad Studio XE6/uniGUI 0.99.0.1161) the same project worked.
 
Before you ask: I need to upgrade my development environment, but I can't force to upgrade all the servers to IIS 10.

Link to comment
Share on other sites

So what is the root of problem here?

 

-Windows version?

-IIS version?

-Rad Studio version?

-UniGUI version?

 

Good point. You can't separate IIS from Windows (Win7=>IIS7, Win10=>IIS10). But I will try some permutation of rad studio/uniGUI.

 

Edit: actually, I did NOT change IIS, that is the point :) 

Link to comment
Share on other sites

Here is some results

 

On Windows10-RadStudio10-uniGUI 0.99.80.1219

 

New>uniGUI for C++ Builder> ISAPI

Turn off all linking (RTL, DelphiRTL, Run time packages)

Build (Release)

resulting dll size 5397 KB

 

deployed on Windows 7 (IIS7) > HTTP 500.0 0x8007007f

 

New>uniGUI for Delphi> ISAPI

Turn off all linking (DelphiRTL, Run time packages)

Build (Release)

resulting dll size 3907 KB

 

deployed on Windows 7 (IIS7) > works

 

what is happening? O_O

Link to comment
Share on other sites

Maybe is a C++Builder 10 issue, I can't give you a definitive answer.

 

As I posted before

Delphi 10 > New (uniGUI for Delphi) > ISAPI works

C++ Builder 10> New (uniGUI for C++) > ISAPI ERROR

 

Maybe the cbproj generated by the uniGUI Application Wizard is somewhat flawed? While the dproj is correct?

Link to comment
Share on other sites

Can you please test same setup with XE8 and see if it works?

 

Unfortunately I can't, I skipped XE7 and XE8. Those Embarcadero guys are waaay to fast with their releases.

On the bright side: I may have found a setup that works in C++ Builder 10. Let me investigate it deeper and I will post my findings. Thanks for the support (as always)

  • Upvote 1
Link to comment
Share on other sites

In short: I tried the new C++ 32bit compiler (the CLANG LLVM one) with the same Includes, libs, and browsing paths as the "Classic Compiler".

The Hello World project works!

Now I need to port my awfully big project to the new compiler and ... :unsure:

It would be great if someone can confirm this "fix".

I don't know if it's related but see https://forums.embarcadero.com/message.jspa?messageID=706860

Link to comment
Share on other sites

×
×
  • Create New...