最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

Dynamics 365 for Operations – Troubleshooting HTTP 500 HttpCompileException Error

网络文摘 William 286浏览 0评论
Dear Friends,
Hope you had a great start to the New Year! :-)
I'm excited and pumped up as I unlearn and learn more about Dynamics 365 for Operations. Recently, on one of my D365 Dev VM, I encountered the below HTTP 500 error after a successful VS Build.
No longer, I was able to browse the url.
Error:
  http500error
Troubleshooting:
 
Initially, I thought it was related to my custom model, so I deleted that from the packages directory, did an iisreset, stopped and started D365 services, SQL Services, restarted the whole box, but no luck.
Event Log Details:
 
Next, I dig a little bit into the event log, to find more about the errors logged there and i found this below message log - error CS1002 expected;
globalerror
Next, I opened the cs file in VS and found for some reason the opening brace in Application_PreSendRequestHeaders was commented which was just weird, Don't know how it could have happened.
Fix was to remove the comment and then save the Global.asax.cs file and that got me back to business.
compileerror
Happy Operating D 365 :-) Have fun.
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址