Problem with MS Word Add-In

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2007 10:57 AM
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)
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)
Labels:
- Labels:
-
Archive
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2007 01:42 PM
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:
Mike
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2007 04:46 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2007 06:02 AM
Hi,
Sounds like you need to delete the webapps/alfresco folder too so Tomcat redeploys the .war correctly.
Thanks,
Mike
Sounds like you need to delete the webapps/alfresco folder too so Tomcat redeploys the .war correctly.
Thanks,
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2007 08:14 AM
Hi Mike,
yes, Alfresco wasn't deployed correctly. Thanks!
But I've now a new problem:
Can you help me with this issue? Thanks!
Regards,
Carmen.
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_data14:10:19,130 ERROR [org.springframework.web.context.ContextLoader] Context initialization failedorg.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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2007 08:47 AM
Can you try rebuilding the Lucene indexes…
(taken from this topic)
Step 1: Stop Alfresco
Step 2: Delete everything under
Watch the log file, alfresco will rebuild the lucene index. You may also want to set index.recovery.mode back to VALIDATE.
Thanks,
Mike
(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 AlfrescoWatch the log file, alfresco will rebuild the lucene index. You may also want to set index.recovery.mode back to VALIDATE.
Thanks,
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2007 10:39 AM
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.
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2007 10:47 AM
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
Mike
