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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 164 Super User 2026 Season 1

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

#3
NeerajPawar Profile Picture

NeerajPawar 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans