473,804 Members | 3,762 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Calling local Web Servive with admin Credentials retuns 403: Forbi

Hi,

I'm trying to call Web Service located on my computer from asp.net web
application:

WebService ws = new WebService();
ws.Credentials = new NetworkCredenti al("user", "pwd", "domain/localcomp");
string test = ws.Method(param );

When "user" is the interactive user the call works fine.
When "user" is other user with Administrator's credentials I get 403:
Forbidden.
When I don't set ws.Credentials property at all, I get 401: Unauthorized.

To solve the problem I tried to add in web.config of the WebService
following entries:
<authenticati on mode="Windows"/>
<authorizatio n>
<allow users="LOCALCOM PUTER\user" />
</authorization>

But it doen't help...

Thanks in advance
Mark Gankin
ma****@cellcom. co.il
Nov 23 '05 #1
0 1295

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1836
by: Twan Kennis | last post by:
Hello! I do have the following problem: I've developed a Windows application which communicates with a DB2-database on the iSeries platform using an ODBC-connection string. This ODBC-connection-string refers to a system-connection configured within the iSeries Navigator based on the Windows username and password of the logged-on user.
1
1282
by: Lloyd Dupont | last post by:
how to access the 2.0 default admin web site? I try to browse to http://localhost/aspnet_webadmin but I have 403 not authorized I disable anonymous authentication (in IIS DefaultWebSite/aspnet_webadim), used window authentication, I'm an admin, doesn't fix the problem. also where is this virtual dir? it's not wwwroot/aspnet_webadmin, because this one is not web-shared and when I tryed to web-shared it I had an exception, there is already...
4
2319
by: Rhot | last post by:
I am trying to call a web service through the vb code but when i m getting a error 403 that is a forbidden access. how can i fix this problem..thanks a lot
0
1215
by: Rainier [MCT] | last post by:
Hi I've got this strange situation. I'm calling multiple webservices that are all installed on my local machine from a web application that uses frames holding more web applications. The web applications all use integrated windows authentication. The web services have anonymous access enabled. When clicking around on the web sites I will get a security exception 403 when a method is invoked on the web service. But this happens on...
0
5484
by: James | last post by:
Dim connection As New ConnectionOptions connection.Username = m_ntid connection.Password = m_pwd connection.Authority = "ntlmdomain:" & m_domain Dim scope As New ManagementScope("\\" + computer + "\root\CIMV2", connection)
4
1996
by: Tim Brooks | last post by:
All, Not sure where else to go. I have: VS2005, XP SP2 Media Center, IIS5.1 Problem: Apps developed (even simple "Hello WOrld") apps simply won't deploy properly to either my local IIS instance or to a 2nd server W2003K server. When I publish, create them as IIS apps, or copy, even after running both/either the ASP2.) security tab or the web admin (asp based) manager they will not enable properly.
1
992
by: gkellymail | last post by:
I have a visual studio solutions that contains for example the following projects: project.Admin (web app and web service entry points) project.Web (web app ) project.Lib ( common stuff that Admin and Web use ) When I rebuild and run the app, Web will call an Admin web service to authenticate. however, it will get a 403 error with no sub code being revealed. If I wait a few minutes then it will work. This makes testing a real pain. ...
5
13213
by: Michael Howes | last post by:
I'm writing a utility to manage a machines *local* accounts in c# I am getting all the users in a specific Group just fine but when I want to get some of the information on each user from their Properties collection I can't get the properties on some users. For example, I get all the users that are part of my machines Administrators Group. I get get the properties of the built in local Administrator account and some local IT account,...
1
7541
by: LamSoft | last post by:
I am writing a web portal to modify the users account password. However, it is confusing me... for a few days for this error. It has been work fine while debugging on the development web server, however when i run on the on the IIS (on same computer), it has this error: A specified logon session does not exist. It may already have been terminated. But if I connect the local computer by supplying the admin username and password, it has...
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10571
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
10326
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...
0
10075
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
9143
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6851
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();...
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.