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
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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
Here is Freddy's blog.
http://blogs.msdn.com/freddyk/archive/2 ... t-a-d.aspx
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
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)
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n