Windows Service FBA Site Access
Hi, I have a windows service that reads and writes documents on sharepoint. It uses the url of a document to access the document. The problem is that if the url is for the FBA site, it gets a 403 forbidden exception. How can I make it so the windows service can access the site using both the FBA site url and the Windows auth url?my blog - Tea Time with Meowkins
May 18th, 2010 3:29am

Added a little more information as I am the admin working with him. This is a Windows Server 2008 R2 VM with SharePoint 2007 installed. The bits for MOSS 2007 were downloaded on Thursday of last week and this is a fresh server setup. FBA is working in Firefox, Opera, Chrome, and Safari. The issue is that when the MS Office Live Addin is installed that causes the 403 error in IE8 only when a user accesses the site with IE8. From what I have read, MS Office Live addin is forcing the currently authenticated user credentials on the FBA SharePoint site that the user is accessing. The Windows service we have created to run scheduled reports from a local SQL database is failing because when it tries to write the report file to the SharePoint site the service account (DOMAIN\user) is not recognized by the forms authentication database (IE user). I think the root question can be is there a way to set a Windows Service to either: A) Run as a user from the forms DB? B) Have the service authentication or accept credentials to authentication via a forms user, in order to access the site? The link below explains more about the FBA and Office Live adding that is supposed to be fixed in the latest bits but apparently the issue still exists. http://www.imason.com/imason_Blogs/b/bob_brown/archive/2009/06/14/sharepoint-fba-and-the-403-forbidden-error.aspx --Ryan
Free Windows Admin Tool Kit Click here and download it now
May 18th, 2010 8:05pm

To work with FBA site, you need to use web services. 1. Use the Authentication Web Service(http://msdn.microsoft.com/en-us/library/authentication%28office.12%29.aspx) 2. You can download & upload the documents by web service. Here's the examples: Download Document from SharePoint Library using WebService(http://ktskumar.wordpress.com/2009/03/08/download-document-from-sharepoint-library-using-webservice/) Upload a file to SharePoint through the built-in web services(http://stackoverflow.com/questions/31868/upload-a-file-to-sharepoint-through-the-built-in-web-services) Cogito, ergo sum.
May 19th, 2010 5:37am

thank you, Chengyi! we will try thismy blog - Tea Time with Meowkins
Free Windows Admin Tool Kit Click here and download it now
May 19th, 2010 8:02pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics