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 :
Microsoft Dynamics AX (Archived)

User control not able to debug from visual studio 2013

(0) ShareShare
ReportReport
Posted on by

I want to debug user control code for Enterprise Portal  from the visual studio

I have tried in AX2012 R3 CU8 standard virtual machine which database within server

Here the Step I already followed:

1: visual studio>View>application explorer

2: USRModel > web > web files> web control > EPSalesCreditNode Open it

3:Add two proxy project [I]EPApplicationProxies [II] TSTimesheetProxies

4: Rebuild Solution(Rebuild successfully 3 solutin)

5:  find EPSalesCreditNote.ascx and Right Click and View Code

6: Go to Debug>attach process> Managed (v3.5, v3.0, v2.0) code, Managed Compatibility Mode >All w3wp process attach

7: In code file on Page_load Event Add break Point, break point enable means attach successfully 

5775.1.png

8: open Enterprise portal site from the browser (IE) Go to >sales>sales order > sell > credit note  

9:but Control can't reach to debug point Why?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Anup Shah MSFT Profile Picture
    on at

    Please ensure you have followed all the steps as detailed at msdn.microsoft.com/.../cc567649.aspx, and also read the comments in that article at the bottom if you are using SharePoint 2013. Also ensure you are browsing from the same machine and debugging is enabled in web.config.

  • Community Member Profile Picture
    on at

    I follow all the step from reference link debugging is enable from the web.config as well but can't help for me Anup Shah MSFT

  • Rodolfo Recalde Profile Picture
    on at

    Hi Koyani,

     - Verify Enable Breakpoint Options in Microsoft Dynamics AX Server Configuration Utility and Microsoft Dynamics AX Configuration Utility.

     

    - Visual Studio is on the same machine as the EP/SharePoint is installed? If not, check in form Attach to Process VS, Transport/Qualifier Options.

    - Try also includes the breakpoint in the code before Attach the process. (I've had a problem in this scenario in AX 2009).

    I Hope this helps!

    Regards,

    Rodolfo Recalde.

  • Community Member Profile Picture
    on at

    Three points you mention are checked and I configure as it is,as reference of third point After attach process Breakpoint are enable but While I run from EP/share point It not hit by the controller at a time Rodolfo Recalde

  • Rodolfo Recalde Profile Picture
    on at

    As you have followed the manual, it was left with few alternatives to help you.


    However, we will continue trying to find the solution to your problem.

     

    Additional actions:

    > Check the permissions of your user in this environment. Try as full administrator on the machine and run the Visual Studio as an administrator;

    > Did you tried to perform this operation on another page/usercontrol (without proxy in reference)

    > Check the permissions on the folder EP [C: \ Program Files \ Common Files \ microsoft shared \ Web Server Extensions \ {14} \ TEMPLATE \ LAYOUTS \ ep];

    > Make sure the VS is properly connected that AX environment. Try editing a user control (as a blank line customization), save, and make sure the corresponding edit user control reflected within the AX / AOT environment. Deploy this user control.

    > Maybe you can try reinstall Visual Studio Tools and Business Connector component.

    Regards,

    Rodolfo Recalde

  • Community Member Profile Picture
    on at

    In my situation Helps Attach only w3wp process whose version (V4.0)

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans