Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sander van de Pas 74 posts 147 karma points
    May 24, 2013 @ 12:55
    Sander van de Pas
    0

    Error by creating media folder in media folder

    I try to create a new media folder below an excisting media folder but when I click on the Create button the next error appears:

     

    The complete error: 

    At /umbraco/create.aspx?nodeID=1035808&nodeType=media&nodeName=Test&rnd=83.5&rndo=83.7 (Referred by: 
    https://intranet.prismanet.nl/umbraco/create.aspx?nodeID=1035808&nodeType=media&nodeName=Test&rnd=83.5&rndo=83.7):
     System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or property cannot be called on Null 
    values.     at System.Data.SqlClient.SqlBuffer.get_Int32()     
    at umbraco.DataLayer.RecordsReaderAdapter`1.GetInt(String fieldName) in 
    d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\datalayer\RecordsReaderAdapter.cs:line 285     
    at umbraco.cms.businesslogic.web.Document.GetMaxDocumentSortOrder(Int32 parentId, Guid objectType)     
    at umbraco.cms.businesslogic.CMSNode.MakeNew(Int32 parentId, Guid objectType, Int32 userId, Int32 level, 
    String text, Guid uniqueID)     at umbraco.cms.businesslogic.media.Media.MakeNew(String Name, MediaType dct, 
    User u, Int32 ParentId)     at umbraco.mediaTasks.Save()     
    at umbraco.presentation.create.dialogHandler_temp.Create(String NodeType, Int32 TypeId, Int32 NodeId, String Text)
         at umbraco.cms.presentation.create.controls.media.sbmt_Click(Object sender, EventArgs e)     
    at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     
    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     
    at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, 
    Boolean includeStagesAfterAsyncPoint)

    Does anyone have any clue as to what might be wrong?

    Cheers,

    Sander

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    May 25, 2013 @ 11:25
    Jan Skovgaard
    0

    Hi Sander

    What version of Umbraco are you using?

    /Jan

  • Chriztian Steinmeier 2798 posts 8788 karma points MVP 7x admin c-trib
    May 25, 2013 @ 13:24
    Chriztian Steinmeier
    0

    Hi Sander,

    I've seen this error before (can't remember which version) - if I remember correct it's only when you use the "Create" button - if you right-click the Media folder and choose "Create" it works correct. Have you tried that?

    /Chriztian

  • Sander van de Pas 74 posts 147 karma points
    May 27, 2013 @ 08:51
    Sander van de Pas
    0

    Hi Jan,

    I'm using version 4.7.1.
    Maybe we found the soulution, but if you have an sugegstion please let me know! 

    Thanx!

    Sander

  • Sander van de Pas 74 posts 147 karma points
    May 27, 2013 @ 08:53
    Sander van de Pas
    0

    Hi Chriztian,

    What do yopu exactly mean with the "Create" button. I can only use the right-click option on a folder to create a new one.

    Sander

  • Chriztian Steinmeier 2798 posts 8788 karma points MVP 7x admin c-trib
    May 27, 2013 @ 09:00
    Chriztian Steinmeier
    0

    Hi Sander,

    The one at the top:

    - but if you weren't using that, the problem is obviously something else...

    /Chriztian

Please Sign in or register to post replies

Write your reply to:

Draft