Web service setup

Mike_HeffnerMike_Heffner Member Posts: 32
edited 2011-03-21 in NAV Three Tier
Hello,

I am trying to implement Rashed’s process to replace Job Queue with SQL jobs.

I have everything in place in NAV according to his notes, but when I try to check the web services with IE I get a message indicating the webpage cannot be found. The address I am using is “http://NAV-SRV-01:7047/MyDev/WS/services”. When I use “http://NAV-SRV-01:7047/DynamicsNAV/WS/services” it comes back with a list of services as expected. I have read everything I can find and still am unable to determine how to troubleshoot this. However, here is one question I have that I can’t find documented.

Currently there is a service on the server named “Microsoft Dynamics NAV Business Web Services”. This obviously handles the request to the demo database just fine as indicated above. Does this also interface to the new Development DB I created? I did set up a service to provide RTC access to that new DB using port sharing, etc. The RTC connection to that DB is working fine.

Or, do I need to create a new service to handle web service requests to that? If I need to create a new one, can you direct me to documentation that would give me some guidelines on how to set that up? If I don’t need a new one then can you give me suggestions on what to check next?

Thanks in advance for any help,
Mike

Comments

  • ErictPErictP Member Posts: 164
    You must create a new service for each database.

    This is here explained:
    http://blogs.msdn.com/b/freddyk/archive/2008/10/29/multiple-service-tiers.aspx for NAV2009

    and updated files for NAV2009 SP1 can you find here:
    http://blogs.msdn.com/b/freddyk/archive/2009/08/05/multiple-service-tiers-sp1.aspx

    With thanks to Freddy
  • Mike_HeffnerMike_Heffner Member Posts: 32
    Thanks for the reference. Freddy's info was helpful. I am not sure I want to implement his bat files right now, but reading throught them provided a few clues for me.

    For one thing, I was not using "type= share" on the "sc create" command. I put that on the command and now when I start the service I get the following error message:

    "Error 1083: The executable program that this service is configured to run in does not implement the service."

    I did a search and found a number of posts referring to this, and applied a couple of recommended changes to the registry. Also verified that BITS is running. However, I am still getting the error.

    Any one have any ideas how to trouble shoot this?

    Thanks,
    Mike
  • Mike_HeffnerMike_Heffner Member Posts: 32
    I finally was able to get this working. As it turns out the name of the web service is important. That wasn't obvious to me from the documentation. Here is a link to an MSDN article that explains this:

    http://blogs.msdn.com/b/nav/archive/200 ... ember.aspx

    Mike
Sign In or Register to comment.