Showing posts with label Office. Show all posts
Showing posts with label Office. Show all posts

Thursday, January 7, 2010

The document could not be created

Scenario:
Got the following message while creating a new document.

err

Solution:
Install Office 2003 or Office 2007.

Wednesday, May 13, 2009

Form Based Authentication and Client integration

Scenario:
For most of the extranet facing website, Form based authentication is most suitable form of authenticating users. But in past one big dis-advantage to use Form Based Authentication was to loose client integration features. Users cant open documents in native applications ( like Word ) and so they need to download a document edit it and upload it , which is very painful.

Some good news:
There were some workaround done in CKS ( Codeplex project ) to deal with this situation, but again they were limited to Windows XP only.

Today while reading my feed , I got some more good news on the same topic. There are some changes done the way Form Authentication was handled for client integration.

These changes allow Office applications to display whatever forms login page is being used for the site in a pop up dialog box. The Office application renders the HTML from that login page and allows the user to enter credentials. The credentials are sent back to the server and if the server returns a redirect response for the document that was originally requested, the Office application assumes that the identity has been successfully established. It is then able to use the authorization cookie it was given to retrieve the document and any associated metadata, and open the item up.

Requirement for Client machine:
-- XP machines need to be have patched and require some Registry change
-- Vista machine will require
-- IE 7.0 or higher

Article:
http://blogs.msdn.com/sharepoint/archive/2009/05/13/update-on-sharepoint-forms-based-authentication-fba-and-office-client.aspx

http://msdn.microsoft.com/en-us/library/bb977430.aspx

http://support.microsoft.com/kb/960499/

Office Sharepoint 2010

I know these days , this is the hottest topic in sharepoint world. Lot of predictions, rumors , expectations from the new baby ( about to arrive ).

So let me share what I know.

-- Its a baby boy.. :-)

-- 64 Bit only

-- Windows Server 2008 only , IIS 7.0

-- 64-bit versions of SQL Server 2005 or 2008 only

-- IE 7.0 /8.0, Firefox 3.0 supported

-- Silverlight 2.0 support and some bare minimal controls

-- .Net Framework 3.0 only, but i think should not be difficult to use 3.5/4.0

-- Powershell

-- Social Networking and Enterprise 2.0

-- Better support for Wiki's and Blog Template

-- Mobile Support , I am sure they cant skip IPhone support.

-- Tagging , Tag cloud

-- Rich media support , not sure PODCAST kit might be it

Some guesses:

-- Bi-directional BDC support

-- Chart controls

-- Performance point server integration

-- FAST should still be a separate product but easier to install

-- Microsoft Portfolio Server should look more like Microsoft now

-- Improved support for bigger lists

-- Permission improvements , more discoverable options

-- More JQuery stuff

-- Claims-based authentication ( may be in 2010 SP1 )

-- Better client integration support for Form Authentication

-- Url Rewiting support

-- XHTML-compliant output

-- MVC framework ( Doubtful )

Article:
http://blog.sharepointproducts.com/archive/2009/05/12/microsoft-sharepoint-2010-news-from-teched-us-2009.aspx

Thursday, April 23, 2009

Using SharePoint Web Services using Forms Authentication

Scenario:

Solution:
Authentication Web service. It has a method named Login that, when called, places an authentication cookie in the proxy's System.Web.Services.Protocols.HttpWebClientProtocol.CookieContainer collection. That cookie can then be used in subsequent requests to other Web services in the site that is protected by forms authentication to authenticate the request.

For purposes of creating your Web service proxies (such as adding Web references in Visual Studio), use a Windows authentication–protected site. In most cases, the Visual Studio Add Web Reference wizard does not work with a SharePoint site that is protected by forms authentication.

Add a Web reference to the Authentication Web service in the site that is protected by forms authentication; the Authentication Web service can be found in the path http://servername/_vti_bin/authentication.asmx. Name this Web reference fbaAuth.

Code:

fbaAuth.Authentication auth = new fbaAuth.Authentication();

auth.CookieContainer = new System.Net.CookieContainer();
auth.AllowAutoRedirect = true;

fbaAuth.LoginResult lr = auth.Login("myUserName", "myUserPassword");

if (lr.ErrorCode == fbaAuth.LoginErrorCode.NoError)
{
//Now we can talk to the Lists Web service.
fbaLists.Lists lists = new fbaLists.Lists();
// This is IMPORTANT for reusing the cookie
lists.CookieContainer = auth.CookieContainer;

XmlNode xData = lists.GetListCollection();
}
Note:
By default, a zone that is configured to use forms authentication does not enable Client Integration features. This option, which is found on the Authentication Provider page in SharePoint Central Administration, must be turned on if you want to use the SharePoint Web services. When this option is turned off, SharePoint Products and Technologies also turn off support for remote interfaces, such as Web services.

To reuse this cookie, we need to set CookieContainer property for the Lists Web service proxy equal to the CookieContainer property of the Authentication Web service proxy.

Friday, November 14, 2008

Wishlist SharePoint Office 14

Should have
01. Preview for blog and list item editing...without sending email alerts to subscribers.

02. More Custom Action Menu's with security trimming.

03. Hiding Left Navigation , Top Navigation options.

04. Rule based option for 'Alert Me' to be able to recieve alert.

05. Alert Template selection option under 'List Settings'.

06. Easy way to make changed to 'Web.Config'. Some sort of merge mechanism.

07. Custom Folder structure support in FEATURES folder.

08. Easier way to add new file type without editing DOCICON.xml

09. Easier way to add new Alert templates without editing AlertTemplates.xml

10. Custom Folder structure support in Solution Management.

11. Ability to collect input while Activating Feature, kinda like in workflow with initiation data.

12. New Field types ( With privacy options ) http://www.infoq.com/articles/Dressel-Gogolowicz-wss-security

13. Way to execute Timer Job every few hours ( every 4 hrs )

14. Feature Stapling option of existing sites ( may be by specifying an attribute )

15. Select All / Remove All for the lookup field control

16. Workflow for site collection / site level , currently for list/library only

Missing

1. Ability to create publishing / webpart pages - within subfolders.

Some Ideas
1. User personalizable themes ( Delegate Control )

2. Meta Data Injector ( Delegate Control )

3. Request Access List with Accept Reject Option

Monday, October 13, 2008

SharePoint integration with other Office products

Article:
Building a KPI List using Excel in Sharepoint
Publishing PowerPoint slides to Sharepoint
Creating a Pivot Table in Sharepoint
Publishing a Blog from Word 2007 into Sharepoint
The importance of Outlook 2007 as a user interface into Sharepoint
Migrating an Access 2007 Database to Sharepoint