Skip to main content

Notifications

Announcements

No record found.

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

FO UI is hanged when Visual studio is opened, otherwise it works fine.

(3) ShareShare
ReportReport
Posted on by 2,457
Hi Experts,
FO dev UI works fine. However, when Visual Studio is opened, it hangs and does not load. What could be the issue? I appreciate any help you can provide.
Categories:
  • Mohammad Raziq Ali Profile Picture
    Mohammad Raziq Ali 2,457 on at
    FO UI is hanged when Visual studio is opened, otherwise it works fine.
    Hi Martin,  
     
    Yes, I agree there was an issue when running on IIS Express.  I switched to IIS, and it’s working fine now with no issues.
    I followed the steps mentioned in the blog.
     
     
     
    Regards,
    Raziq
     
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,573 Most Valuable Professional on at
    FO UI is hanged when Visual studio is opened, otherwise it works fine.
    Okay, so it seems that F&O works for you when run on IIS but there is a problem when run on IIS Express. Do you agree?
     
    Have you already checked F&O event logs (especially System Runtime)?
     
    By the way, if you want, you can use IIS for development, instead of IIS Express.
  • Mohammad Raziq Ali Profile Picture
    Mohammad Raziq Ali 2,457 on at
    FO UI is hanged when Visual studio is opened, otherwise it works fine.
    Hi Martin,

    I noticed that IISExpress starts running when Visual Studio (VS) is opened and stops after VS is closed.

    When I open Finance & Operations (F&O), it loads properly when VS is closed. However, when VS is opened, F&O keeps attempting to load the page without displaying any timeout error or HTTP error code.

  • Martin Dráb Profile Picture
    Martin Dráb 230,573 Most Valuable Professional on at
    FO UI is hanged when Visual studio is opened, otherwise it works fine.
    Can you please tell us whether IIS and IISExpress are running, both before and after opening VS?
     
    What happens when you try to open F&O? Does it keeps trying to open the page until it runs into a timeout, do you get an HTTP error code, or what?
  • Mohammad Raziq Ali Profile Picture
    Mohammad Raziq Ali 2,457 on at
    FO UI is hanged when Visual studio is opened, otherwise it works fine.
    Hi Andre,

    I am encountering the same issue on other development environments as well. The UI hangs as soon as Visual Studio is opened. Moreover, no breakpoints have been set up. I am accessing the machine using Bastion, not through RDP. It was working fine earlier but has recently stopped working. Although one of the development environments was recently upgraded to version 10.0.42, I am also seeing the same issue on a development environment with build version 10.0.40.

    Regards,
    Raziq
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,897 Super User 2024 Season 2 on at
    FO UI is hanged when Visual studio is opened, otherwise it works fine.
    Hi Mohammad,
     
    That is weird behavior. Have you tried the same on another development environment? Was there a recent change on this environment or was this one newly deployed?
  • MR-05050756-0 Profile Picture
    MR-05050756-0 2 on at
    FO UI is hanged when Visual studio is opened, otherwise it works fine.
    Hi Andre,

    Dynamics 365 is hanging directly, and the debugger is not attached. The UI starts hanging as soon as Visual Studio is opened.

    Regards,
    Raziq

    Here’s the corrected version:

     

     

     

    Hi Andre,

     

     

     

    Dynamics 365 is hanging directly, and the debugger is not attached. The UI starts hanging as soon as Visual Studio is opened.

     

     

     

    Regards,

     

    Raziq

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,897 Super User 2024 Season 2 on at
    FO UI is hanged when Visual studio is opened, otherwise it works fine.
    Hi Mohammad,

    Is Dynamics 365 directly hanging or at certain actions? In case someone started debugging, then it can wait for the developer to continue when it hits some breakpoints.
     
    When opening Visual Studio on a development environment, the Dynamics 365 service will be switched from IIS to IIS express. I haven't seen Dynamics 365 hanging apart from having not enough system resources or when it stops during a debugging session.
  • Mohammad Raziq Ali Profile Picture
    Mohammad Raziq Ali 2,457 on at
    FO UI is hanged when Visual studio is opened, otherwise it works fine.
     
    I checked these below services, nothing restarts when VS is opened.
     
    • MR2012ProcessService
    • DynamicsAxBatch
    • Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelperService.exe
    • W3SVC
     
    it hangs the UI, works perfectly when VS is closed.
     
    Regards,
    Raziq
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 11,759 Super User 2024 Season 2 on at
    FO UI is hanged when Visual studio is opened, otherwise it works fine.
     
    Usually, when you open VS, the services are restarted. you should check which of the following services are currently running.
    • MR2012ProcessService
    • DynamicsAxBatch
    • Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelperService.exe
    • W3SVC
    Best regards,
    Mohamed Amine MAHMOUDI

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,573 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans