cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring SharePoint Protocol

gmurphy
Champ on-the-rise
Champ on-the-rise
All,

I am fairly new to Alfresco and am trying to configure the Alfresco Protocol to work with Office 2007.

I have configured the custom.vti.properties file to say the following after installing the vti amp:


vti.server.port=7070
vti.alfresco.deployment.context=http://25.165.1.148:7070/alfresco
vti.share.shareHostWithPort=http://25.165.1.148:8080


I am using office 2007 and keep getting the following error when I try to create a Workspace.


"The action could not be completed. For more information, contact your site administrator, or try again later,"


Has anyone any ideas on what I might be doing wrong.

Gerald
32 REPLIES 32

gronfelt
Champ in-the-making
Champ in-the-making
You don't state which Alfresco version you are using, but in Alfresco 3.2 the configuration should be something like this:

vti.server.port=7070 
vti.alfresco.deployment.context=/alfresco
vti.alfresco.alfresoHostWithPort=http://your-host:8080
vti.share.shareHostWithPort=http://your-share-host:8080

(Sample taken from install and config documentation)

This configuration should be placed in alfresco-global.properties.

The configuration from 3.0/3.1 looked pretty much the same, but without the vti.alfresco.alfresoHostWithPort property:

vti.server.port=7070 
vti.alfresco.deployment.context=/alfresco
vti.share.shareHostWithPort=http://your-share-host:8080

It should be in the file custom-vti.properties (not sure if the . between "custom" and "vti" in your filename was a typo).

Edit: Sorry, missed out on the version info in your profile, just ignore the first part of this post.

Where have you placed the custom-vti.properties file? Are there any error messages in alfresco.log or catalina.out?

gmurphy
Champ on-the-rise
Champ on-the-rise
Thanks for that.


I have made some progress but am now getting 2 popup windows when I click the create button in Office 2007. After typeing in AlfrescoUpdatedocs in the Document Workspace name: and Location For new Workspace is set to http://25.165.1.148:7070/alfresco In Office 2007


1. The 1st popup window asks me for my username and password.

2. The 2nd popup windows gives the message

Saving as:

'HTTP://25.165.1.148:7070/alfrescp/AlfrescoUpdatedocs/documentLibrary/Gerald.docx'

and the progress bar never goes beyond 0%

When I type in my username and password in the popup window it asks me again for my Username and password until after the 4th or 5th time it gives me the message "Unable to connect to the Web server"

Have you any suggestions or has anyone seen this before.

gronfelt
Champ in-the-making
Champ in-the-making
Is there any information in your alfresco.log or catalina.out?

You could turn on more verbose logging in log4j.properties by uncommenting the row about VTI:

# Sharepoint
log4j.logger.org.alfresco.module.vti=debug

mikef
Champ in-the-making
Champ in-the-making
'HTTP://25.165.1.148:7070/alfrescp/AlfrescoUpdatedocs/documentLibrary/Gerald.docx'

In the URL above you have: alfrescp

Is this the actual url or just a typo in your post?

gmurphy
Champ on-the-rise
Champ on-the-rise
Its a Typo Mikef

I have attacted what appears in the Alfreco.log and catalina.out once I try to use the sharepoint protocol. I will switch on the verbose logging and post it shortly

[size=150]Here is what it appearing in the Alfreco.log[/size]


10:28:24,560 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Updated cached NTLM details
10:28:24,561 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] User logged on via NTLM, [gmurph01,Wks:REV-4EEC580480B,Dom:REVENUEDOMAIN,AuthSrv:REVNETDEMOA,Thu Jul 16 10:28:24 IST 2009]
10:28:33,544 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Received type1 [Type1:0xa208b207,Domain:REVENUEDOMAIN,Wks:REV-4EEC580480B]
10:28:33,547 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Client domain REVENUEDOMAIN
10:28:33,663 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Sending NTLM type2 to client - [Type2:0x80000203,Target:REVNETDEMOA,Ch:8e66b54c75be987e]
10:28:33,676 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Received type3 [Type3:,LM:be23d606d78d4417cf076f5ce6332fa53df1fa565af4ec83,NTLM:5db4292ea4590335aa534ae41e049e6bb965b12662cd954f,Dom:REVENUEDOMAIN,User:gmurph01,Wks:REV-4EEC580480B]
10:28:33,704 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Updated cached NTLM details
10:28:33,704 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] User logged on via NTLM, [gmurph01,Wks:REV-4EEC580480B,Dom:REVENUEDOMAIN,AuthSrv:REVNETDEMOA,Thu Jul 16 10:28:33 IST 2009]
10:32:47,398 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/api/login SID:null
10:32:47,403 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Found webscript with no authentication - set NO_AUTH_REQUIRED flag.
10:32:47,404 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Authentication not required (filter), chaining …
10:32:47,963 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/remotestore/has/alfresco/site-data/configurations/slingshot.site.configuration.xml SID:null
10:32:47,965 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Found webscript with no authentication - set NO_AUTH_REQUIRED flag.
10:32:47,972 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Authentication not required (filter), chaining …
10:32:48,185 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/remotestore/has/alfresco/site-data/pages/site-index.xml SID:910676874B621200A813666B89E9D0EF
10:32:48,189 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Found webscript with no authentication - set NO_AUTH_REQUIRED flag.
10:32:48,189 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Authentication not required (filter), chaining …
10:32:48,264 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/webframework/content/metadata SID:910676874B621200A813666B89E9D0EF
10:32:48,265 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] New NTLM auth request from 25.165.1.148 (25.165.1.148:44970) SID:910676874B621200A813666B89E9D0EF
10:32:48,286 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/api/login SID:null
10:32:48,288 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Found webscript with no authentication - set NO_AUTH_REQUIRED flag.
10:32:48,288 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Authentication not required (filter), chaining …
10:32:48,443 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/webframework/content/metadata SID:910676874B621200A813666B89E9D0EF
10:32:48,444 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] New NTLM auth request from 25.165.1.148 (25.165.1.148:44973) SID:910676874B621200A813666B89E9D0EF
10:32:48,971 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/remotestore/has/alfresco/site-data/pages/site/AlfrescoUpdatedocs/dashboard.xml SID:null
10:32:48,978 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Found webscript with no authentication - set NO_AUTH_REQUIRED flag.
10:32:48,978 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Authentication not required (filter), chaining …



[size=150]and in the Catalina.out[/size]


