+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Update/Upload new file to library

Update/Upload new file to library

2 posts, 0 answered
  1. Devin
    Devin avatar
    1 posts
    Registered:
    18 Aug 2010
    04 Mar 2014
    Link to this post

    I'm using Sitefinity 5.1 and I'm trying to upload a new file to a library. When I go to the page to upload the file, select the library and click "Upload and Publish", I get a "return code 0". I've checked the Sitefinity and Windows server logs and see absolutely nothing to help me with this error. I also get this same error when I try to update an existing file.

     I've checked the database size and server hard drive space and there is still gigs of space available (I'm only uploading a 200kb file).

    How else can I troubleshoot this?

  2. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    06 Mar 2014
    Link to this post
    Hello Devin,

    Actually this error is pretty general and solving it would require attaching your project to our codebase. It is important to know when did you first notice the problem? Is this a result of an upgrade or else? There are similar cases in our forum, which you may try (make sure you have a backup of your database before applying it):
    http://www.sitefinity.com/developer-network/forums/bugs-issues-/return-code-0-primary-key-violation

    I hope the above link helps.

    Regards,
    Vassil Vassilev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered