473,320 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 NetworkCredential("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:
<authentication mode="Windows"/>
<authorization>
<allow users="LOCALCOMPUTER\user" />
</authorization>

But it doen't help...

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

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

Similar topics

0
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...
1
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...
4
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
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...
0
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("\\" +...
4
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...
1
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...
5
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...
1
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.