0 votes

Hello

I've broke my Adaxes setup after installing AD Certificate Authority Web Services (which use IIS too).

I've uninstalled the service but issue is still there.

Access to all Adaxes website fail with runtime error. Even Log tell me:

The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, '<compilation targetFramework="4.0">'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework. (C:\Program Files\Softerra\Adaxes 3\Web Interface\App\web.config line 18)

And I don't know how to fix that. I've tried to reinstall .Net 4.8 and it refuse to do it since already installed.

It's a Windows Server 2019 (Azure VM)

Any idea?

by (240 points)
0

Hello,

For troubleshooting purposes, please, do the following:

  • Specify the version of Adaxes you are currently using. For information on how to check that, see https://www.adaxes.com/help/CheckServiceVersion.
  • Specify when exactly the error occurs. Is it when you attempt to access a Web interface?
  • Send us (support@adaxes.com) a screenshot of the error message you are facing.

Any additional information will be much appreciated.

0

Hello

Version 3.14.18920.0

The error occuren when we try to access Adaxes and AdaxesConfig web interface. The native app works fine.

Here is the error we see on the web site image.png

And here is the event log

image.png

1 Answer

0 votes
by (294k points)

Hello,

Thank you for the provided details. First of all, please, make sure that ASP .NET 4.7 or 4.8 is enabled in section Turn Windows Features On or Off. You can directly access it by typing the section name in the Windows Start menu. If it is enabled, try re-installing the feature.

0

No changes

What I don't understand is the application pool settings available

image.png

But the framework is correctly reported on the system:

Get-STDotNetVersion


ComputerName : localhost
>=4.x        : 4.8 or later
v4\Client    : Installed
v4\Full      : Installed
v3.5         : Not installed (no key)
v3.0         : Not installed (no key)
v2.0.50727   : Not installed (no key)
v1.1.4322    : Not installed (no key)
Ping         : True
Error        :
0

Hello,

It looks like the Certificate Authority Web Services somehow influences the .NET Framework that is used by IIS application pools. For further troubleshooting, please, do the following on the computer where Adaxes Web interface is installed:

  1. Open Windows Start menu.
  2. Type Turn Windows Features On or Off and press Enter.
  3. Expand the window to display all .NET Frameworks installed.
  4. Take a screenshot. Post it here or send to us (support@adaxes.com).
  5. Expand Internet Information Services\Application Development Features.
  6. Take a screenshot. Post it here or send to us (support@adaxes.com).

Related questions

0 votes
1 answer

Hello, I have 3 groups in my AD environment and want to show all the users that belong to each group. For example - Group 1 Group 2 Group 3 The existing report in the Adaxes ... -Usser D etc. Is there a way to create a report like this? Thank you in advance!

asked Nov 6, 2020 by sirslimjim (480 points)
0 votes
1 answer

The Adaxes web server running on IIS recently stopped working after a reboot. Nothing has changed, it was a routine restart no updates were installed, After the web server ... but from any web interface, it shows this error. Any help would be appreciated.

asked Nov 25 by ADuser (60 points)
0 votes
1 answer

We have Exchange 2010 OnPrem and Office 365 Exchange Online in a full Hybrid environment. Using AD Active Sync. We have now moved all of our mailboxes to Exchange ... manage the OnPrem Exchange AD Attributes after the last Exchange 2010 server is removed?

asked Jun 1, 2020 by StevePogue (20 points)
0 votes
1 answer

Hi, we've been using this script for some time but after the upgrade to 2023 it's now erroring out as below: As you can see I've done some logging out of ... .BindToObject($groupPath) is not returning an object. Any suggestions of how to fix? Thanks, Allister

asked Dec 1, 2022 by Allister (20 points)
0 votes
1 answer

I'm trying to provide the capability for ID admin users to perform AD tasks using the web interface. I am not able to edit attributes for an existing user when ... any attribute it gives me an error "An unexpected response was received from the server".

asked Apr 8, 2021 by atnorman (120 points)
3,588 questions
3,277 answers
8,303 comments
548,096 users