Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand

Posts Tagged ‘new document’

ERROR: ‘New Document’ requires a Microsoft SharePoint Foundation-compatible application and web browser. To add a document to this document library, click the ‘Upload Document’ button.

Posted by JP on August 15, 2012

Server: SharePoint 2010

Client: Windows 7 64 bit, Internet Explorer 8 32 bit, Microsoft Office 2010 64 bit

image

If you face the above error please following the solutions below:

Client Side Solution

Ensure the following as per the link given below:

http://jeanpaulva.com/2012/08/14/sharepoint-2010-document-library-enable-new-document-feature/

Server Side Solution

Ensure you have valid entries inside DOCICON.XML

Folder: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML\DOCICON.XML

image

This file handles the icon, open ActiveX command for the file extensions like .dotx, .docx etc.

more info: http://msdn.microsoft.com/en-us/library/ms463701.aspx

Advertisements

Posted in SharePoint | Tagged: , , | Leave a Comment »

SharePoint 2010 Document Library – Enable New Document feature

Posted by JP on August 14, 2012

In this article we can explore what are the underlying aspects involved for enabling the New Document feature in a Document Library.

clip_image002

The expected case on clicking the above button is to create a new document inside MS Office client in the local machine. The template of the particular document is fetched from the configured one for Document Library.

We are using the following environment:

§ SharePoint 2010

§ Windows 7 64 bit

§ Office 2010

§ Internet Explorer 8

While using the command some of you might have faced the problem with this dialog box:

clip_image004

The error message says: ‘New Document’ requires a Microsoft SharePoint Foundation-compatible application and web browser.

Now let us go some levels deep to see what is happening in the hood. Following are the infrastructure elements required to make it work as expected.

Element 1: Compatible Browser Version

You have to ensure that the right version and bit of Browser is being used. The 32 bit version of Internet Explorer is compatible with this feature.

You can check the version from Browser > Help Button > About Internet Explorer menu item.

clip_image006

Note: The default iexplore command executed from Run window opens the IE 32 bit version.


 

Element 2: Compatible Office Version

– SharePoint 2010 is best compatible with Office 2010

– SharePoint 2007 is best compatible with Office 2007

Ensure that the client machine is having a compatible Microsoft Office version installed.

clip_image008


 

Element 3: Microsoft SharePoint Foundation Support in Office

You have to ensure the Microsoft Office installed has the following feature:

Microsoft Office > Office Tools > Microsoft SharePoint Foundation Support

clip_image010

If the above feature is not installed (Run from My Computer) you need to fix this.

Following are the steps to fix this:

1. Go to Control Panel

2. Choose Programs and Features

3. Select Microsoft Office 2010

4. Choose Change option and Add / Remove features

5. Ensure the above option is selected as Run from My computer

6. Execute the installation


 

Element 4: Internet Explorer ActiveX Control

Additionally the ‘New Document’ feature inside Internet Explorer works by launching a 64-bit Active X control. You can verify this control is enabled inside Internet Explorer. Please follow the following steps to verify it.

Open Internet Explorer and choose Tools > Internet Options window. Go to the tab Programs and click on the Manage add-ons button as shown below:

clip_image012

In the appearing window choose All add-ons as shown below:

clip_image014

Once the list on the right hand side is refreshed, sort the list based on Publisher column and locate the item named SharePoint OpenDocuments Class as shown below.

clip_image016

Ensure the version is 14.0 and it is enabled (If you can see the Disable button it shows it is enabled)

Testing the New Document feature

Now everything is ensured we can test the above feature. Open the SharePoint site, go to a library, select the Documents tab and click on the New Document button.

clip_image002[1]

You will be getting a dialog similar to this:

clip_image018

The warning is happening because the template.dotx will be opened by Microsoft Word application locally. This may induce any security threats if the source of the document is not valid. Click the OK button to continue.

You can see the new document is created inside Microsoft Word as shown below:

clip_image020

This concludes our research with New Document feature enabling and usage with compatible browser and Office application. The same aspects are to be ensured while working with Edit document feature from the client side.

Advanced Settings

Inside the Library Settings you can change the following:

– Default Template

– Add multiple content type templates

– Change the document open behaviour in client side

References

Fiddler and User Agent

Summary

In this article we have explored the underlying aspects to make New Document feature work in client side.

 

If the above solutions did not worked for you you can switch to the server side solutions using following link:

http://jeanpaulva.com/2012/08/15/error-new-document-requires-a-microsoft-sharepoint-foundation-compatible-application-and-web-browser-to-add-a-document-to-this-document-library-click-the-upload-document-button/

Posted in SharePoint | Tagged: , , , | Leave a Comment »

Disabled New Document button

Posted by JP on August 11, 2012

Have you ever faced that ‘New Document’ button in any library is disabled?

image

Wondering how to enable it?

Solution

Go to the Central Administration > Choose Web Application > Authentication Settings > Select Authentication > Select Enable Client Integration > Click OK

image

 

image

image

Posted in SharePoint | Tagged: , , , | Leave a Comment »