Search This Blog

Thursday, January 26, 2017

CentOS 7.3 on HyperV

In order to make CentOS 7.3 work in Hyper-V, please add legacy network adapter first, then mount ISO

and run install from CENTOS73 folder.

Aftet that you will have support for standard network adapter and you can remove legacy one.

to activate automatic connection use  nmtui

Monday, January 16, 2017

LDAP limits for .net queries

When using LDAP queries in .NET or Java, do not forget about limits:

ntdsutil: ldap policies
ldap policy: connections
server connections: connect to server dc
Binding to srvdc ...
Connected to srvdc using credentials of locally logged on user.
server connections: q
ldap policy: show value

Policy                          Current(New)

MaxPoolThreads                  4
MaxDatagramRecv                 4096
MaxReceiveBuffer                        10485760
InitRecvTimeout                 120
MaxConnections                  5000
MaxConnIdleTime                 900
MaxPageSize                     1000
MaxQueryDuration                        120
MaxTempTableSize                        10000
MaxResultSetSize                        262144
MinResultSets                   0
MaxResultSetsPerConn                    0
MaxNotificationPerConn                  5
MaxValRange                     1500
ThreadMemoryLimit                       0
SystemMemoryLimitPercent                        0

ldap policy: set maxpagesize to 5000
ldap policy: commit changes
ldap policy: q
ntdsutil: q

Visual Studio hangs when debugging SharePoint .net code at breakpoint

if the VS hangs on breakpoint when debugging SP with Process attach, try to reset IDE:

devenv.exe /ResetSettings

Tuesday, January 3, 2017


be aware:

Log Name:      Operations Manager
Source:        HealthService
Date:          29.12.2016 15:30:53
Event ID:      1217
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      xxx
The Microsoft Monitoring Agent running on computer "xxx" is suspended for the following reason:
"ConfigMgr 5.00.8239.1000 - SMS_MaintenanceTaskRequests - {55B3DD10-2110-4EBC-A8EF-E03D66EB3160}"