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

Forums / Bugs & Issues / Unable to upload and publish documents after upgrade to Sitefinity v. 7.0

Unable to upload and publish documents after upgrade to Sitefinity v. 7.0

4 posts, 0 answered
  1. Samir Vaidya
    Samir Vaidya avatar
    261 posts
    Registered:
    05 Feb 2005
    11 Apr 2014
    Link to this post

    I just upgraded to Sitefinity v. 7.0 yesterday and my customer just reported that they are no longer able to upload and publish documents.

     As soon as they attempt to upload and publish a PDF document, they get an error message stating "Unable to upload and publish <document name>.pdf".

    Below are the messages in the error log:

     

    ----------------------------------------
    Timestamp: 4/11/2014 2:12:51 PM

    Message: HandlingInstanceID: 57209e59-707c-4932-bbea-af36f134df32
    An exception of type 'System.Exception' occurred and was caught.
    ----------------------------------------------------------------
    04/11/2014 07:12:51
    Type : System.Exception, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : 0 item(s) are successfully published. 1 item(s) cannot be published (see below).

    Content TRCA SPRING 2014 OUTDOOR SESSION: Argument item must be a live record it is set to a value != null
    Source : Telerik.Sitefinity
    Help link :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void ThrowAccumulatedError(Int32, System.String, System.String, System.String)
    HResult : -2146233088
    Stack Trace :    at Telerik.Sitefinity.Workflow.WorkflowBatchExceptionHandler.ThrowAccumulatedError(Int32 proccessItemsCount, String operationName, String singularItemTypeName, String pluralItemTypeName)
       at Telerik.Sitefinity.Workflow.WorkflowBatchExceptionHandler.ThrowAccumulatedErrorForContent(Int32 proccessItemsCount, String operationName)
       at Telerik.Sitefinity.Modules.ContentServiceBase`5.CallWorkflowBatch(String[] ids, String providerName, String operationName, String deletedLanguage, Boolean checkRelatingData)
       at Telerik.Sitefinity.Modules.Libraries.Web.Services.DocumentService.CallWorkflowBatch(String[] ids, String providerName, String operationName, String deletedLanguage, Boolean checkRelatingData)
       at Telerik.Sitefinity.Modules.ContentServiceBase`5.BatchPublishImpl(String[] ids, String providerName)
       at Telerik.Sitefinity.Modules.ContentServiceBase`5.BatchPublish(String[] ids, String providerName, String workflowOperation)
       at SyncInvokeBatchPublish(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

    Category: ErrorLog

    Priority: 0

    EventId: 90000

    Severity: Error

    Title:Enterprise Library Exception Handling

    Machine: WIN5013

    App Domain: /LM/W3SVC/1014413600/ROOT-1-130416988235663794

    ProcessId: 5772

    Process Name: C:\Windows\SysWOW64\inetsrv\w3wp.exe

    Thread Name:

    Win32 ThreadId:10516

    Extended Properties:
    ----------------------------------------
    ----------------------------------------
    Timestamp: 4/11/2014 2:15:54 PM

    Message: HandlingInstanceID: 8b4a0d1f-e91e-4ccc-b498-1589889e2783
    An exception of type 'System.Web.HttpException' occurred and was caught.
    ------------------------------------------------------------------------
    04/11/2014 07:15:54
    Type : System.Web.HttpException, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Message : The file '/Telerik.Sitefinity.Html5UploadHandler.ashx' does not exist.
    Source : System.Web
    Help link :
    WebEventCode : 0
    ErrorCode : -2147467259
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void CheckVirtualFileExists(System.Web.VirtualPath)
    HResult : -2147467259
    Stack Trace :    at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
       at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
       at System.Web.UI.SimpleHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
       at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     

    Please advise.

     Thanks.

  2. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    15 Apr 2014
    Link to this post
    Hello Samir,

    Could you please make sure that you have the following section in your
    web.config file under the <configuration> section:

    <location path="Telerik.Sitefinity.Html5UploadHandler.ashx">
      <system.web>
        <httpRuntime maxRequestLength="6048000" executionTimeout="7200" maxUrlLength="102400" maxQueryStringLength="102400" requestValidationType="Telerik.Sitefinity.Security.Claims.CustomRequestValidator, Telerik.Sitefinity" />
      </system.web>
      <system.webServer>
        <security>
          <requestFiltering>
            <requestLimits maxAllowedContentLength="2147483648"/> <!--2GB-->
          </requestFiltering>
        </security>
      </system.webServer>
    </location>


    This is a configuration added when projects are upgraded to Sitefinity 6.1. For your convenience please review this article:
    http://www.sitefinity.com/documentation/documentationarticles/upgrading-your-sitefinity-5.4-project-to-the-latest-version

    What I would suggest you is to merge a
    web.config from an empty Sitefinity 7.0 project (or the version that you are using) with your web.config and add the default lines that are missing. All of the changes are configurations that are there by default when you create a new project with this version.

    I hope that the information above will help you resolve the problem.

    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
     
  3. Samir Vaidya
    Samir Vaidya avatar
    261 posts
    Registered:
    05 Feb 2005
    19 Apr 2014 in reply to Vassil Vassilev
    Link to this post

    Hi,

     I was able to do a comparison and merge using Beyond Compare with a brand new Sitefinity v. 7.0 project, since this was not the only element differing between the 2 web.config files.  I have also tried upgrading several other Sitefinity v. 6.x projects and ALL of them failed as part of the Web.config upgrade process built into Sitefinity Project Manager.  Therefore, do all of my SItefinity v. 6.x projects have to be manually upgraded for the web.config file?

    Thanks.  

  4. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    22 Apr 2014
    Link to this post
    Hello Samir,

    We were unable to reproduce this on a brand new 6.2 or 6.3 as this should be present in your 6.1 webconfig.config. The automated webconfig modification is available since version 7.0, therefore this section had been missing before the upgrade.

    What I could suggest is to verify you are following the upgrade sequence as described in our documentation article:
    http://www.sitefinity.com/documentation/documentationarticles/installation-and-administration-guide/upgrade

    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
     
4 posts, 0 answered