Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

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

Posted on by Microsoft Employee

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.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

    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

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

    Hi nong dinh minh,

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

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

    Best regards,

    Ludwig

  • Martin Dráb Profile Picture
    Martin Dráb 230,214 Most Valuable Professional on at
    RE: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

    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.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,214 Most Valuable Professional on at
    RE: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans