Copied to clipboard

Flag this post as spam?

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


  • antao 81 posts 371 karma points
    Dec 11, 2013 @ 17:56
    antao
    0

    504 Errors when saving + publishing a node

    Hi everyone, I'm running umbraco 7 and in the STAGE server I'm getting a lot of 504 errors when I try to save and publish a node.

    Fiddler status: 

    HTTP/1.1 504 Fiddler - Receive Failure

    Date: Wed, 11 Dec 2013 16:53:29 GMT

    Content-Type: text/html; charset=UTF-8

    Connection: close

    Timestamp: 17:53:29.197

     

    [Fiddler] ReadResponse() failed: The server did not return a response for this request.Server returned 0 bytes.

     

    Is anyone experience the same issues? I didn't got this in my local machine (Insert works on my machine stamp here!)

     

    Might as well some configuration, on the staging server that is not correct? 

    Thanks in advance.

  • antao 81 posts 371 karma points
    Dec 11, 2013 @ 18:48
    antao
    0

    Checked the log files, but nothing is being written there. For some moments I thought it was just a database problem, with some wrong migrated data... but I'm not so sure anymore. I'm getting the same issue now locally when I try to create a node, but I can see the full exception:

    The nodes have an upload data type (mandatory) . Some times I can save the node just fine, other's I get this exception:

    An error occurred


    Could not find file 'D:\Development\xxx\xxx\App_Data\TEMP\FileUploads\BodyPart_650e22da-112a-42f0-8f97-32c37c99952a'.

     

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IO.FileNotFoundException: Could not find file 'D:\Development\xxx\xxx\App_Data\TEMP\FileUploads\BodyPart_650e22da-112a-42f0-8f97-32c37c99952a'.

    Stack Trace:

    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    
       at System.IO.File.OpenRead(String path)
    
       at Umbraco.Web.PropertyEditors.FileUploadPropertyValueEditor.ConvertEditorToDb(ContentPropertyData editorValue, Object currentValue)
    
       at Umbraco.Web.Editors.ContentControllerBase.MapPropertyValues[TPersisted](ContentBaseItemSave`1 contentItem)
    
       at Umbraco.Web.Editors.ContentController.MapPropertyValues(ContentItemSave contentItem)
    
       at Umbraco.Web.Editors.ContentController.PostSave(ContentItemSave contentItem)
    
       at lambda_method(Closure , Object , Object[] )
    
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.b__c(Object instance, Object[] methodParameters)
    
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
    
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.b__4()
    
       at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)



  • antao 81 posts 371 karma points
    Dec 13, 2013 @ 17:49
    antao
    100

    Solved in V7.0.1

Please Sign in or register to post replies

Write your reply to:

Draft