Skip to main content
Inspiring
Jul 26, 2021 3:46 PM UTC
Question

Correct IIS settings for CF 2021?

Hello

I updated my install of CF 2018 Dev. Ed. with 2021. Now I can't browse localhost because it's looking for a 2016 install.

Calling LoadLibraryEx on ISAPI filter "C:\ColdFusion2016\config\wsconfig\1\isapi_redirect.dll" failed.

So it's looking in the wrong place- another older 2016 install?

I can resolve HTML sites on localhost:8500/ but not CFM.

All my websites are in the inetpub/wwwroot directory which

I have not changed the original IIS configuration since even before 2016 I would like to be able to keep working in this directory & resolve both HTML & CFM files form there.

Can someone point me in the right direction?

This topic is closed to new replies. Start a new post to keep the conversation going.

12 replies

Priyank Shrivastava.
Inspiring
Jul 26, 2021 4:33 PM UTC

Hi,


You don't need any additonal settings for CF2021 in IIS. It will work with same settings. I can see you still have CF2016 ISAPI filter in IIS. First check, if you have removed the CF2016 connector, if not remove it and then create the CF2021 connector.

 

In case you have removed it and it is still there then you have to manually remove the CF2016 entries from IIS and then create the CF2021 connector. 

 

Please check this article: https://coldfusion.adobe.com/2016/10/removing-corrupt-connector-dependencies-from-iis/

 

Translate
Thanks, Priyank Shrivastava
Inspiring
Jul 26, 2021 4:54 PM UTC

Priyank: Thank you so much for your fast reply- if you could tell me what the path should be set to?

Translate
Priyank Shrivastava.
Inspiring
Jul 26, 2021 5:31 PM UTC

Hi,

 

We don't need to add anything manually. 

Here are the steps to remove the CF2016 connector. Go to \ColdFusion2016\cfusion\runtime\bin. Run the wsconfig.exe as administrator and remove the entry. If you don't see any entry there. 

 

Then launch the CF2021 connector utility. Go to \ColdFusion2021\cfusion\runtime\bin and run the wsocnfig.exe as administrator and Click on Add and then press OK. In the screenshot below,  I have highlighted the ALL-Individually, as I have already created connector with other sites. You will ALL, select ALL and then click on OK. It will prompt you for restarting the IIS, click ok and then test your website. 

 

 

Translate
Thanks, Priyank Shrivastava