wiki.getshifting.com

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


start

SHIFT-WIKI - Sjoerd Hooft's InFormation Technology

This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.


Fix: Ldaperr: DSID-0C0903AA comment: AcceptSecurityContext error data 525 v1772

Summary: A fix for LDAP error 'Ldaperr: DSID-0C0903AA comment: AcceptSecurityContext error data 525 v1772'
Date: Around 2013
Refactor: 16 January 2025: Checked links and formatting.

While tooling around creating this page I came across this very annoying error:

autoyast:~ # ldapsearch -h 10.10.10.101 -D CN=saldap,CN=Users,DC=adldaptest,DC=local -w ******** -b DC=adldaptest,DC=local -x uid=sjoerd
ldap_bind: Invalid credentials (49)
        additional info: 80090308: LdapErr: DSID-0C0903AA, comment: AcceptSecurityContext error, data 525, v1772

Turned out that when doing AD LDAP binds like this, you need to use the user principal name (userPrincipalName):

ldapsearch -h 10.10.10.101 -D saldap@adldaptest.local -w ******** -b DC=adldaptest,DC=local uid=sjoerd
2025/06/01 11:59
, ,

Fix: CommVault: Invalid CS Cache

Summary: Fix the situation in which the CommServe cache has become corrupted on a windows client.
Date: Around 2019
Refactor: 2 January 2025: Checked links and formatting.

I wanted to update a CommVault client and received this error:

It appears that CS cache is corrupt, delete the cache, download updates again and retry.

And when I checked the updates configuration in the commcell console I saw a message confirming that the CommServe Cache was invalid:

cvcache01.jpg

The steps to solve this are the following:

  1. Manually delete the entire directory and recreate the directory
  2. Login to the CommCell Browser, right-click the CommServe icon, click All Tasks → Download Automatic Updates.
  3. From the Download Updates Job Options dialog box, click Run Immediately

This will start the download from the updates if you have the updateserver configured. When the downloads are complete you will have a valid CommServe Cache again:

cvcache02.jpg
2025/06/01 11:59

Fix: IIS error: serverruntime@appconcurrentrequestlimit setting is being exceeded

Summary: Fix the IIS error serverruntime@appconcurrentrequestlimit setting is being exceeded
Date: 23 September 2022
Refactor: 15 December 2024: Checked formatting and added some context.

This error happens on IIS when a IIS server is overloaded. By default, the app pool in which the sites live have limited concurrent requets configured. You need to change three settings as shown below. Don't forget to reboot the server afterwards. This was done and tested successful on a Windows Server 2016 with IIS 10.0

→ Read more...

2025/06/01 11:59
,

Fix: Editing Excel Documents With Powershell as Scheduled Job Fails

Summary: When automating excel tasks with powershell as a scheduled job you might run into issues, as server-side office tasks are not always that easy. But sometimes the fix is very easy.
Date: Around 2019
Refactor: 2 January 2025: Checked links and formatting.

Due to some weird issues with excel or powershell (nobody knows for sure although Microsoft claims it's not supported here ) it seems impossible to edit, create or save Excel documents with powershell when running it as a scheduled job, when set that the user running the task does not have to be logged on. Searching the Internet there is a solution, which worked for me and a lot of other people. You'll have to create some folders depending on if you're running Windows in 32bits or 64bits:

You'll always have to create this folder:

C:\Windows\System32\config\systemprofile\Desktop

And if you're running 64bits you also have to create this folder:

C:\Windows\SysWOW64\config\systemprofile\Desktop

Now it will work.

2025/06/01 11:59

<< Newer entries | Older entries >>

This wiki has been made possible by:

start.txt · Last modified: by sjoerd