By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,781 Members | 1,427 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,781 IT Pros & Developers. It's quick & easy.

Accessing Webservices with a WinForm App - Issues

P: n/a
I have set <identity impersonate="true" /> on my webservice, and created a
proxy user Credential cache in my Winform App inorder to access the service
running on Server 2003. What my issue is:

I have to grant the User defined in my credential cache administrator access
for this to work.
If I create low rights user I get 401 unauthorized exceptions. Even though
the source folder has r/w access by everyone.
If I use the regular CredentialCache.DefaultCredentials and remove my
Administrator rights (on the server) it also fails.

what I would like to do is create a low-rights user to create a proxy to the
webservice. Is this the correct way? I basically followed the Creating a
Distributed Application Walkthrough.

Thanks.
Nov 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Maybe you should disallow anonymous access to the application, and allow
only the Integrated Windows Authentication
regards
erymuzuan

carolus.holman wrote:
I have set <identity impersonate="true" /> on my webservice, and created a
proxy user Credential cache in my Winform App inorder to access the service
running on Server 2003. What my issue is:

I have to grant the User defined in my credential cache administrator access
for this to work.
If I create low rights user I get 401 unauthorized exceptions. Even though
the source folder has r/w access by everyone.
If I use the regular CredentialCache.DefaultCredentials and remove my
Administrator rights (on the server) it also fails.

what I would like to do is create a low-rights user to create a proxy to the
webservice. Is this the correct way? I basically followed the Creating a
Distributed Application Walkthrough.

Thanks.

Nov 23 '05 #2

P: n/a
Anonymous access is Disallowed. I still need to be an Administrator.

"erymuzuan" wrote:
Maybe you should disallow anonymous access to the application, and allow
only the Integrated Windows Authentication
regards
erymuzuan

carolus.holman wrote:
I have set <identity impersonate="true" /> on my webservice, and created a
proxy user Credential cache in my Winform App inorder to access the service
running on Server 2003. What my issue is:

I have to grant the User defined in my credential cache administrator access
for this to work.
If I create low rights user I get 401 unauthorized exceptions. Even though
the source folder has r/w access by everyone.
If I use the regular CredentialCache.DefaultCredentials and remove my
Administrator rights (on the server) it also fails.

what I would like to do is create a low-rights user to create a proxy to the
webservice. Is this the correct way? I basically followed the Creating a
Distributed Application Walkthrough.

Thanks.

Nov 23 '05 #3

P: n/a
Hello carolus.holman,
I dint quite follow what you wanted to achieve. You want to create a
proxy to the web service? If thats what you want try using something like
DynWsLib [0].

[0] - http://www.thinktecture.com/Resource...b/default.html

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
I have set <identity impersonate="true" /> on my webservice, and
created a proxy user Credential cache in my Winform App inorder to
access the service running on Server 2003. What my issue is:

I have to grant the User defined in my credential cache administrator
access for this to work. If I create low rights user I get 401
unauthorized exceptions. Even though the source folder has r/w access
by everyone. If I use the regular CredentialCache.DefaultCredentials
and remove my Administrator rights (on the server) it also fails.

what I would like to do is create a low-rights user to create a proxy
to the webservice. Is this the correct way? I basically followed the
Creating a Distributed Application Walkthrough.

Thanks.

Nov 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.