Ask a Question related to ASP.NET Web Services, Design and Development.
-
acool #1
User Credentials problem with WebService that uses FileIO....Help!!??
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.
acool Guest
-
Passing credentials across 2 webservice
I've 2 webservice. (webservice1, webservice2). and one winform.. The winform calls the webservice1 as follows and sends teh currentLogon BY USING... -
Stop User Credentials Dialogue
Hi All, I have a web app on our intranet, and when an employee goes to the main page, it authenticates via Windows Authentication when the user... -
Web Application User Credentials
We are in the early planning stage of a new web (ASP.NET) application, are currently determining the best strategy for managing users in this... -
Passing user credentials from ASP.NET to Web Service
We have an ASP.NET application which needs to call Web Service on another machine using end user's account. The configuration is as follows: *... -
Accessing webservice with Compact Framework with credentials
I am working on an application using the compact framework. This app calls a webservice on my develop machine to make some SQL queries to an oracle... -
Jan Tielens #2
Re: User Credentials problem with WebService that uses FileIO....Help!!??
Try
obj.PreAuthenticate = True> Dim obj As New WebReference.IBService
> Dim doc As New XmlDocument
> doc.Load("C:\accountdata.xml")
> obj.Credentials = netcredentials--> obj.PutAccount(doc)
Greetz,
Jan
________________________
Read my weblog: [url]http://weblogs.asp.net/jan[/url]
"acool" <none@sendme.com> schreef in bericht
news:uzF28NBHEHA.2236@TK2MSFTNGP11.phx.gbl...> 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.
>
>
>
>
Jan Tielens Guest
-
acool #3
Re: User Credentials problem with WebService that uses FileIO....Help!!??
Thanks, but no same errors.
"Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message
news:exHu7%23FHEHA.2224@TK2MSFTNGP12.phx.gbl...this> Try
>> obj.PreAuthenticate = True> > Dim obj As New WebReference.IBService
> > Dim doc As New XmlDocument
> > doc.Load("C:\accountdata.xml")
> > obj.Credentials = netcredentials>> > obj.PutAccount(doc)
> --
> Greetz,
> Jan
> ________________________
> Read my weblog: [url]http://weblogs.asp.net/jan[/url]
>
> "acool" <none@sendme.com> schreef in bericht
> news:uzF28NBHEHA.2236@TK2MSFTNGP11.phx.gbl...> > 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>> > server (In fact anyone does). I have opened it up wide open and still
> > nothing. Any help please.
> >
> >
> >
> >
>
acool Guest
-
Jan Tielens #4
Re: User Credentials problem with WebService that uses FileIO....Help!!??
How did you setyp IIS? Integrated security?
--
Greetz,
Jan
________________________
Read my weblog: [url]http://weblogs.asp.net/jan[/url]
"acool" <none@sendme.com> schreef in bericht
news:ua0HbcKHEHA.2308@tk2msftngp13.phx.gbl...that> Thanks, but no same errors.
>
> "Jan Tielens" <jan@no.spam.please.leadit.be> wrote in message
> news:exHu7%23FHEHA.2224@TK2MSFTNGP12.phx.gbl...> > Try
> >> > obj.PreAuthenticate = True> > > Dim obj As New WebReference.IBService
> > > Dim doc As New XmlDocument
> > > doc.Load("C:\accountdata.xml")
> > > obj.Credentials = netcredentials> >> > > obj.PutAccount(doc)
> > --
> > Greetz,
> > Jan
> > ________________________
> > Read my weblog: [url]http://weblogs.asp.net/jan[/url]
> >
> > "acool" <none@sendme.com> schreef in bericht
> > news:uzF28NBHEHA.2236@TK2MSFTNGP11.phx.gbl...> > > I am having some serious problems with a WebService that I createdworld.> > > drops a file to a local directory.
> > > I have the WebService pointed outside so that I can test it real"MyPassword",> > >
> > > In my calling routine I set my credentials and make the call like so:
> > >
> > > Dim netcredentials As New NetworkCredential("MyUserName",setup> > > "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 Ime> > > 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> this> > > (FULL DOMAIN ADMIN) and I have full right to write anything I want to>> >> > > server (In fact anyone does). I have opened it up wide open and still
> > > nothing. Any help please.
> > >
> > >
> > >
> > >
> >
>
Jan Tielens Guest



Reply With Quote

