I inherited a couple of dbs that are similar - one dept, one enterprise use. Speficic records from the dept when deemed as enterprise or “boarded” to the enterprise db (parent & children docs). Issue was that the boarded records could not be edited (the computed fields had not calculated despite computewithform in the boarding code.) I created a flag for the boarded items, performed a manual refresh of them & created a view & simple agent: Command([ToolsRefreshAllDocs]) to run on new & modified docs in this view. Corrected the problem - however some users are getting an .NSD error upon saving & closing the record (no code changed - shared Save & Close button. The error log is:
++++++++++++++++++++++++++++++
ERROR (0): AdjustTokenPrivileges failed - (1300) Not all privileges referenced are assigned to the caller.
WARNING (0): NSD is unable to obtain privileges for some debugging operations. If you are running as a limited or restricted user then NSD will be unable to obtain some of the information it is attempting to collect. NSD will also produce error messages when privileged operations fail. However, useful data such as Notes/Domino callstacks will still be collected.
INFO (0): Using PSAPI DLL
search path: .;C:\WINDOWS
ERROR (4): can’t attach to process [ ?:0004] - (5) Access is denied.
(…)
############################################################
FATAL THREAD 1/9 [ NLNOTES:104c:0f3c]
FP=0x0013e3e4, PC=0x6003e4ab, SP=0x0013e3d4, stksize=16
EAX=0x04a1fc70, EBX=0x00000000, ECX=0x00c442f8, EDX=0x00c442f8
ESI=0x04a1fc70, EDI=0x00000000, CS=0x0000001b, SS=0x00000023
DS=0x00000023, ES=0x00000023, FS=0x0000003b, GS=0x00000000 Flags=0x00010246
Exception code: c0000005 (ACCESS_VIOLATION)
############################################################
@[ 1] 0x6003e4ab nnotes.LSSiMEMMGR::OSHeapBlkFree+187 (4a1fc70,0,0,0)
@[ 2] 0x6005345d nnotes.LSSiMEMMGR::BlkFree+45 (c442f8,4a1fc78,47bf888,0)
@[ 3] 0x600871f4 nnotes.LSSiSAM::BlkFree+36 (c46644,4a1fc78,c46f10,47b0000)
@[ 4] 0x600ed036 nnotes.LSsChunkMgr::Destruct+54 (47bf888,13e450,600ec374,47bf888)
@[ 5] 0x600ec2cc nnotes.LScNameMgr::Destruct+12 (47bf888,47bf528,13e468,600ec0e1)
@[ 6] 0x600ec374 nnotes.LSsModule::Destruct+100 (47bf528,130021,47bf528,c46f10)
@[ 7] 0x600ec0e1 nnotes.LSsInstance::DeleteModule+161 (c46f10,47bf528,0,c47648)
@[ 8] 0x600ecfd1 nnotes.LSsInstance::ModuleUnload+97 (c46f10,47bf528,0,0)
@[ 9] 0x6125c64e nnotesws.LSEcInstance::UnloadScriptModule+30 (c47648,47bf528,0,0)
@[10] 0x6125c7c0 nnotesws.LSEcInstance::UnloadUsedModule+336 (c47648,47bf528,49fec88,13e6d4)
@[11] 0x6125c789 nnotesws.LSEcInstance::UnloadUsedModule+281 (c47648,484f8e8,49fec40,13e608)
@[12] 0x6121fe9f nnotesws.LSEcCIScrObj::ScriptUnload+47 (49fec88,484f8e8,0,13e61c)
@[13] 0x61aa0e86 nnotesws.LSEcSAScrObj::Unload+38 (49fec40,0,47ae500,13e690)
@[14] 0x611bc92a nnotesws.LSEcSAScrObj::DoMethod+138 (49fec48,303,0,47ae500)
@[15] 0x611a6e3b nnotesws.LSEcSAScrInt::ClassControl+235 (49fec48,479f680,109,13e6b8)
@[16] 0x600590e2 nnotes.LSsInstance::AdtCallBack+226 (479f680,611c1060,109,47aba18)
@[17] 0x6007005d nnotes.LScObjCli::ProdMethodCall+61 (47ab9d8,303,47df01c,10000)
@[18] 0x6006ff54 nnotes.LSsThread::AdtDoProdCallout+164 (47ae2f0,47ab9d8,10000,47defd0)
@[19] 0x6006fe6f nnotes.LSsThread::AdtCallMethod+47 (1,47e7218,1,47ae2f0)
@[20] 0x60022ae4 nnotes.LSsThread::NRun+6516 (47ae2f0,47c4ae8,47ae2f0,13e86c)
@[21] 0x60023286 nnotes.LSsThread::Run+182 (47ae2f0,479f680,479f680,c46644)
@[22] 0x60026fd6 nnotes.LSsThread::ExecuteEvent+262 (47ae2f0,47ab368,47ae440,2)
@[23] 0x60025c79 nnotes.LSsInstance::RunEvent+297 (479f680,c47a30,21f,2)
@[24] 0x600273a9 nnotes.LSsInstance::RaiseEvent+89 (479f680,c47a30,21f,2)
@[25] 0x6119107d nnotesws.LSEcSAScrInt::DoRaiseEvent+93 (c47a30,21f,2,13e9f8)
@[26] 0x611911a6 nnotesws.LSEcSAScrEnv::DoRaiseEvent+38 (c47a30,21f,2,13e9f8)
@[27] 0x61191147 nnotesws.LSEcInstance::DoScrEnvEvent+135 (c47648,21f,2,13e9f8)
@[28] 0x61a994ce nnotesws._LSEObjectDelete@12+78 (c47648,5b6f0f4,5b6def4,6f00934)
@[29] 0x615beb50 nnotesws.CLSUIDocument::RemoveScriptObject+112 (f01c011d,4e4b374,1,0)
@[30] 0x61211efa nnotesws._DocScriptTerm@4+330 (5b6f0f4,0,5b6f0f4,5b6cd08)
@[31] 0x61213a75 nnotesws.CEdDoc::DeleteSubstructures+501 (0,5b6f0f4,5b6cdf4,1)
@[32] 0x61213ff5 nnotesws.@DocDelete@4+165 (1a905bc,5b6d8f4,5b6d8f4,1)
@[33] 0x611b8272 nnotesws._EditInstanceMessage@24+466 (5b6f0f4,1a905bc,402,1)
@[34] 0x611b7b8f nnotesws.CEditSubprogram::SubMessageProc+191 (5b6d8f4,402,1,0)
@[35] 0x61184904 nnotesws._MainWndProc@16+6932 (1a905bc,402,1,0)
[36] 0x7e418734 USER32.GetDC+109 (61182df0,1a905bc,402,1)
[37] 0x7e418816 USER32.GetDC+335 (0,61182df0,1a905bc,402)
[38] 0x7e41b89b USER32.GetParent+364 (914680,9076a8,1,0)
[39] 0x7e42f3cc USER32.SendMessageA+73 (1a905bc,402,1,0)
@[40] 0x61202fd7 nnotesws.CSubprogram::InstanceTerm+39 (5b6d8f4,1,0,5b6d8f4)
@[41] 0x61202bcc nnotesws.CSubprogram::Destroy+716 (5b6d8f4,1,13f030,611b604d)
@[42] 0x61202fa0 nnotesws.CSubprogram::FCFrameManagedShutdown+16 (5b6d8f4,1,5b6d8f4,0)
@[43] 0x611b604d nnotesws.fsUnloadFrame+125 (5b6ccf4,d,0,42f)
@[44] 0x611ccbeb nnotesws._FSSetFrameSub@20+891 (42f,0,0,d)
@[45] 0x61642c0c nnotesws.CEditorMonitorSubprogram::DestroyAllSubs+60 (5b6d0f4,0,0,5b6d0f4)
@[46] 0x616420cb nnotesws.CEditorMonitorSubprogram::InstanceTerm+283 (5b6d0f4,1,42c,5b6d0f4)
@[47] 0x61202bcc nnotesws.CSubprogram::Destroy+716 (5b6d0f4,1,6effcf4,13f128)
@[48] 0x6166c8f3 nnotesws.CDocumentSubprogram::DestroySub+19 (6effcf4,0,5b6d0f4,5)
@[49] 0x6166c85e nnotesws.CDocumentSubprogram::InstanceCleanup+174 (5b6d0f4,0,6effcf4,13f174)
@[50] 0x6166a822 nnotesws.CDocumentSubprogram::InstanceTerm+34 (6effcf4,1,dc0490,0)
@[51] 0x61202bcc nnotesws.CSubprogram::Destroy+716 (6effcf4,1,13f540,61182df0)
@[52] 0x61184181 nnotesws._MainWndProc@16+5009 (6effcf4,490,4,502)
[53] 0x7e418734 USER32.GetDC+109 (61182df0,dc0490,490,4)
[54] 0x7e418816 USER32.GetDC+335 (0,61182df0,dc0490,490)
[55] 0x7e41b89b USER32.GetParent+364 (9124a8,9123b8,4,502)
[56] 0x7e42f3cc USER32.SendMessageA+73 (dc0490,490,4,502)
@[57] 0x61395fda nnotesws.CNEMTabSubprogram::CloseTab+234 (1668c78,502,1640410,1668c78)
@[58] 0x61395380 nnotesws.CNEMTabSubprogram::ProcessClick+144 (1668c78,195,b,0)
@[59] 0x61394751 nnotesws.CNEMTabSubprogram::RedirectWndProc+673 (1668c78,1640410,202,0)
@[60] 0x611bcb1f nnotesws._TabSubprogramWndProc@16+143 (1,202,0,b0195)
[61] 0x7e418734 USER32.GetDC+109 (611bca90,1640410,202,0)
[62] 0x7e418816 USER32.GetDC+335 (0,611bca90,1640410,202)
[63] 0x7e4189cd USER32.GetWindowLongW+295 (13f7c0,0,13f7e0,61221f28)
[64] 0x7e418a10 USER32.DispatchMessageW+15 (13f7c0,61221c60,61180000,1)
@[65] 0x61221f28 nnotesws._NEMMainLoop@4+712 (401000,1,15237c,0)
@[66] 0x0040156d NLNOTES._WinMain@16+1389 (400000,0,15237c,1)
@[67] 0x00401dfa NLNOTES._WinMainCRTStartup+308 (1,7e42dbfb,7ffdd000,8054a6ed)
[68] 0x7c816fd7 kernel32.RegisterWaitForInputIdle+73 (401cc6,0,78746341,20)
…more to follow