A
acool
I am having some serious problems with a WebService that I created that
drops a file to a local directory.
I have the WebService pointed outside so that I can test it real world.
In my calling routine I set my credentials and make the call like so:
Dim netcredentials As New NetworkCredential("MyUserName", "MyPassword",
"MyDomain")
Dim obj As New WebReference.IBService
Dim doc As New XmlDocument
doc.Load("C:\accountdata.xml")
obj.Credentials = netcredentials
obj.PutAccount(doc)
My call generates any of the following errors (depending on how I setup
IIS):
a. "Logon failure: unknown user name or bad password."
b. "The network name cannot be found"
c. "401 Access Denied"
What is going on? This works internally of course. I am logging on as me
(FULL DOMAIN ADMIN) and I have full right to write anything I want to this
server (In fact anyone does). I have opened it up wide open and still
nothing. Any help please.
drops a file to a local directory.
I have the WebService pointed outside so that I can test it real world.
In my calling routine I set my credentials and make the call like so:
Dim netcredentials As New NetworkCredential("MyUserName", "MyPassword",
"MyDomain")
Dim obj As New WebReference.IBService
Dim doc As New XmlDocument
doc.Load("C:\accountdata.xml")
obj.Credentials = netcredentials
obj.PutAccount(doc)
My call generates any of the following errors (depending on how I setup
IIS):
a. "Logon failure: unknown user name or bad password."
b. "The network name cannot be found"
c. "401 Access Denied"
What is going on? This works internally of course. I am logging on as me
(FULL DOMAIN ADMIN) and I have full right to write anything I want to this
server (In fact anyone does). I have opened it up wide open and still
nothing. Any help please.