Bilal-S / iis2tomcat

AJP Connector between Internet Information Services (IIS) and Apache Tomcat
http://www.boncode.net/boncode-connector
49 stars 32 forks source link

Server error in application '/' #87

Closed genjav closed 4 years ago

genjav commented 4 years ago

Hi

We install version 1.0.41. And when the link is selected to enter the app, it shows the following error:

**Server error in application '/'

Could not load file or assembly 'BonCodeIIS, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = ad590a40d40745cf' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded**

It works using version 1.0.28

We use:

IIS 7.5.7600.16385 Windows server 2008 R2 Standard 64 bits Tomcat 9.0.12 Java 8 64 bits

Thanks

Bilal-S commented 4 years ago

genjav: The BonCode connector has changed the needed minimum dot-net version. It is mention in the Release History but not clarified well in documentation. I will add it there.

* Upd: Moved to minimum requirement of .net Framework 4.5

You will need to have dot-net version 4.5 feature installed for BonCode version 1.0.37 onward to work.

genjav commented 4 years ago

Thanks for answering.

We install .net Framework 4.5 (and restart the server) and still display the same message.

Thanks again.

Bilal-S commented 4 years ago

Did you change the application pool on each of the sites to the correct version of .net framework as well or only install the framework? It is under advanced settings for each website. Existing application pools do not get automatically changed.

image

genjav commented 4 years ago

Thank you for answering. You were right. We change that property and now it works.

Thank you very much for your help.