473,509 Members | 2,946 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing Webservices with a WinForm App - Issues

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
3 2242
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1351
by: Jinashe | last post by:
what do i need to enable accessing of webservices from a clients PC i'm hosting some webservices from my server in VB.NET. i've got some client windows applications done in VB.NET. what have i...
5
1762
by: cyberstrike | last post by:
Hi guys, my company was wondering if it's possible to develop ASP.NET/Webservices easily using a IIS installed on a server instead of installing IIS locally on the development boxes. Can you...
3
7643
by: Jim Lewis | last post by:
I have read several things that state accessing a Web Service through a Query String should work. However, when I try to execute http://localhost/webservice1/service1.asmx/HelloWorld I get the...
3
4970
by: Olivier BESSON | last post by:
Hello, I have a web service of my own on a server (vb.net). I must declare it with SoapRpcMethod to be used with JAVA. This is a simple exemple method of my vb source : ...
1
1965
by: Jon Ebersole | last post by:
I am developing a webservice and a windows application that talk to each other. They are using a standard VB class library in the background. I am having problems understanding why I can't sync my...
5
10553
by: lamxing | last post by:
Hi, I've come across a strange problem with the WinForm's sizing. I've designed a WinForm and it runs fine on my computer and some other PCs. But when I was trying to run the app under some PCs...
14
2642
by: Monty | last post by:
Hello, I have created a solution which has both a web UI and a winform UI, the latter is just for administrators. The Web UI (a Web Application Project) and the winform project both...
4
1446
by: Frank Rizzo | last post by:
Hello, I know that it's a bad thing to update UI components on a background thread. But is it fairly safe to access them? I want to iterate through a tree list. Thanks.
4
4449
by: Jon | last post by:
I wrote a VS 2005 C# express programme that accesses a web service. It works fine when there's a direct connection to the internet, but on two different PCs with internet access via a proxy, I get...
0
7234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7136
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4730
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.