DBContentProvider

2 posts, 0 answers
  1. Kjell
    Kjell avatar
    203 posts
    Member since:
    May 2011

    Posted 01 Feb 2014 Link to this post

    I've applied the example DBContentProvider-Vb.zip (http://www.telerik.com/support/code-library/connect-radfileexplorer-or-radeditor-to-a-sql-databse) on my website and everything seems to work except that it is not possible to upload files with extension  .docx .pptx .xlsx
    But it goes well with .doc ppt .xls
    And I get no error message or anything ...
    Have tried to enter: RadFileExplorer1.Configuration.SearchPatterns = New String () {"*. *"}
    Without success...

    What am I doing wrong?
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 04 Feb 2014 Link to this post

    Hi Kjell,

    This issue occurs due to the fact that docx file's MimeType is larger than the corresponding column in the database.

    To avoid this issue you need to increase the size of the MimeType column of the Items table - currently its type is nvarchar(50) and the docx mime-type is 71 characters long (application/vnd.openxmlformats-officedocument.wordprocessingml.document).

    Regards,
    Dobromir
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top