cancel
Showing results for 
Search instead for 
Did you mean: 

Execution of owauser.wsf failing with error 1

Marcde
Moderator
Moderator
Partner    VIP    Accredited

I am running into some errors while executing owauser.wsf. 

At the beginning the following error occured (which is solved by enabling Read/Wrtite for IP Address and Domain Restrictions): 

29:32.42 SetAuthentication on section "basic" in path "Default Web Site/EVAnon/V12.2.0.1437" to: True
29:33.37 Main Exception Message: Filename: \\?\C:\inetpub\wwwroot\web.config
Line number: 6
Error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".

 

After this it failed with

09:12.54 SetAuthentication on section "basic" in path "Default Web Site/EVAnon/V12.2.0.1437" to: True
09:13.45 Main Exception Message: Filename: \\?\C:\inetpub\wwwroot\web.config
Line number: 7
Error: Cannot add duplicate collection entry of type 'add' with combined key attributes 'ipAddress, subnetMask, domainName' respectively set to '192.xxx.xxx.xxx, 255.xxx.xxx.xxx, '

Which I sorted out by removing the following entry from the mentioned web.config

<add ipAddress="192.xxx.xxx.xxx" allowed="true" />

This line in addition to 3 more lines for the IPs of the cas-servers were added again after another run of owauser.wsf

Running into the following now: 

31:25.27 SetAuthentication on section "basic" in path "Default Web Site/EVAnon/V12.2.0.1437" to: True
31:26.13 CommitChanges Committing changes to database.
31:26.18 Main Exception Message: Value does not fall within the expected range.
31:26.18 Main Finished at: 15.11.2017 16:31:26

Did anyone ever see the last error before? 

 

Thanks in advance

Marc

PMCS GmbH & Co. KG - A Serviceware Company
www.serviceware.de
1 ACCEPTED SOLUTION

Accepted Solutions

Marcde
Moderator
Moderator
Partner    VIP    Accredited

We finally got this sorted out with the help of Veritas technical support.

After enabling the IIS-Configuration and IIS-Logging eventlogs we saw the error events 42 and 43 when executing owauser.wsf

42

Description:
Failed to initialize the 'AesProvider' encryption provider in '\\?\C:\Windows\system32\inetsrv\config\applicationHost.config'. Please check your configuration.

 

43

Failed to encrypt attribute 'Microsoft.ApplicationHost.AesProtectedConfigurationProvider'.

Based on this we verified the mentioned applicationHost.config and realized that something or someone copied this file from another system which lead to the error while initializing AesProvider encryptionprovider (which we use to encrypt the evanon password in the configuration file). We found some older applicationHost.config files under C:\inetpub\history , compared them against the file currently in use and replaced it. After this we were able to execute owauser.wsf without an error.

 

Regards 

Marc

 

PMCS GmbH & Co. KG - A Serviceware Company
www.serviceware.de

View solution in original post

3 REPLIES 3

VirgilDobos
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi Marc,

What is the Exchange version?

--Virgil

Marcde
Moderator
Moderator
Partner    VIP    Accredited

Hi Virgil,

2010 SP3.

 

 

Regards

Marc

PMCS GmbH & Co. KG - A Serviceware Company
www.serviceware.de

Marcde
Moderator
Moderator
Partner    VIP    Accredited

We finally got this sorted out with the help of Veritas technical support.

After enabling the IIS-Configuration and IIS-Logging eventlogs we saw the error events 42 and 43 when executing owauser.wsf

42

Description:
Failed to initialize the 'AesProvider' encryption provider in '\\?\C:\Windows\system32\inetsrv\config\applicationHost.config'. Please check your configuration.

 

43

Failed to encrypt attribute 'Microsoft.ApplicationHost.AesProtectedConfigurationProvider'.

Based on this we verified the mentioned applicationHost.config and realized that something or someone copied this file from another system which lead to the error while initializing AesProvider encryptionprovider (which we use to encrypt the evanon password in the configuration file). We found some older applicationHost.config files under C:\inetpub\history , compared them against the file currently in use and replaced it. After this we were able to execute owauser.wsf without an error.

 

Regards 

Marc

 

PMCS GmbH & Co. KG - A Serviceware Company
www.serviceware.de