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

Announcements

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 387 Super User 2026 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 278 Most Valuable Professional

#3
Subra Profile Picture

Subra 262

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans