Author info

NAV/CRM Connector FP5-Part III Configuring the adapter settings for NAV

erstellt von Rene Gayer am 8. February 2011 10:53

My last post was about how to configure  the adapter settings for CRM

Today configure the settings for Dynamics NAV 2009.

(Note: It doesn’t matter if you are using a local demo instance of NAV or a real production environment. )

Before going I should remind you that my connection is based on a NAV 2009 SP1 database, and a R2 client/server. Of course this is not what our recommendations should be, but I want to know if it is possible using the connector with SP1. And yes it is.

Before going on  we have to setup the SP1 database.

Preparation SP1 database

  1. Open a NAV 2009 R2 demo database from the product cd.
  2. Move on into the object designer

Setting up NAV means to activate the connector. This will run a codeunit (Integration Management) and setup some new web services in the web service table ( one codeunit and a lot of pages)

image

So our goal is to have the same functionality in SP1!

Note: you don’t have to import this objects if your are working with a NAV 2009 R2 database

3. Import or Merge the table 5079 Marketing Setup into your SP1 database (you will need this because there is a new field called “enable connector” which activates the services.)

4. Import these objects into your SP 1 database

image

5. Compile all these objects to be sure there is nothing you have forgotten.

6. Start table 5079 Marketing Setup and enable the connector.

image

7. RESTART! the NAV service AND the NAV web service service.

8. Navigate to your web service URL (if you don’t know where it is take a look into the event log – there you can see the URL the web service service is running) and be sure you can access it.

image

Access this URL and services is the primary requirement before moving on configuring the adapter settings.

Attention: The different web services accessing pages from Microsoft Dynamics NAV 2009 R2. To have the complete functionality you need to merge these pages to into your SP1 database too (for example: the contact card includes now the first name and last name field in R2!!)

9. Start your Microsoft Dynamics NAV Connector

10. Select the adapter settings

11. Select Microsoft Dynamics NAV 2009

12. Setup the the Domain NAV 2009 is using

13. Setup the integration account  username and password (if you are working with a real production environment setup a new service account in active directory )

14. Setup the URL you have use before accessing the web services

15. Test Settings

image

16. Configure Microsoft Dynamics NAV

image

17. Setup the connection information and select your organization you want to integrate. Your are also able to setup the tables which you want to integrate (Note: more information regarding security  and setup user accounts you can find in the connector manual)

image

18. Click Finish – your are now ready to move on activate the maps

Next Post: Activate the maps

Comments (2) -

>

4/28/2011 3:35:11 PM #

Hi Rene,

I've made my first steps into NAV <==> connector <==> CRM and tried to synch. our NAV database with the brandnew CRM 2011 Server.

I was able to setup the adapter properly and it gives me positive test results.
Unfortunatly if I run the "NAV Item Card to Product" Mapping I get the following error:

An exception occurred while processing map[NAV Customer Card to Account]. Processing will be aborted. Check your Dynamics CRM Adapter configuration settings. Der Read-Vorgang kann nicht importiert werden.

Bevor I got this message I had to deal with several messages of type:
Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLCallbackNotAllowedException

So I went into our customized code and tried to delete any callback functions.
Now I get the error mentioned above.

Can you tell me, which situation could cause this message.
I'm note sure if it is raised by NAV or CRM.

Is it possible to test the webservices/pages that crm uses manually or by a tool.


Thanks in advance
Sebastian

Sebastian Radloff Germany

>

1/23/2013 11:21:26 AM #

Hi,

where are the pictures. Or can you explain Step 4; What are "these objects"?

Thx
Roger

Roger Germany

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Datenschutzhinweis: Sie stimmen durch "Kommentar speichern" der Speicherung Ihrer Angaben durch Microsoft Österreich für die Beantwortung der Anfrage zu. Sie erhalten dadurch keine unerwünschten Werbezusendungen. Ihre Emailadresse wird auf Ihren Wunsch dazu verwendet Sie über neue Kommentare zu informieren.

Microsoft respektiert den Datenschutz. Datenschutz & Cookies

Datenschutz & Cookies · Nutzungsbedingungen · Impressum · Markenzeichen
© 2013 Microsoft. Alle Rechte vorbehalten · BlogEngine.NET 2.7.0.0 · Diese Website wird für Microsoft von atwork gehostet.
powered by atwork