Forums

SharePoint Online read-only not working
Last Post 06 Oct 2016 01:59 PM by DNNDrive Support. 2 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
schlarmageUser is Offline
New Member
New Member
Posts:2


--
29 Feb 2016 03:49 AM
    In DNN 7, I set up a SharePoint Online folder provider. I set the read-only option in the provider settings.

    When I try to add a folder using this provider, I get the message in the dnn log:

    DotNetNuke.Services.FileSystem.FolderProviderException: The underlying system threw an exception. The folder has not been added. ---> System.IO.IOException: The connection is read only

    Why is this? I thought it was read-only on the SharePoint side only. Seems like it thinks the DNN folder system is read-only.

    If I uncheck the read-only option on the provider, I can created the folder. But I don't want anything to be written to SharePoint. If I set the provider back to read-only the new folder disappears.

    How can I get this to work?
    schlarmageUser is Offline
    New Member
    New Member
    Posts:2


    --
    29 Feb 2016 03:51 AM
    I little more info:

    When I have read-only unchecked, it looks like it tries to sync with SharePoint, but in the log file I get a bunch of messages like:

    2016-02-28 19:50:17,071 [SchlarMaxW7x64][Thread:49][ERROR] DotNetNuke.Services.FileSystem.FolderManager - System.NotSupportedException: Specified method is not supported.
    at Microsoft.SharePoint.Client.ClientQueryable`1.GetEnumerator()
    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
    at Intelequia.DNNDrive.SharepointOnlineFolderProvider.GetFiles(IFolderInfo folder)
    at DotNetNuke.Services.FileSystem.FolderManager.SynchronizeFiles(MergedTreeItem item, Int32 portalId)
    DNNDrive SupportUser is Offline
    New Member
    New Member
    Posts:1


    --
    06 Oct 2016 01:59 PM
    First of all, sorry for the delay in this response.

    Following your question, we have made a number of improvements in the module so that from now Read Only mode allows the creation of the root folder, but being at this way the creation of any other file or folder will be locked.

    We have also solved this last mentioned issue in loading the folders without Read Only mode enabled.

    To apply these changes you just download the new version 3.00.08 DNNDrive in our download section and install in your portal.
    You are not authorized to post a reply.