Advertisements

General Troubleshooting Tips

Record Locked by Another User

If you have ended Microsoft Dynamics NAV in busy mode, and then restarted Microsoft Dynamics NAV, you may experience the following error message: “Record locked by another user”. This is caused by a lock on data in a job that is still running on the server.

To release this lock, you must either shut down the SQL server manually, or restart the Microsoft Dynamics NAV Server session using the Microsoft Dynamics NAV Server Administration tool.

Sorting Actions in System Groups

In the Microsoft Dynamics NAV Windows client, you cannot order actions in system groups in the Home tab.

Remove all actions from the group, apply changes, and then add the actions again. This will ensure that metadata is created for all actions and that they can be sorted as you want.

Removing Promoted Actions in Home Tab

In Microsoft Dynamics NAV removing a promoted action in the Home tab, and then re-adding it in the same session will cause duplication of the action.

Remove the action, apply changes, add the action again, and then apply changes. Or, remove the action, add it again in same session, and then apply changes. Remove duplicate instances and apply changes.

Compression Option in IIS

Users may experience slow mobile client responses especially noticeable when they are running with a slow network connection. The reason for the mobile client running slowly can be that the dynamic compression is not enabled on the IIS server.

Configure HTTP compression of dynamic content to use bandwidth more efficiently. Enabling dynamic compression always gives you more efficient use of bandwidth, but if your server’s processor utilization is already very high, the CPU load imposed by dynamic compression might make your site perform more slowly.

You can perform this procedure by using the user interface (UI), by running Appcmd.exe commands in a command-line window, by editing configuration files directly, or by writing WMI scripts.

  1. Open IIS Manager and navigate to the level you want to manage.

  2. In Features View, double-click Compression.

  3. On the Compression page, select the box next to Enable dynamic content compression.

  4. Click Apply in the Actions

The File that You Are Trying to Use Is Too Large

If you are trying to upload a large image file that is larger than 4 MB in size, such as a high-resolution photo, Microsoft Dynamics NAV will give you an error message saying that the file you are trying to upload is too large. This behavior can be changed by modifying the IIS configuration to support large file uploads.

The IIS administrator should make the following changes in the Internet Information Services (IIS) Manager.

  1. Launch the IIS Manager.
  2. In the left pane of the IIS Manager, select the Microsoft Dynamics NAV web site, and choose Request Filtering.
  3. In the Actions pane of the Request Filtering window, choose Edit Feature Settings.
  4. Set the field Maximum allowed content length (Bytes) to an appropriate value, such as 100000000 and choose the OK button.
  5. In the left pane of the IIS Manager, select the Microsoft Dynamics NAV web site, and choose Configuration Editor.
  6. In the Configuration Editor, make sure that the From field is set to Microsoft Dynamics NAV 2013 R2 Web Client Web.config
  7. Set the Section field to system.web/httpRuntime and now a number of properties will appear.
  8. Set maxRequestLength to an appropriate value, such as 100000 (kilobytes) and choose the Apply action on the right.
  9. Close the IIS Manager.

The new settings should take effect immediately without refreshing the IIS or the site.

Advertisements

Useful Tips for Technical as well as Functional (Saving Customer/Vendor/Item as Template)

Normally we see Template is created at on Interface and the Customer/Vendor/Item are created via other interface.

We can make it more user friendly, in below article I will show some readymade tips available in Navision It is available in 2013 and 2015, for lover version please verify accordingly.

First Lets have a look at what all is available to us then we will see how we can make the more meaningful to our customers. Obviously if any out of box customization is required that we have to carry out.

Template-CVI-1

Others too available check it out, I will show one of them rest you apply same skill to accomplish others.

Let’s Start with Page 1300 Mini Customer Card what it looks like.

Template-CVI-2

In this Page on Action Tab we have Save as Template the functionality which we are going to use in our Article for today.

Template-CVI-3

Let’s First Link this Page (1300) with our Std. Customer Card Page (21).

I will Add New Action on my Page and set following Properties.

Open the Page 21 in Design Mode & Access View -> Page Actions.

Template-CVI-4

We have added this Link Just for information you can Skip this step, it is not compulsory for what we are going to perform below in next step.

Here other tabs of Mini Customer Card is only visible following certain Conditions. So nothing wrong with code or design. Technical can review the code and find out the reason for same.

Like :

Template-CVI-5

Template-CVI-6

Next we will copy one Functionality from Page 1300 to our Page 21. Save as Template.

Open the Page 1300 in Designer and access to View -> Page Actions.

Template-CVI-7

Save the object no further any coding or Variable definition will be required. As this Functionality is properly designed as plug and Play. Required Variables are defined local and it takes the Current Record as Parameter.

TempMiniCustomerTemplate.SaveAsTemplate(Rec);

Now Open your customer card, scroll to record which you want to save as Template and Select Save as Template from Action Tab. Give the Template name to save and click OK.

Template-CVI-8

Your Template is saved. Now you can use the same to apply to your New Customer.

Now Create New Customer and Select Template to Apply.

Template-CVI-9

Template-CVI-10

You are done.

This way you are able to give something new to your Customer without any major customization.

Similarly you can do for Item & Customer too.

Explore there are few more which will be helpful in certain conditions.

Important

Most of the contents you find in this blog will be either inherited from MSDN or Navision Developer IT Pro Help. Some places images are also directly taken from these sites. Purpose is simple to try those stuffs and re-produce adding few things as per my understanding to make easy understanding for others and quick reference.

Here nothing under my own brand or authorship of the content. At any point of time we are just promoting Microsoft stuffs nothing personnel with same.

Hope stuffs used here will not violate any copyright agreement with them. In case by mistake or in-intestinally it happens and the Microsoft feels these should not be used Microsoft have full right to inform me about same and will be glad to take down any such content which may be violating the norms.

Purpose is to promote Navision and share with community.

FB Profile

Like FB Page

%d bloggers like this: