Error - The message received from the server could not be parsed in after SharePoint Provider Hosted App ideal for 25 minutes

Deepak Namdeo 1 Reputation point
2021-04-02T07:30:15.397+00:00

Hi Team,

I have created on SharePoint Online Provider Hosted App which is integrated with Azure platform. If app page is working as expected but app page is ideal for 25 minutes the giving below error.

"Sys.WebForms.PageRequestManagerParserErrorException: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed"

I am using Ajax update panel on app page when I removed Update panel then I received this error - "An Error Occurred while processing your request.".

If I debug the CheckRedirectionStatus method, it will be going to the TokenHelper.cs, in which we are not supposed to do any changes. But, always the method returns to the third switch case. That is, CanNotRedirect.

Please do the needful. Your help will be really appreciated.

--
Thanks,
Deepak Namdeo

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,728 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,576 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amos Wu-MSFT 4,051 Reputation points
    2021-04-05T08:56:23.073+00:00

    You could take a reference to these articles:
    Sys.WebForms.PageRequestManagerParserErrorException - what it is and how to avoid it
    How to resolve "Sys.WebForms.PageRequestManagerParserErrorException" issue Locked


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.