473,806 Members | 2,748 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="tr ue" /> 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 .DefaultCredent ials 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 2258
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="tr ue" /> 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 .DefaultCredent ials 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="tr ue" /> 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 .DefaultCredent ials 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="tr ue" /> 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 .DefaultCredent ials
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
1376
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 got to install on the clients PC to be able to access these webservices?? Will just the .NET Framework suffice??? Or do i have to install SOAP?? note - the OS of the client can be win98, win2K, win3000, winXP
5
1782
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 develop for ASP.NET/Webservices without IIS installed on your local box without having to resort to more difficult debugging or using notepad for development? Thanks for the help!!
3
7683
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 error below. Can I access a Web Service through a Query Sting. I need to send XML to a Flash movie using a Web Service. Thank You, Jim Lewis Server Error in '/WebService1' Application.
3
5008
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 : >************************************************************************ > <WebMethod(), System.Web.Services.Protocols.SoapRpcMethod()> _ > Public Function HelloWorld() As > <System.Xml.Serialization.SoapElementAttribute("return")> String
1
1988
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 namespaces properly. Example; My Windows namespace is MyCompany.MyWindowsSpace My Webservice namespace is MyCompany.MyWebService My Class Library namespace is MyCompany.MyLibrary I am using typed objects to send back and forth to my...
5
10586
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 with wide screen, some of my controls on the WinForm will automatic resize themselves to be bigger and thus push other controls off the screen. For a sample of this problem, please see http://usctimes.com/screen.jpg .. The screen on the left is...
14
2673
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 reference the same BLL in a separate assembly, and I have all three projects in a single solution file for development, with the two UI's each having a project reference to the BLL assembly. I created a Setup and Deployment package for the winform app...
4
1464
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
4472
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 this exception: System.Net.WebException: The request failed with HTTP status 407: Proxy Authentication Required. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream...
0
9599
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10624
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10111
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6877
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4330
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 we have to send another system
2
3853
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.