• OKMAddIn-6.1.3 (WORD)

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #54518  by PL4STER
 
Hello,

Today, the "OKMAddIn-6.1.3" add-on was installed on one of the computers (the rest of the computers use OKMAddIn-6.1.2).
The problem occurs when trying to open a file in MS OFFICE (WORD) from data.
I am attaching the log below. Thank you in advance for your tip

System Info:
Code: Select all
AdditionalVersionIdentifier: 
Start Time: 23.11.2023 12:12:59
Premium: AddinExpress.WD.2005, Version=9.4.4644.0, Culture=neutral, PublicKeyToken=XXXXXX
Word version: v2016
Registered message WM_ADX_DESTROY_EMBEDED_WINDOW=49964 
Registered message WM_ADX_READING_PANE_HIDE_FROM_SBCLS=49965 
Registered message WM_ADX_READING_PANE_SHOW=49966 
Registered message WM_ADX_READING_PANE_HIDE=49967 
Registered message WM_ADX_READING_PANE_MINIMIZE=49968 
Registered message WM_ADX_APPWINDOW_SHOW=49969 
Registered message WM_ADX_APPWINDOW_HIDE=49970 
Registered message WM_ADX_APPWINDOW_MOVE=49971 
Registered message WM_ADX_APPWINDOW_MINIMIZE=49972 
Registered message WM_ADXDELPROC=49973 
Registered message WM_ADXSETOLDPROC=49974 
Registered message WM_ADXSETNEWPROC=49975 
Registered message WM_ADXGETCONTAINERFORM=49976 
Registered message WM_ADXADDFORM=49977 
Registered message WM_ADXDELETEFORM=49978 
Registered message WM_ADXSETCONTAINER=49979 
Registered message WM_ADXGETAPPWINDOWPOS=49980 
Registered message WM_ADXGETREGIONPARAM=49981 
Registered message WM_ADXGETREGIONSIZE=49982 
Registered message WM_ADXSETREGIONPARAM=49983 
Registered message WM_ADXUPDATEFORMPARAM=49984 
Registered message WM_ADXSETMAINPOS=49985 
Registered message WM_ADXCLOSEAPPWINDOW=49986 
Registered message WM_ADXSETLATESTPROC=49987 
Registered message WM_ADXEXIST=49988 
Registered message WM_ADXEXISTLAYOUT=49989 
Registered message WM_ADXEXISTSERVICEFORM=49990 
Registered message WM_ADXWMIGETCONTROL=49991 
Registered message WM_ADXWMIPOSCHANGE=49992 
Registered message WM_ADXWMISETPOS=49993 
Registered message WM_ADXCOMMAND=49994 
Registered message WM_ADXMANAGERCOMMAND=49995 
Registered message WM_ADXMOUSELEAVE=49996 
Registered message WM_MSO_BROADCASTCHANGE=49904 
Registered message WM_ADXSETACTIVATE=49997 
Registered message WM_ADXGETTYPESUBCLASS=49998 
Registered message WM_ADXCLOSEBUTTONCLICK=49999 
Registered message WM_ADXHIDEALLREGIONFORMS=50000 
Registered message WM_ADXGETPICTURE=50001 
Registered message WM_ADXSUPPORTMINIMIZE=50002 
Registered message WM_ADXCONTAINERSHOWFLOATING=50003 
Registered message WM_ADXCONTAINERHIDEFLOATING=50004 
Registered message WM_ADXSHOWFLOATING=50005 
Registered message WM_ADXHIDEFLOATING=50006 
Registered message WM_ADXSETFLOATINGPOS=50007 
Registered message WM_ADXGETDRAGLAYOUTPARAMS=50008 
Registered message WM_ADXSETDRAGFORM=50009 
Registered message WM_ADXSETDRAGITEMS=50010 
Registered message WM_ADXGETFORMDEFAULTSIZE=50011 
Registered message WM_ADXDRAGOVERMINIMIZED=50012 
Registered message WM_ADXREDESIGNSUPPORT=50013 
Registered message WM_ADXUPDATECLIPREGION=50014 
Registered message WM_ADXCTP_VISIBLECHANGED=50015 
Registered message WM_ADXMAYBEWORDVIEWWASCHANGED=50016 
Registered message WM_ADXSTARTTRANSACTION=50017 
Registered message WM_ADXENDTRANSACTION=50018 
Registered message WM_ADXSWAPCONTROLLER=50019 
Registered message WM_ADXCONTAINERREFRESH=50020 
Registered message WM_ADXGETCAPTION=50021 
Registered message WM_ADXGETCAPTION_EX=50022 
Registered message WM_ADXHOSTVISIBLE=50023 
Registered message WM_ADX_BACKSTAGE_SHOW=50024 
Exceptions:
===========

ADXWordTaskPanesManager.DoShowForm: Obiekt docelowy wywołania zgłosił wyjątek.
Exception time: 23.11.2023 12:14:02
   w System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   w System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   w System.Activator.CreateInstance(Type type, Boolean nonPublic)
   w System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
   w System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   w System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   w System.Reflection.Assembly.CreateInstance(String typeName)
   w AddinExpress.WD.ADXWordTaskPanesCollectionItem.CreateTaskPane(Type TaskPaneClassType)
   w AddinExpress.WD.ADXWordTaskPanesManager.DoShowForm(ADXWordTaskPanesCollectionItem Item, WordContextArgs ContextArgs)

AddinExpress.WD.ADXWordTaskPanesManager error: Obiekt docelowy wywołania zgłosił wyjątek.
Exception time: 23.11.2023 12:14:02

AddinExpress.WD.ADXWordTaskPanesManager error: Obiekt docelowy wywołania zgłosił wyjątek.
Error occured in ADXWordTaskPanesManager.DoShowForm . See 'Details' section to get more detailed information about the error.
Detailed technical information follows: 
---
(Inner Exception)
Date and Time:         23.11.2023 12:14:02
Machine Name:          PC-KJP3-2
IP Address:            XXXXXXXXXX
Current User:          XXXX\mstruzik

Application Domain:    C:\Users\mstruzik\AppData\Local\OpenKM\OKMWordAddIn\
Assembly Codebase:     file:///C:/Users/mstruzik/AppData/Local/OpenKM/OKMWordAddIn/OKMRest.DLL
Assembly Full Name:    OKMRest, Version=1.4.0.0, Culture=neutral, PublicKeyToken=null
Assembly Version:      1.4.0.0
Assembly Build Date:   15.11.2021 12:11:38

Exception Source:      OKMRest
Exception Type:        com.openkm.sdk4csharp.exception.OKMRestException
Exception Message:     AuthImpl (getName)
AuthImpl (getName):Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - Bad credentials</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Bad credentials</u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.61</h3></body></html>

com.openkm.sdk4csharp.exception.UnknowException: AuthImpl (getName):Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - Bad credentials</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Bad credentials</u></p><p><b>description</b> <u>This request requires HTTP authentication.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.61</h3></body></html>
   w com.openkm.sdk4csharp.impl.AuthImpl.getName(String user) w D:\Repositorio OPKM\GIT\sdk2dotnet-ce\OKMRest\com\openkm\sdk4csharp\impl\AuthImpl.cs:wiersz 389
Exception Target Site: getName

---- Stack Trace ----
   com.openkm.sdk4csharp.impl.AuthImpl.getName(user As String)
       AuthImpl.cs: line 0394, col 17, IL 0360 (0x168)
   com.openkm.sdk4csharp.OKMWebservice10.getName(user As String)
       OKMWebservice10.cs: line 0092, col 13, IL 0001 (0x1)
   OKMWordAddIn.ADXWordTaskPane1.showProperties(uuid As String)
       AddinExpress.WD.2005.DLL: N 0042 (0x2A) IL 
   OKMWordAddIn.ADXWordTaskPane1..ctor()
       AddinExpress.WD.2005.DLL: N 0362 (0x16A) IL 

(Outer Exception)
Date and Time:         23.11.2023 12:14:02
Machine Name:          PC-KJP3-2
IP Address:            XXXXXXXXXX
Current User:          XXXX\mstruzik

Application Domain:    C:\Users\mstruzik\AppData\Local\OpenKM\OKMWordAddIn\
Assembly Codebase:     file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
Assembly Full Name:    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=XXXXXXX
Assembly Version:      4.0.0.0
Assembly Build Date:   20.07.2023 03:57:29

Exception Source:      mscorlib
Exception Type:        System.Reflection.TargetInvocationException
Exception Message:     Obiekt docelowy wywołania zgłosił wyjątek.
Exception Target Site: CreateInstance

---- Stack Trace ----
   System.RuntimeTypeHandle.CreateInstance(type As RuntimeType, publicOnly As Boolean, noCheck As Boolean, canBeCached As Boolean&, ctor As RuntimeMethodHandleInternal&, bNeedSecurityCheck As Boolean&)
       AddinExpress.WD.2005.DLL: N 00000 (0x0) JIT 
   System.RuntimeType.CreateInstanceSlow(publicOnly As Boolean, skipCheckThis As Boolean, fillCache As Boolean, stackMark As StackCrawlMark&)
       AddinExpress.WD.2005.DLL: N 0106 (0x6A) IL 
   System.Activator.CreateInstance(type As Type, nonPublic As Boolean)
       AddinExpress.WD.2005.DLL: N 0058 (0x3A) IL 
   System.RuntimeType.CreateInstanceImpl(bindingAttr As BindingFlags, binder As Binder, args As Object[], culture As CultureInfo, activationAttributes As Object[], stackMark As StackCrawlMark&)
       AddinExpress.WD.2005.DLL: N 0507 (0x1FB) IL 
   System.Activator.CreateInstance(type As Type, bindingAttr As BindingFlags, binder As Binder, args As Object[], culture As CultureInfo, activationAttributes As Object[])
       AddinExpress.WD.2005.DLL: N 0175 (0xAF) IL 
   System.Reflection.Assembly.CreateInstance(typeName As String, ignoreCase As Boolean, bindingAttr As BindingFlags, binder As Binder, args As Object[], culture As CultureInfo, activationAttributes As Object[])
       AddinExpress.WD.2005.DLL: N 0021 (0x15) IL 
   System.Reflection.Assembly.CreateInstance(typeName As String)
       AddinExpress.WD.2005.DLL: N 0000 (0x0) IL 
   AddinExpress.WD.ADXWordTaskPanesCollectionItem.CreateTaskPane(TaskPaneClassType As Type)
       AddinExpress.WD.2005.DLL: N 0062 (0x3E) IL 
   AddinExpress.WD.ADXWordTaskPanesManager.DoShowForm(Item As ADXWordTaskPanesCollectionItem, ContextArgs As WordContextArgs)
       AddinExpress.WD.2005.DLL: N 0209 (0xD1) IL 
Log:
Code: Select all
23.11.2023 12:14:02	1	-- | 
23.11.2023 12:14:02	1	-- | AddinExpress.WD.ADXWordTaskPanesManager error: Obiekt docelowy wywołania zgłosił wyjątek.
23.11.2023 12:14:02	1	-- | Exception time: 23.11.2023 12:14:02
23.11.2023 12:14:02	1	-- | 
23.11.2023 12:14:02	1	--ADXExceptionManager.DoError
23.11.2023 12:14:02	1	--*!* ProcessError ADXWordTaskPanesManager.DoShowForm
23.11.2023 12:14:02	1	-- | 
23.11.2023 12:14:02	1	-- | ADXWordTaskPanesManager.DoShowForm: Obiekt docelowy wywołania zgłosił wyjątek.
23.11.2023 12:14:02	1	-- | Exception time: 23.11.2023 12:14:02
23.11.2023 12:14:02	1	-- | 
23.11.2023 12:14:02	1	ADXXWdExceptionManager.InternalProcessError
23.11.2023 12:14:01	1	SetBoundsCore
23.11.2023 12:14:01	1	--SetBoundsCore
23.11.2023 12:14:01	1	ADXForm
23.11.2023 12:14:01	1	DoShowForm
23.11.2023 12:14:01	1	DoProcessActiveAPIWindow Standard
23.11.2023 12:14:01	1	SetHostHandleFromActiveWindow 1: 50B28
23.11.2023 12:14:01	1	WordContextArgs
23.11.2023 12:14:01	1	ADXWordTaskPanesCollectionItem.SetEnabled
23.11.2023 12:13:14	1	!PropertiesIsSetToShowUpForm
23.11.2023 12:13:14	1	DoShowForm
23.11.2023 12:13:14	1	DoProcessActiveAPIWindow Standard
23.11.2023 12:13:14	1	SetHostHandleFromActiveWindow 1: A077A
23.11.2023 12:13:14	1	WordContextArgs
23.11.2023 12:13:02	1	!PropertiesIsSetToShowUpForm
23.11.2023 12:13:02	1	DoShowForm
23.11.2023 12:13:02	1	DoProcessActiveAPIWindow Standard
23.11.2023 12:13:02	1	SetHostHandleFromActiveWindow 1: A077A
23.11.2023 12:13:02	1	WordContextArgs
23.11.2023 12:13:01	1	!PropertiesIsSetToShowUpForm
23.11.2023 12:13:01	1	DoShowForm
23.11.2023 12:13:01	1	DoProcessActiveAPIWindow Standard
23.11.2023 12:13:01	1	SetHostHandleFromActiveWindow 1: A077A
23.11.2023 12:13:01	1	WordContextArgs
23.11.2023 12:13:00	1	!PropertiesIsSetToShowUpForm
23.11.2023 12:13:00	1	DoShowForm
23.11.2023 12:13:00	1	DoProcessActiveAPIWindow Standard
23.11.2023 12:13:00	1	*!* wordApplication.WindowsCount = 0
23.11.2023 12:13:00	1	*!* wordApplication.DocumensCount = 0
23.11.2023 12:13:00	1	SetHostHandleFromActiveWindow 1: A077A
23.11.2023 12:13:00	1	WordContextArgs
23.11.2023 12:13:00	1	DoAddinStartupComplete
23.11.2023 12:13:00	1	RegistrySettings.LoadSettings
23.11.2023 12:13:00	1	CreateHook
23.11.2023 12:13:00	1	CreateReceiverWindow
23.11.2023 12:13:00	1	LoadPositionsFromRegistry
23.11.2023 12:13:00	1	CreateWordApplicationWrapper
23.11.2023 12:13:00	1	DoAddinInitialize
23.11.2023 12:12:59	1	ADXWordTaskPanesCollectionItem.SetFormClassName
23.11.2023 12:12:59	1	ADXWordTaskPanesCollectionItem.SetEnabled
23.11.2023 12:12:59	1	ADXWordTaskPaneCollectionItem.SetAllowedDropRegions
23.11.2023 12:12:59	1	CreateAddinModuleEvents
23.11.2023 12:12:59	1	SetCallingAssembly
23.11.2023 12:12:59	1	CreateAddinModuleWrapper
23.11.2023 12:12:59	1	SetOwner
23.11.2023 12:12:59	1	ADXXWdExceptionManager
23.11.2023 12:12:59	1	CreateExceptionManager
23.11.2023 12:12:59	1	CreateItems
 #54585  by pathworldcup
 
OKMAddIn-6.1.3 I wonder if there is any requirement to use an upgraded version of Windows? I tried installing but it got the same error status as you.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.