User:gmurph01 DEBUG [app.servlet.NTLMAuthenticationFilter] Received type3 [Type3:,LM:be23d606d78d4417cf076f5ce6332fa53df1fa565af4ec83,NTLM:5db4292ea4590335aa534ae41e049e6bb965b12662cd954f,Dom:REVENUEDOMAIN,User:gmurph01,Wks:REV-4EEC580480B]
10:28:33,704 User:gmurph01 DEBUG [app.servlet.NTLMAuthenticationFilter] Updated cached NTLM details
10:28:33,704 User:gmurph01 DEBUG [app.servlet.NTLMAuthenticationFilter] User logged on via NTLM, [gmurph01,Wks:REV-4EEC580480B,Dom:REVENUEDOMAIN,AuthSrv:REVNETDEMOA,Thu Jul 16 10:28:33 IST 2009]
10:32:47,398  DEBUG [app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/api/login SID:null
10:32:47,403  DEBUG [app.servlet.NTLMAuthenticationFilter] Found webscript with no authentication - set NO_AUTH_REQUIRED flag.
10:32:47,404  DEBUG [app.servlet.NTLMAuthenticationFilter] Authentication not required (filter), chaining …
10:32:47,963  DEBUG [app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/remotestore/has/alfresco/site-data/configurations/slingshot.site.configuration.xml SID:null
10:32:47,965  DEBUG [app.servlet.NTLMAuthenticationFilter] Found webscript with no authentication - set NO_AUTH_REQUIRED flag.
10:32:47,972  DEBUG [app.servlet.NTLMAuthenticationFilter] Authentication not required (filter), chaining …
10:32:48,185  DEBUG [app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/remotestore/has/alfresco/site-data/pages/site-index.xml SID:910676874B621200A813666B89E9D0EF
10:32:48,189  DEBUG [app.servlet.NTLMAuthenticationFilter] Found webscript with no authentication - set NO_AUTH_REQUIRED flag.
10:32:48,189  DEBUG [app.servlet.NTLMAuthenticationFilter] Authentication not required (filter), chaining …
10:32:48,264  DEBUG [app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/webframework/content/metadata SID:910676874B621200A813666B89E9D0EF
10:32:48,265  DEBUG [app.servlet.NTLMAuthenticationFilter] New NTLM auth request from 25.165.1.148 (25.165.1.148:44970) SID:910676874B621200A813666B89E9D0EF
10:32:48,286  DEBUG [app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/api/login SID:null
10:32:48,288  DEBUG [app.servlet.NTLMAuthenticationFilter] Found webscript with no authentication - set NO_AUTH_REQUIRED flag.
10:32:48,288  DEBUG [app.servlet.NTLMAuthenticationFilter] Authentication not required (filter), chaining …
10:32:48,443  DEBUG [app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/webframework/content/metadata SID:910676874B621200A813666B89E9D0EF
10:32:48,444  DEBUG [app.servlet.NTLMAuthenticationFilter] New NTLM auth request from 25.165.1.148 (25.165.1.148:44973) SID:910676874B621200A813666B89E9D0EF
10:32:48,971  DEBUG [app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcs/remotestore/has/alfresco/site-data/pages/site/AlfrescoUpdatedocs/dashboard.xml SID:null
10:32:48,978  DEBUG [app.servlet.NTLMAuthenticationFilter] Found webscript with no authentication - set NO_AUTH_REQUIRED flag.
10:32:48,978  DEBUG [app.servlet.NTLMAuthenticationFilter] Authentication not required (filter), chaining …

gmurphy
Champ on-the-rise
Champ on-the-rise
I switched on the verbose logging  as you suggested

# Sharepoint
log4j.logger.org.alfresco.module.vti=debug


below is what I am getting nothing extra other than that.

11:51:25,327 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
11:51:25,340 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
11:51:25,795 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.1.
11:51:27,603 DEBUG [org.alfresco.fileserver] [SMB] CIFS Server REVNETDEMOA starting

_sax
Champ in-the-making
Champ in-the-making
The same with me:

15:45:09,875 DEBUG [org.alfresco.module.vti.web.VtiFilter] Checking request for VTI or not
15:45:09,875 DEBUG [org.alfresco.module.vti.web.VtiFilter] Check authentication
15:45:09,875 DEBUG [org.alfresco.module.vti.web.VtiFilter] Session user is null. Authenticate user.
After manual login I'm also prompted for my credentials again, making the log repeat itself.

I use ntlm sso for my ldap-ad synced users (works well with Internet Explorer and CIFS).

_sax
Champ in-the-making
Champ in-the-making
Is this linked with https://issues.alfresco.com/jira/browse/ALFCOM-1858, which I don't exactly understand.
"Shared Workspace functionality shouldn't work with Alfresco Labs." Is this added now, or is this still the same?

_sax
Champ in-the-making
Champ in-the-making
My problem turned out to be an authentication related-one. To be able to sign on, I had to use alfrescoNtlm as the subsystem.

authentication.chain=localusers:alfrescoNtlm

As I add other subsystems, I am not able to login, although alfrescoNtlm stays the preceeding one.

(config of alfrescoNtlm)
alfresco.authentication.allowGuestLogin=true
alfresco.authentication.authenticateCIFS=false

ntlm.authentication.sso.enabled=false
ntlm.authentication.mapUnknownUserToGuest=true

Is this normal?