Troubleshooting

Problem with Importing NAV Objects

Problem:

The problem may occur with processing a code in NAV because the metadata of the SC codeunites is in the incorrect state.

Applies to:
Sana Commerce 8.1 - NAV Connector
NAV 2009 with Web Services

Cause:

After compilation of the Sana Commerce objects imported from the '*.txt' file you can see in the Object Designer that the 'SC - NAS MessageHandler' and 'SC - Validation' codeunites are not compiled. The error that the external component is missed may occur. Due to the incorrect state of the SC codeunites metadata the problem with processing a code in NAV can be encountered.

Solution:

To solve this problem the WCF service should be installed to correctly compile the 'SC - NAS MessageHandler' and 'SC - Validation' codeunites.

The detailed information about how to install WCF service can be found in this chapter.

After the WCF service has been installed, recompile the Sana Commerce objects and restart the NAV 2009 services.

If the Sana Commerce objects have been imported from the '*.fob' file, do not take any extra measures for compiling the 'SC - NAS MessageHandler' and 'SC - Validation' codeunites. The NAV 2009 Server service will work correctly and the 'SC - NAS MessageHandler' and 'SC - Validation' codeunites will not be called.