Page 1 of 1

MS Word Addin - can't check-in file after edit

PostPosted:Thu Jun 20, 2013 4:36 pm
by doozy
Hi, please help.

I am running 6.2.4 and word 2007 with addin. After editing the file, i checkin the file. the log shows it is not checking in. it did checkout the document for local editing. Any idea? Thank you.
Code: Select all
Jun 21, 2013 12:34:51 AM	okmAdmin	LOGOUT	02f1d491-44da-49d9-815f-6e770c292d70		
Jun 21, 2013 12:34:55 AM	okmAdmin	LOGIN			a5855b8e-b693-4c64-a558-861b5247b6aa
Jun 21, 2013 12:34:56 AM	okmAdmin	CHECKOUT_DOCUMENT	a9b605d3-48ff-49e0-9bd0-bc480d7aade5	/okm:root/Test/Test 1.doc	
Jun 21, 2013 12:34:56 AM	okmAdmin	GET_DOCUMENT_CONTENT	a9b605d3-48ff-49e0-9bd0-bc480d7aade5	/okm:root/Test/Test 1.doc	23040
Jun 21, 2013 12:34:58 AM	okmAdmin	LOGOUT	a5855b8e-b693-4c64-a558-861b5247b6aa		
Jun 21, 2013 12:34:59 AM	clement	ADMIN_ACTIVITY_LOG			{begin=Fri Jun 21 00:00:00 SGT 2013, end=Sat Jun 22 00:00:00 SGT 2013, user=clement, action=, item=null}
Jun 21, 2013 12:35:09 AM	clement	ADMIN_ACTIVITY_LOG			{begin=Fri Jun 21 00:00:00 SGT 2013, end=Sat Jun 22 00:00:00 SGT 2013, user=clement, action=, item=null}
Jun 21, 2013 12:35:24 AM	clement	ADMIN_ACTIVITY_LOG			{begin=Fri Jun 21 00:00:00 SGT 2013, end=Sat Jun 22 00:00:00 SGT 2013, user=, action=, item=null}
Jun 21, 2013 12:35:44 AM	okmAdmin	LOGIN			4eb3fc4e-07aa-4364-afca-791c5e83df31
Jun 21, 2013 12:35:45 AM	okmAdmin	LOGOUT	4eb3fc4e-07aa-4364-afca-791c5e83df31

Re: MS Word Addin - can't check-in file after edit

PostPosted:Sat Jun 22, 2013 10:50 am
by jllort
You saved the document before click on check-in ? ( could you test save document and then click check-in ).
Other question, you do it in a single operation, you do not close document and open again no ?
Can you see if document is stored int My Documents/OpenKM folder

Re: MS Word Addin - can't check-in file after edit

PostPosted:Mon Jun 24, 2013 3:14 pm
by doozy
Dear Jilort,

Thank you again.

Basically, after I loaded the document (checked-out), i edit it. Then save it. (can find the file in my document\openkm...)
After that, I check in the file. It closed from MS Word. It is no longer in local drive. I check from browser, the EDIT icon is still there.... But file was not updated. From log, it shows it only login and logout without checking in the file.

During checkout, it did show login, checkout, logout...

Re: MS Word Addin - can't check-in file after edit

PostPosted:Wed Jun 26, 2013 10:07 am
by jllort
We will test this case

Re: MS Word Addin - can't check-in file after edit

PostPosted:Tue Jul 09, 2013 11:30 pm
by elsteve
doozy wrote:Dear Jilort,

Thank you again.

Basically, after I loaded the document (checked-out), i edit it. Then save it. (can find the file in my document\openkm...)
After that, I check in the file. It closed from MS Word. It is no longer in local drive. I check from browser, the EDIT icon is still there.... But file was not updated. From log, it shows it only login and logout without checking in the file.

During checkout, it did show login, checkout, logout...
I have this exact same issue - both the Word & Excel plugins - Office 2007 - OpenKM 6.2.3

EDIT: I re-downloaded the plugins & re-installed. It is working fine. I believe I had version 6.0.0 of the plugin - 6.0.1 works great.

Re: MS Word Addin - can't check-in file after edit

PostPosted:Wed Jul 10, 2013 12:45 pm
by armber
Hi,
if possible, I would like to test it too.
Where can Word AddIn 6.0.1 be found?
Many thanks,
Armando

Re: MS Word Addin - can't check-in file after edit

PostPosted:Wed Jul 10, 2013 12:49 pm
by elsteve

Re: MS Word Addin - can't check-in file after edit

PostPosted:Thu Jul 11, 2013 7:05 am
by armber
Hi,
I have attempted the installation of the Word Addin found in the OpenKMCommunityAddIn-6.0.0.zip file found at the URL specified
on a Windows XP(SP3)-based computer with MS-Word 2003.
The procedure seemed progressing well but ended with message
"Installation Incomplete: The installer was interrupted before OkenKM Word Addin could be installed. You need to restart the Installer to try again".
I executed the procedure both running the setup.exe file (388 KB, no date Modified info) and the OpenKMWordAddInSetup.msi (1600KB, no Date Modified info)

At the end of the process, the following files can be found in the installation output location:
C:\Documents and Settings\<user>\Application Data\OpenKM\OpenKM Word AddIn\
- TBD3B.tmp, 11KB, Date Modified 3/19/2010 3:11 AM
- TBD3C,tmp, 2002KB, Date Modified 2/2/2012 6:30 PM

Can you suggest how to overcome this problem?
Also, I am not sure the installer that the can be found in file OpenKMCommunityAddIn-6.0.0.zip is that of version 6.0.1.

Many thanks,
Armando

Re: MS Word Addin - can't check-in file after edit

PostPosted:Tue Jul 16, 2013 7:24 am
by jllort
The actual community addin version is 6.0.0.

I've download and installed community version from our website and there's no corruption file. I think can be a problem with older XP Os version or similar in your case. Ensure you got .net 3.5 or 4.x installed in your OS or other kind of update that can be the cause that the file will not be able to install.

Re: MS Word Addin - can't check-in file after edit

PostPosted:Tue Jul 16, 2013 2:38 pm
by doozy
Dear Jilort,

Did you manage to find out the cause and a solution?
Or did you encounter an error as reported?

Appreciated. :D

Re: MS Word Addin - can't check-in file after edit

PostPosted:Wed Jul 17, 2013 9:06 am
by jllort
In my documents you should have a folder called adx-express or with similar name, there's a log related to execution. In your case you're not able to install ... I do not know the cause, can you try in other computer.

Re: MS Word Addin - can't check-in file after edit

PostPosted:Thu Jul 18, 2013 4:27 pm
by doozy
Dear Jllort,

I have the following error.
Code: Select all
UAC (User Account Control): Off
--------------------------------------------------------------
00:23:49 0160 Starting the add-in registration process.
00:23:49 0160 Loading mscoree.dll
00:23:49 0160 Success.
00:23:49 0160 .NET Framework installation directory: 
00:23:49 0160 The latest version of .NET Framework: 'v4.0.30319'
00:23:49 0160 Loading CLR: v4.0.30319.
00:23:49 0160 Calling CLRCreateInstance method.
00:23:49 0160 Success.
00:23:49 0160 Calling GetRuntime method.
00:23:49 0160 Success.
00:23:49 0160 Checking if the hosting API of .NET Framework v4.0 beta is installed.
00:23:49 0160 The hosting API is up to date.
00:23:49 0160 Calling GetInterface method for the CorRuntimeHost interface.
00:23:49 0160 Success.
00:23:49 0160 Starting CLR...
00:23:49 0160 Success.
00:23:49 0160 Getting the CLR version.
00:23:49 0160 The CLR v4.0.30319 has been initialized successfully.
00:23:49 0160 Creating a new domain setup.
00:23:49 0160 Success.
00:23:49 0160 Getting the add-in directory.
00:23:49 0160 Success. The directory is 'C:\Users\WYPC\AppData\Roaming\OpenKM Document Management System\OKMWordAddIn\'
00:23:49 0160 The 'shadow copy' is disabled.
00:23:49 0160 Creating a new application domain.
00:23:49 0160 Success.
00:23:49 0160 Getting the base directory for the domain.
00:23:49 0160 Success. The directory is 'C:\Users\WYPC\AppData\Roaming\OpenKM Document Management System\OKMWordAddIn\'.
00:23:49 0160 Searching for the Add-in Express core library.
00:23:49 0160 Success. The 'AddinExpress.MSO.2005.dll' file is found.
00:23:49 0160 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
00:23:49 0160 Assembly identity is 'AddinExpress.MSO.2005'.
00:23:49 0160 Success.
00:23:49 0160 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
00:23:49 0160 Success.
00:23:49 0160 Calling the managed registration procedure.
00:23:49 0588 Connecting to the application domain of the Add-in Express loader.
00:23:49 0588 Success.
00:23:49 0588 Loading the 'okmwordaddin.dll' assembly.
00:23:49 0588 Success.
00:23:49 0588 Registering the 'okmwordaddin.dll' assembly (user).
00:23:58 0160 Managed Error: 
(Inner Exception)
(Inner Exception)
(Inner Exception)
Date and Time:         7/19/2013 12:23:58 AM
Machine Name:          WY-PC
IP Address:            fe80::79fd:801b:b70c:1195%18
Current User:          WY-PC\WYPC

Application Domain:    C:\Users\WYPC\AppData\Roaming\OpenKM Document Management System\OKMWordAddIn\
Assembly Codebase:     file:///C:/Users/WYPC/AppData/Roaming/OpenKM Document Management System/OKMWordAddIn/AddinExpress.MSO.2005.DLL
Assembly Full Name:    AddinExpress.MSO.2005, Version=6.6.3059.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version:      6.6.3059.2005

Exception Source:      System
Exception Type:        System.Net.Sockets.SocketException
Exception Message:     No connection could be made because the target machine actively refused it 119.234.5.221:8080
Exception Target Site: DoConnect

---- Stack Trace ----
   System.Net.Sockets.Socket.DoConnect(endPointSnapshot As EndPoint, socketAddress As SocketAddress)
       AddinExpress.MSO.2005.DLL: N 0118 (0x76) IL 
   System.Net.ServicePoint.ConnectSocketInternal(connectFailure As Boolean, s4 As Socket, s6 As Socket, socket As Socket&, address As IPAddress&, state As ConnectSocketState, asyncResult As IAsyncResult, exception As Exception&)
       AddinExpress.MSO.2005.DLL: N 0272 (0x110) IL 



(Outer Exception)
Date and Time:         7/19/2013 12:23:58 AM
Machine Name:          WY-PC
IP Address:            fe80::79fd:801b:b70c:1195%18
Current User:          WY-PC\WYPC

Application Domain:    C:\Users\WYPC\AppData\Roaming\OpenKM Document Management System\OKMWordAddIn\
Assembly Codebase:     file:///C:/Users/WYPC/AppData/Roaming/OpenKM Document Management System/OKMWordAddIn/AddinExpress.MSO.2005.DLL
Assembly Full Name:    AddinExpress.MSO.2005, Version=6.6.3059.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version:      6.6.3059.2005

Exception Source:      OpenKM_LIB
Exception Type:        System.Net.WebException
Exception Message:     Unable to connect to the remote server
Exception Target Site: OKMGetVersion

---- Stack Trace ----
   OpenKM_Lib.util.Util.OKMGetVersion(configXML As ConfigXML)
       AddinExpress.MSO.2005.DLL: N 0185 (0xB9) IL 
   OKMWordAddIn.AddinModule..ctor()
       AddinExpress.MSO.2005.DLL: N 1023 (0x3FF) IL 



(Outer Exception)
Date and Time:         7/19/2013 12:23:58 AM
Machine Name:          WY-PC
IP Address:            fe80::79fd:801b:b70c:1195%18
Current User:          WY-PC\WYPC

Application Domain:    C:\Users\WYPC\AppData\Roaming\OpenKM Document Management System\OKMWordAddIn\
Assembly Codebase:     file:///C:/Users/WYPC/AppData/Roaming/OpenKM Document Management System/OKMWordAddIn/AddinExpress.MSO.2005.DLL
Assembly Full Name:    AddinExpress.MSO.2005, Version=6.6.3059.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version:      6.6.3059.2005

Exception Source:      mscorlib
Exception Type:        System.Reflection.TargetInvocationException
Exception Message:     Exception has been thrown by the target of an invocation.
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.MSO.2005.DLL: N 00000 (0x0) JIT 
   System.RuntimeType.CreateInstanceSlow(publicOnly As Boolean, skipCheckThis As Boolean, fillCache As Boolean, stackMark As StackCrawlMark&)
       AddinExpress.MSO.2005.DLL: N 0111 (0x6F) IL 
   System.RuntimeType.CreateInstanceDefaultCtor(publicOnly As Boolean, skipCheckThis As Boolean, fillCache As Boolean, stackMark As StackCrawlMark&)
       AddinExpress.MSO.2005.DLL: N 0170 (0xAA) IL 
   System.Activator.CreateInstance(type As Type, nonPublic As Boolean)
       AddinExpress.MSO.2005.DLL: N 0058 (0x3A) IL 
   System.Activator.CreateInstance(type As Type)
       AddinExpress.MSO.2005.DLL: N 0000 (0x0) IL 
   AddinExpress.MSO.ADXAddinModule.ADXRegister(t As Type)
       AddinExpress.MSO.2005.DLL: N 0601 (0x259) IL 
   OKMWordAddIn.AddinModule.AddinRegister(t As Type)
       AddinExpress.MSO.2005.DLL: N 0000 (0x0) IL 



(Outer Exception)
Date and Time:         7/19/2013 12:23:58 AM
Machine Name:          WY-PC
IP Address:            fe80::79fd:801b:b70c:1195%18
Current User:          WY-PC\WYPC

Application Domain:    C:\Users\WYPC\AppData\Roaming\OpenKM Document Management System\OKMWordAddIn\
Assembly Codebase:     file:///C:/Users/WYPC/AppData/Roaming/OpenKM Document Management System/OKMWordAddIn/AddinExpress.MSO.2005.DLL
Assembly Full Name:    AddinExpress.MSO.2005, Version=6.6.3059.2005, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version:      6.6.3059.2005

Exception Source:      mscorlib
Exception Type:        System.Reflection.TargetInvocationException
Exception Message:     Exception has been thrown by the target of an invocation.
Exception Target Site: InvokeMethod

---- Stack Trace ----
   System.RuntimeMethodHandle.InvokeMethod(target As Object, arguments As Object[], sig As Signature, constructor As Boolean)
       AddinExpress.MSO.2005.DLL: N 00000 (0x0) JIT 
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(obj As Object, parameters As Object[], arguments As Object[])
       AddinExpress.MSO.2005.DLL: N 0023 (0x17) IL 
   System.Reflection.RuntimeMethodInfo.Invoke(obj As Object, invokeAttr As BindingFlags, binder As Binder, parameters As Object[], culture As CultureInfo)
       AddinExpress.MSO.2005.DLL: N 0132 (0x84) IL 
   AddinExpress.Projects.Common.Utilities.CallUserDefinedRegistrationMethod(type As Type, bRegister As Boolean, targetHive As ADXTargetRegistryHive)
       AddinExpress.MSO.2005.DLL: N 0337 (0x151) IL 
   AddinExpress.Projects.Common.Utilities.RegisterType(t As Type, createVersionKey As Boolean, allUsers As Boolean, targetHive As ADXTargetRegistryHive, callRegMethod As Boolean)
       AddinExpress.MSO.2005.DLL: N 0247 (0xF7) IL 
   AddinExpress.Projects.Common.Utilities.RegisterAssembly(assembly As Assembly, createVersionKey As Boolean, allUsers As Boolean, targetHive As ADXTargetRegistryHive, callRegMethod As Boolean)
       AddinExpress.MSO.2005.DLL: N 0040 (0x28) IL 
   AddinExpress.Deployment.AddinDomainAdapter.RegisterForComInterop(register As Boolean, dllType As String, dllPath As String, showExceptions As Boolean, logFullPath As String)
       AddinExpress.MSO.2005.DLL: N 0228 (0xE4) IL 
   AddinExpress.Deployment.ADXRegistrator.RegisterAssembly(commandLine As String)
       AddinExpress.MSO.2005.DLL: N 0437 (0x1B5) IL 



00:23:58 0160 The add-in registration process is completed with HRESULT = -2147467259.

Re: MS Word Addin - can't check-in file after edit

PostPosted:Mon Jul 22, 2013 8:39 am
by jllort
Error is clear can not stablish connection to server:
Exception Source: System
Exception Type: System.Net.Sockets.SocketException
Exception Message: No connection could be made because the target machine actively refused it 119.234.5.221:8080
Exception Target Site: DoConnect

Can you connect via browser to the usr ? ensure you're writting correctly take a look how should be written http://wiki.openkm.com/index.php/Word_Addin