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 :
Finance | Project Operations, Human Resources, ...
Answered

System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I have a problem when I synchronize database:

System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.Dynamics.Framework.Tools.ProjectSystem.DevFabricAccessor.StartWorkerProcess()
at Microsoft.Dynamics.Framework.Tools.ProjectSystem.DevFabricDebuggingHost.WarmupAppPool(Int32 RetryCount)
at Microsoft.Dynamics.Framework.Tools.ProjectSystem.Debugger.IISExpressDebuggingHostSupplier.InitializeDebuggingHostSupplier()
at Microsoft.Dynamics.Framework.Tools.ProjectSystem.Debugger.IISExpressDebuggingHostSupplier.RecycleAppPool()
at Microsoft.Dynamics.Framework.Tools.BuildTasks.SyncEngineWrapper.Sync(CancellationToken cancellationToken)

pastedimage1584431423851v1.jpeg

I tried Restart IIS, Server, Add Certificate, Full Build + Synchronize but the result was the same error as before.

How to fix?

Please help me!

Thanks & regards.

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    It suggests that the problem is about IIS Express, not IIS. Try restarting IIS Express (or Visual Studio).

    Then try event logs; they might contain more details.

    You can also try resetting IIS Express config as suggested here.

  • Community Member Profile Picture
    on at

    Hi Martin Dráb,

    I checked event logs:

    pastedimage1584438416365v2.png

    But, Certificates already exist in Manage Computer Certificates\Personal\Certificates and Expiration Date: 16/09/2020.

  • Martin Dráb Profile Picture
    237,801 Most Valuable Professional on at

    The log entry is about Management Reporter. I don't think it's related to your problem with database synchronization.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi nong dinh minh,

    Please have a look at those whitepapers about the MR setup / configuration.

    www.microsoft.com/.../details.aspx

    Best regards,

    Ludwig

  • Community Member Profile Picture
    on at

    Hi Martin Dráb, hi Ludwig Reinhard.

    I apologize for the late reply.

    Thanks for your kind help.

    As Martin Dráb says to restart IIS Express, in its basic case it solves the problem.

    But our users reinstalled environment.

    Thanks

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans