web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Timeout Error in setstateresponse for Entity Incident

(0) ShareShare
ReportReport
Posted on by

When a tried update my incident i´ve got follow error:

The request channel timed out while waiting for a reply after 00:02:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

where can in change this timeout, in ISS or any web.config???

Code: 

public bool AlterarStatus(int StateCode, int StatusCode)
{

SetStateRequest setStateRequest = new SetStateRequest
{
EntityMoniker = new EntityReference("incident", this.ID.Value),
State = 5;
Status = 0;
};

 SetStateResponse stateSet = (SetStateResponse)RepositoryService.Ocorrencia.Execute(setStateRequest);

}

Incident has 960000 registers.

regards,

Mario

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    State should be 1

    And status should be 5

    learn.microsoft.com/.../incident

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans