My 2p about ERP Solutions, Information Worker Solutions and other software products (mainly Microsoft Dynamics AX and Microsoft SharePoint).

21 December 2008

Forms Based Authenticated users cannot open Microsoft Office documents

by Patrik Luca 0 comments

Tag



Problem Description: Forms Based Authenticated users cannot open Microsoft Office documents


You have configured your Web Application to use Forms Based Authentication. Users cannot open Microsoft Office documents such as Microsoft Word or Excel files. Non-Office documents open without problem. When a user tries to open a Microsoft Office document, the Microsoft Office program is launched (such as Word), but the file, stored in a SharePoint document library, is not opened. In stead, the user sees something which is similar to the login page to which a user is redirected for a Web Application configured with Forms as Authentication Type. The document opened is also indicated as being the login.aspx page.


Solution: check the Sign me in automatically box while logging in


The user should check the Sign me in automatically box while logging in. This is the easy workaround, but you'll not always be able to teach your users this way.

Another, more user-friendly, solution, is to check the box by default. To achieve this, follow these steps:

  1. Open the login.aspx page in edit mode. The login.aspx page resides in the _layouts folder (%Program Files%\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS).
  2. After the </asp:login> closing tag, add following code lines:

    <script language=javascript>
         document.getElementById("ctl00_PlaceHolderMain_login_RememberMe").checked = true;
    </script>
  3. Execute an iisreset.

Comments 0 comments

Patrik Luca, Ieper, BELGIUM
Feel free to use or spread all of the content on my blog. In return, linking back to my blog would be greatly appreciated. All my posts and articles are provided "AS IS" with no warranties.

Subscribe feeds via e-mail
Subscribe in your preferred RSS reader

Subscribe feeds rss Most Read Entries

Subscribe feeds rss Recent Entries

Categories

Recommended Books


Subscribe feeds rss Recent Comments

This Blog is part of the U Comment I Follow movement in blogosphere. Means the comment field of this blog is made DOFOLLOW. Spam wont be tolerated.

Blog Archive

My Blog List

Followers

Links