Options

Web Services in Nav 2009 R2

manuel04manuel04 Member Posts: 6
edited 2015-09-14 in NAV Three Tier
Hello
I installed it the web services in Nav 2009 R2 and it works but only with the database example, if I set up my database no longer works for me and trying to access the URL from the browser I get error 500.
Anyone have any idea how I can change the database or am I doing wrong?

Comments

  • Options
    DouglasDouglas Member Posts: 10
    Does the computer, port and company name match your db? See bold text in URL below:

    http://localhost:8080/DynamicsNAV71/WebClient/List.aspx?company=7002&node=ec29feaf-58ae-4c7a-8c7f-792d5cfd9aa0&mode=View&page=50030&i=138&ni=1
  • Options
    manuel04manuel04 Member Posts: 6
    Thanks for the reply.
    The URL I use to connect and that works for me with the database "Demo Database NAV (6-0)" is this "http: // localhost: 7047 / DynamicsNAV / WS / Services".
    The file CustomSettings.config change the "DatabaseName" value with the name of my database and no longer works there.
  • Options
    apertierraapertierra Member Posts: 61
    Did you setup your database to use web services too?
    Web services needs to be setup on the database you want to use too... it's not as easy as installing it for one database and then have it work for any database just changing your local config file.
  • Options
    DouglasDouglas Member Posts: 10
    Do you have a Nav service running for your db? Does your CustomSettings.config identify that with the "ServerInstance" key?
  • Options
    manuel04manuel04 Member Posts: 6
    apertierra wrote:
    Did you setup your database to use web services too?
    Web services needs to be setup on the database you want to use too... it's not as easy as installing it for one database and then have it work for any database just changing your local config file.

    I did not know who had set something extra to introduce the values at the time of installation.
  • Options
    manuel04manuel04 Member Posts: 6
    Douglas wrote:
    Do you have a Nav service running for your db? Does your CustomSettings.config identify that with the "ServerInstance" key?

    That's right, I have run the service for Nav
  • Options
    apertierraapertierra Member Posts: 61
    Check this:
    https://msdn.microsoft.com/en-us/librar ... 5(v=nav.80).aspx

    Also check if your object change listener is setup in your database and if the user on the service is also setup.
  • Options
    manuel04manuel04 Member Posts: 6
    apertierra wrote:
    Check this:
    https://msdn.microsoft.com/en-us/librar ... 5(v=nav.80).aspx

    Also check if your object change listener is setup in your database and if the user on the service is also setup.


    Thank you.
    I made the process but I still get the same result.
Sign In or Register to comment.