Skip to main content
Participant
February 4, 2021
Question

ColdFusion 2021 - WSConfig - An unknown error has occurred.

  • February 4, 2021
  • 1 reply
  • 1333 views

I installed ColdFusion 2021 Developer Edition on a newly created Azure VM runing Wndows 10 Pro, and IIS 10.  I then started the process to add a website to the VM by creating a Server instance in the CF Admin, and a webstie in IIS.  After that I ran the WSConfig.exe for the website in Administrator mode.  I clicked the "Add" button, made sure the "AppServer Host" and the "IIS Website" were for the website I added.  When I clicked the "OK" button I received a popup with the error "An unknown error has occurred."  The only option on the popup error was an "OK" button, which I clicked.  The connection was not made.  The attached image is a screen shot of a window that was running in the background.  I don't know if it helps.  Any suggestions on how I can get the WSConfig to work?

 

This topic has been closed for replies.

1 reply

Charlie Arehart
Community Expert
Community Expert
February 4, 2021

ibwebn65, yours may be one of a couple issues.

 

First, you say that you "made sure the "AppServer Host" and the "IIS Website" were for the website".  To be clear, you should not have changed that AppServer Host value from its default of localhost. Its purpose is not to name what USERS would refer to: it's to name how the IIS site configuration for CF (the files in CF's config/wsconfig folders) should refer to the CF server. And since you say both CF and IIS are on the same machine, that value should be localhost. 

 

But separate from that, some people have had other issues with the connector in 2021 (it works for some, but not for others). Like the above, there could be different explanations.

 

But in case you find that even changing the value to localhost does not work, then check out the discussion at this CF bug tracker ticket.  I learned of it from another discussion here of a similar problem, where someone mentioned they got a fix from Adobe. I am assuming it's the same one. Currently, neither place offers a link to the update, so you can either watch those places or email adobe about it at cfinstal@adobe.com, referring to that ticket, CF-4210996.

 

Let us know how it goes.

/Charlie (troubleshooter, carehart. org)
ibwebn65Author
Participant
February 5, 2021

I'm sorry for using the wrong terms.  In the CF Admin > Enterprise Manager is where I used the "Add New Instance" to create a new CF Instance.  In IIS Manager > server_name > Sites is where I clicked on "Add Website" to create a new IIS site.  I then used the WSConfig to connect the "AppServer Instance" with the "IIS Website".  It is when I clicked the OK button in the WSConfig to connect the two that I received the error message popup.

 

Thank you for the link to the other WSConfig ticket.  It looks like the problem might be with the wsconfig.jar file.  I will send another email to the cfinstal@adobe.com to reference the ticket number CF-4210996.  Hopefully it works.  Again, thank you.

 

 

Community Expert
February 5, 2021

I would generally recommend against using multiple CF instances on the same machine to service multiple IIS sites. Of course, that's a "general" recommendation and there are plenty of specific reasons why you might want to ignore it, but I guess I'm saying don't just do it because you can. A single CF instance can consume all the RAM you have to throw at it, and service any number of IIS sites on the same box.

 

That said, each CF instance has its own wsconfig app, and I've occasionally found that making sure running the right one helps things work better. Note "occasionally" - I'm not sure this is supposed to be necessary, it's just one of the little things I've picked up that makes my life easier sometimes.

 

Dave Watts, Eidolon LLC

Dave Watts, Eidolon LLC