Use 2009 web services without a domain?

dpardomdpardom Member Posts: 74
edited 2009-07-01 in NAV Three Tier
Hi, I developed a dll with .NET which connects to Nav through web services.

All was ok (using UseDefaultCredentials = True) until I knew I won't have a LDAP domain on the customer's office.

So I have tryed to connect to the web services with database authentication
Dim ws As New PaymentMethodPage_Service
ws.Url = ".../Page/PaymentMethodPage"
ws.UseDefaultCredentials = False
ws.Credentials = New System.Net.NetworkCredential("user", "password") //User and password are working and are super on nav.

But I get an "unauthorized" error.

Now, I think "let's try the user/pass from the roletailer client"... ¡but can't see any way to use database auth from the roletailer client! Is it possible? [-o<

Answers

  • kinekine Member Posts: 12,562
    No, RTC and Service tier is working only with Windows authentication.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • dpardomdpardom Member Posts: 74
    D'OH!

    Thanks Kine, I'm gonna have a talk with microsoft...

    At least I guess I could use samba in one XP and use it as domain controller :-k
  • ara3nara3n Member Posts: 9,256
    You can install 2009 without a Domain.

    Here is Freddy's blog.


    http://blogs.msdn.com/freddyk/archive/2 ... t-a-d.aspx
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • dpardomdpardom Member Posts: 74
    Thank you a lot.
    And thanks to Freddy of course.

    It works like a charm!

    =D> =D> =D>

    One more thing: My main problem was that I was trying to add windows logins to Nav by the lookup, and then it reports an error saying that I need an active directory. Now I know that local users must be typed :oops:

    Must I do something to mark the topic as solved? (Found it)
  • ara3nara3n Member Posts: 9,256
    Yes, a lot of people make that mistake.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.