2

When I try to create a OneNote file in a Document Library by clicking on 'New Document', it gives me this error message "Invalid template Type 4"

enter image description here

enter image description here

The below are the errors from ULS log:

1. Unable to write SPDistributedCache call usage entry.

2. Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|domainName\userName, ClaimsCount=118

3. UserAgent not available, file operations may not be optimized.

4. Application error when access /_layouts/15/CreateNewDocument.aspx, Error=Invalid template type 4. at Microsoft.SharePoint.ApplicationPages.CreateNewDocument.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

5. Microsoft.SharePoint.SPException: Invalid template type 4. at Microsoft.SharePoint.ApplicationPages.CreateNewDocument.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

6. Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.SharePoint.SPException: Invalid template type 4.

6
  • Does this error happen on all document libraries? Do any other document types work (Word, Excel, PowerPoint). Is your Office Web Apps Server set up to allow the editing of documents? Commented Aug 1, 2016 at 20:14
  • Yes, this error happens on all document libraries across all the site collections. And yes, Word, Excel and PowerPoint are working fine. Though I don't have license to edit the documents with web app, it is creating a Word, Excel or PowerPoint file giving me error message that you don't have license but it is creating the document anyway. But in case of OneNote, it gives me error. Commented Aug 2, 2016 at 4:28
  • Can you give us the specific errors from the ULS log? Please only include the specific errors that correspond to the correlation id in the log. Commented Aug 2, 2016 at 14:39
  • @JamesGrizzle I have added the ULS error logs in the question. Commented Aug 12, 2016 at 9:28
  • @JamesGrizzle Any help here ? Commented Aug 18, 2016 at 4:54

1 Answer 1

1

Activate the Site Notebook site feature on a test site and try again.

One Note notebook feature

2
  • Tried this. Not able to activate the feature. Commented Aug 3, 2016 at 4:52
  • What happens? What is the error message? Also do you see any errors in the ULS log when you activate the feature? Commented Aug 3, 2016 at 12:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.