Written by

Question Nezla · Apr 24, 2024

Unable to access web Gateway via IIS

Hi

I've installed Ensemble 2018 then enabled IIS from Win features, then realized that CSPGateway doesn't exit so I downloaded and installed CSPGateway-2018 from WRC.

so now I'm trying to set up a Website application and facing some issues, and I think IIS and CSPGateway in inetpub are not connecting or synchronising properly but mostly is accessing Web gateway via IIS my understanding is that I can access using the following url http://machinename/csp/bin/Systems/Module.cxw  using my machinename or IP but it's not happening.

I can access the gateway from Managment portal with this url http://localhost/csp/bin/Systems/Module.cxw 

do I need to have IIS installed in windows features before installing Ensemble!?

Thanks  

Product version: Ensemble 2018.1

Comments

Cristiano Silva · Apr 24, 2024

Hi @Nezla 

If you install Ensemble before install ISS, you need to setup the CSPModule manually in IIS. If ISS is intalled before install Enemble, the Ensemble install setup the CSP Module on IIS for you.
For more information read the documentation: 

Web Servers for Microsoft Windows | CSP Gateway Configuration Guide | Caché & Ensemble 2018.1.4 – 2018.1.9 (intersystems.com)

Watch the Webinar Configuring IIS for Better Performance and Security with (intersystems.com.

0
David Hockenbroch  Apr 24, 2024 to Cristiano Silva

@Cristiano Silva, Rochdi is using Ensemble 2018. Does that version automatically configure IIS if you install it after IIS? I could be wrong, but I thought that automatic configuration was only in more recent versions of IRIS.
 

0
Cristiano Silva  Apr 24, 2024 to David Hockenbroch

Hi @David Hockenbroch 

Cache/Ensemble they do the configuration. See the screenshot below. I just did a new installation of Ensemble. The highlighted columns are the file update time.

0
Nezla  Apr 25, 2024 to Cristiano Silva

I've uninstalled Ensemble 2018 and CSPGateway and with IIS already enabled, I've re-installed Ensemble 2018 but it didn't install CSPGateway folder in intepub, I've then formated my machine, installed Win 10 enterprise, enabled IIS then installed Ensemble 2018 with Development option and still didn't install CSPGateway in intepub ?

0
Enrico Parisi · Apr 26, 2024

It's long time I don't install Ensemble 2018, why are you still using Ensemble and not IRIS?

I just tested installing Ensemble 2018 and CSP Gateway is properly installed and configured.

When the setup kit is run the first dialog is:

Do you get the same dialog? What option you choose?
As you can see it is also possible to install only the CSP Gateway component.

If you choose Custom then this dialog is displayed:

As you can see the option to install CSP Gateway for IIS is there.

If I proceed to the install, at the end I have the CSP Gateway properly configured in C:\inetpub\CSPGateway

In order to help you, apart from saying that is not being installed, can you provide some information on what you are actually doing and what do you actually see/get during install?

0
Nezla  Apr 27, 2024 to Enrico Parisi

We are first converting from Ensemble 2014 to 2018 in order to be able to convert to IRIS.

I'm installing the latest ensemble-2018.1.9.805.0-win_x64 and expanding the Web server gateway option this is what I get:

is that means my installer doesn't have it?

0
Enrico Parisi  Apr 27, 2024 to Nezla

If you select the option you have highlighted, then CSP Gateway will not be installed, if you don't change it, then it will be installed.
What option do you use when you install? (first dialog)

However, is this a new fresh install or an upgrade of an existing Ensemble instance?

0
Nezla  Apr 27, 2024 to Enrico Parisi

Yes I just go with the first dialog and use the defaults, and its a fresh new install with not other Ensembles instances are installed and I'm surprised why I'm not getting the csp gateway installed in inetpub, I even formatted the whole machine, installed Win 10 Enterprise, enabled IIS then installed Ens 2018 and still CSPGateway not insllatted in inetbup!?    

0
Enrico Parisi  Apr 27, 2024 to Nezla

CSPGateway not insllatted in inetbup

How do you check that?

0
Nezla  Apr 27, 2024 to Enrico Parisi

I go to Inetpub expecting that I see CSPGateway folder in there?

and also in IIS I thought there should be a CSPms DLL as well?

0
STEPHEN Pisani  Apr 27, 2024 to Enrico Parisi

So, as others have confirmed here, to recap, installing Ensemble 2018 on an instance of Windows that already has IIS installed - plus, you take the defaults when installing Ensemble .. should have installed the CSP gateway on IIS.

Is there an installation log file worth reviewing for any clues ? (I believe there is ensemble-install log in the installation root folder). 

0
Nezla  Apr 29, 2024 to STEPHEN Pisani

I can always install the Gateway as I have already just installed it but the reason why I'm asking is that because after installing the gateway from CSPGateway installer my application didn't work and was wondering if not having the gateway initially installed with ensemble could be the reason why the Zen application is not working, I've raised a separate case in this link: 

Page not found in Zen application | InterSystems Developer Community |
Thanks

0