Forums

Forums / Bugs & Issues / File Upload widget - Value does not fall within the expected range

File Upload widget - Value does not fall within the expected range

3 posts, 1 answered
  1. Dmitriy Razumov_2
    Dmitriy Razumov_2 avatar
    31 posts
    Registered:
    20 Jul 2020
    30 Nov 2021
    Link to this post
    Hello,

    I have an issue with File Upload widget
    TPC version is 6.0.7632.150.

    It's configured for SharePoint for custom entity.

    Unfortunately when I'm trying to upload the file I'm getting the error:


    Error Source: User
    Culture Info: en
    Error Line No: line 12
    Error Type pavliks.PortalConnector.Mvc.Engine.Data.CrmFormSubmissionManager+ProcessingException
    Message Processing Exception: Value does not fall within the expected range.

    Trace Info at

    pavliks.PortalConnector.Mvc.Engine.Data.CrmFormSubmissionManager.SubmitSection(ICrmConnection connection, FormLayoutSection section, FormCollection data, HttpFileCollectionBase files, Entity parentEntity, CrmFormSubmissionSettings submitSettings, IList`1& processedEntities) in C:\TeamCity\buildAgent\work\4662f56dcd4603e0\pavliks.PortalConnector.Mvc\Engine\Data\CrmFormSubmissionManager.cs:line 531 at pavliks.PortalConnector.Mvc.Engine.Data.CrmFormSubmissionManager.SubmitSections(IEnumerable`1 sections, FormCollection data, HttpFileCollectionBase files, CrmFormSubmissionSettings submitSettings, Boolean mockConnection) in C:\TeamCity\buildAgent\work\4662f56dcd4603e0\pavliks.PortalConnector.Mvc\Engine\Data\CrmFormSubmissionManager.cs:line 124

    Could you please help me in search for solution?

    Thank you,
    Dmitriy
  2. Bhargavi Mahal
    Bhargavi Mahal avatar
    14 posts
    Registered:
    16 Dec 2020
    Answered
    01 Dec 2021
    Link to this post
    Hello Dmitry,

    Thank you posting your query.

    The error that you posted doesn't seem to look like it is coming from SharePoint as it states 'CrmFormSubmissionManager'. 

    However, if you are trying to submit to a custom entity, you're gonna have to make sure that the SharePoint integration with CRM is set to 'use no entity' as a folder structure and in the list of supported entities that particular custom entity is checked.

    I hope this helps.

    Thank you,

    Best Regards,
    Bhargavi.
  3. Dmitriy Razumov_2
    Dmitriy Razumov_2 avatar
    31 posts
    Registered:
    20 Jul 2020
    02 Dec 2021
    Link to this post
    Thank you Bhargavi,

    Looks like the problem was with moving CRM and/or Sharepoint to different domain or something like that. Now it's working,

    The case is resolved.
3 posts, 1 answered