« August 2009 | Main | October 2009 »

Debugging NAV 2009 on windows XP

As you might already know, it is possible to debug pages in Dynamics NAV 2009. There are already some blog postings out there that explain how to do this.

To enable Microsoft Dynamics NAV 2009 for debugging:

  1. On the computer running Microsoft Dynamics NAV Server, open the CustomSettings.config file.
    This file is typically located at %programfiles%\Microsoft Dynamics NAV\60\service.
  2. Change the value of the EnableDebugging key to true:
    <add key="EnableDebugging" value="true" />
  3. Save and close the CustomSettings.config file.
  4. In Control Panel, click Administrative Tools, and then click Services to open the Services snap-in.
  5. In the list of services, right-click Microsoft Dynamics NAV Server, and then click Restart.
  6. When you start the RoleTailored client with debugging enabled, C# files for every RoleTailored client object are generated.

  7. You can view these C# files in Visual Studio.
    Navigate to "C:\ProgramData\Microsoft\Microsoft Dynamics NAV\60\Server\MicrosoftDynamicsNavServer\source"

That's great, but only 1 problem: I do not have a directory called C:\ProgramData, because I'm not running windows Vista, I'm still running good old windows XP ???


In the Application Event log, find the entry that has MicrosoftDynamicsNAVServer for its Source and has the following description:

Service: <service name>

Source files for debugging are available under <source file location>

Now open windows explorer and voila:

We finally found the files and we can use them in Visual Studio for debugging !!!

Microsoft Dynamics NAV 2009 official release date for Belgium

23-09-2009 14-31-10

Microsoft Dynamics NAV 2009 will be officially released in Belgium on January, 1st - 2010

Thanks to WALDO for the scoop

Follow us on Twitter


Plataan believes in social media. As from the start of Plataan we started blogging (http://plataan.typepad.com/microsoftdynamics/). It has been nearly 5 years now. We also created our Linkedin Group (http://www.linkedin.com/e/gis/38825/5423F243D408) and a facebook Group.

Why? Because it is a great instrument to share information and knowledge, peer learning and to stay connected. That is what Plataan is all about.

To make it easier we have now one central place where you can follow it all. That's right, one place where we will tweet you to everything that is happening in the ERP, CRM, Sure Step, Plataan, Microsoft and Microsoft Dynamics world.

Follow us on twitter : http://twitter.com/PlataanAlumni

Debugging Reports in NAV 2009 SP1

When developping reports for the Role Tailored Client one anoying thing is that you can not really debug reports. In NAV 2009 service pack 1 a new feature is available that can help debugging reports. This feature will allow you to see the resultset/dataset that was generated for a report.

How to enable this feature ?

While in Preview mode you can Zoom into the underlying dataset of the report. In NAV 2009 RTM use this shortcut: CTRL+SHIFT+ALT+F12. If you are using NAV 2009 SP1 the shortcut has changed to CTRL+ALT+F1 and it is also accessible from the help menu.

This will enable the feature and the following message will be displayed:

Now, just close and reopen the report and the dataset will be visualized in another popup window:

October 2011
Mon Tue Wed Thu Fri Sat Sun
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

powered by FreeFind
© 2005 Plataan bvba | info@plataan.be