cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with MS Word Add-In

aouser
Champ in-the-making
Champ in-the-making
After upgrading from Alfresco 2.0 to 2.1 (Windows XP Prof., Tomcat 5.5.20, MySQL 5.0), I installed the MS Word Add-In 2.1.0. Alfresco is working well but the Word Add-In not.
My configurations seems to be correct because they are working with the Firefox:
Web client URL: http://localhost:8080/alfresco/
WebDAV URL: http://localhost:8080/alfresco/webdav/

After clicking "Save Settings" in the Word Add-In, I get the error message 404 with the description
"The requested resource (/alfresco/wcservice/office/myAlfresco) is not available."

–> Where is the wcservice located? Can I check the physical existence of a file?
–> May be the problem is an incomplete Alfresco upgrade? I didn't make any database upgrades although it is described in the release notes: "There are changes to the database schema" (http://wiki.alfresco.com/wiki/Release_2.1#Important_Notes)
7 REPLIES 7

mikeh
Star Contributor
Star Contributor
Hi,

Sounds like the upgrade didn't quite take for some reason - how exactly did you go about it?

To test the Office web scripts are installed correctly, browse to:
http://[server]:8080/alfresco/wcservice/office/myAlfresco
with any web browser you like. You should be directed through the normal login page and then see the Office UI.


Mike

aouser
Champ in-the-making
Champ in-the-making
Hi Mike,

the Office web scripts URL causes the same error message:
HTTP Status 404 - /alfresco/wcservice/office/myAlfresco
description The requested resource (/alfresco/wcservice/office/myAlfresco) is not available.

For the upgrade I downloaded alfresco-community-war-2.1.0.zip and did the following steps:
- replace the old *.war file from …\tomcat\webapps\alfresco.war
- backup of changed extension files from …\tomcat\shared\classes\alfresco\extension
- copy/replace new extension files
- delete temporary files from tomcat/temp and tomcat/work
- start Alfresco

Carmen

mikeh
Star Contributor
Star Contributor
Hi,

Sounds like you need to delete the webapps/alfresco folder too so Tomcat redeploys the .war correctly.

Thanks,
Mike

aouser
Champ in-the-making
Champ in-the-making
Hi Mike,

yes, Alfresco wasn't deployed correctly. Thanks!
But I've now a new problem:

14:10:19,115 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: D:programmeAlfresco2.0alf_data
14:10:19,130 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: The store 'archive://SpacesStore' has a duplicate root node entry.
   at org.alfresco.repo.admin.ConfigurationChecker.check(ConfigurationChecker.java:268)
   at org.alfresco.repo.admin.ConfigurationChecker.access$000(ConfigurationChecker.java:72)
   at org.alfresco.repo.admin.ConfigurationChecker$1.execute(ConfigurationChecker.java:178)


Can you help me with this issue? Thanks!

Regards,
Carmen.

mikeh
Star Contributor
Star Contributor
Can you try rebuilding the Lucene indexes…

(taken from this topic)


Step 1: Stop Alfresco
Step 2: Delete everything under
<ALFRESCO_HOME>/alf_data/lucene-indexes
Step 3: Edit the following property file:
<ALRESCO_HOME>/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties
Set the property index.recovery.mode as follows:
# The index recovery mode (NONE, VALIDATE, AUTO, FULL)
index.recovery.mode=FULL
Step 4: Start Alfresco

Watch the log file, alfresco will rebuild the lucene index. You may also want to set index.recovery.mode back to VALIDATE.

Thanks,
Mike

aouser
Champ in-the-making
Champ in-the-making
Hi,

yes, rebuilding the Lucene indexes fixed the problem. Thank you!

The Word Add-In is displayed but the login page loops (as described in http://forums.alfresco.com/viewtopic.php?t=7755&highlight=word+addin).
The loop can be stopped while right clicking on the login page to open the properties.

My next problem  :? is an error when saving the current Word document to Alfresco (Action "Save to Alfresco"): a small popup window tells me: "Unable to save the document to Alfresco. This is not a valid filename. Try the following options:
- check the path
- choose a file from the list"

The CIFS Server is configured as
\\<server>_a\alfresco\User Homes\cvo\
with user and password. (The CIFS access works within the IE correctly)

Thanks and regards,
Carmen.

mikeh
Star Contributor
Star Contributor
Unfortunately you've hit the authentication bug in the Microsoft Office API - see http://forums.alfresco.com/viewtopic.php?p=26869#26869 for details.


Mike