Required attribute 'duplicateFilePattern' not found.

Oct 13, 2015 at 6:36 PM
Hi all,

I'm using elFinder Webfroms version and getting error while running the test project.
Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Required attribute 'duplicateFilePattern' not found.

Source Error: 


Line 12:   </configSections>
Line 13: 
Line 14:   <elFinder apiVersion="2.0" localFSRootDirectoryPath="c:\users" localFSThumbsDirectoryPath="c:\users\.thumbs" rootDirectoryName="Root" uploadMaxSize="20M"
Line 15:              defaultVolumeName="LocalFileSystem" baseUrl="http://localhost:56439/data/" baseThumbsUrl="http://localhost:56439/data/.thumbs/">
Line 16:   </elFinder>

Source File: C:\Users\xyz\Desktop\elFinderFileManager\elFinderFileManager\web.config    Line: 14 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34248
Image

I'm even not able to find this error on Google. How can I resolve this issue.

Thanks,
Mayank
Oct 14, 2015 at 11:37 PM
Edited Oct 14, 2015 at 11:38 PM
From this https://elfinder.codeplex.com/discussions/473624 thread I found, I'd not added the required attributes like below:
<elFinder 
apiVersion="2.0" 
localFSRootDirectoryPath="u:\temp\share" localFSThumbsDirectoryPath="u:\temp\share\.thumbs" 
rootDirectoryName="Root" 
uploadMaxSize="20M"
defaultVolumeName="LocalFileSystem" 
baseUrl="http://localhost:55470/data/" 
baseThumbsUrl="http://localhost:55470/data/.thumbs/" 
duplicateFilePattern="Copy of {0}" 
duplicateDirectoryPattern="Copy of {0}"
thumbsSize="48,48">
</elFinder>
Marked as answer by mynk28 on 10/14/2015 at 3:37 PM