473,406 Members | 2,705 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,406 software developers and data experts.

When I Try to Use A Web Services ----Access Denied

Hi there,
IS Any one know what cause the Access Denied Error when I try to use a web
Services (through a proxy class)??
--
Colin
Sep 27 '05 #1
3 1215
Your website / virtual directory isn't allowing anonymous users?

"Colin" <Co***@discussions.microsoft.com> wrote in message
news:E2**********************************@microsof t.com...
Hi there,
IS Any one know what cause the Access Denied Error when I try to use a web
Services (through a proxy class)??
--
Colin

Sep 28 '05 #2

I am assuming that the Web Service is a .NET web service. If so, check
the Web.Config file and make sure that your allowing access to everyone
and NOT denying anyone. If you have the default on, which is everyone
has access, then it may be the IIS Permissions on your web service
application.

The quick and dirty test is to create a Test Web Application, and Add
Web Reference...when you put in the URL of the web service and get
prompted for User ID, Password, and Domain, then the Web Service is
locked down by either one of the two methods that I mentioned.

If you know the User ID, Password and Domain information, attach
Network Credentials to your web service call...and that will allow you
access to the Web Methods.
--
rviray
------------------------------------------------------------------------
rviray's Profile: http://www.msusenet.com/member.php?userid=4211
View this thread: http://www.msusenet.com/t-1871084171

Sep 28 '05 #3
Thank all of you who replied my question. I've solved the problem. It's
caused by IIS setup (not allowing anonymous). Thank you again.
--
Colin
"rviray" wrote:

I am assuming that the Web Service is a .NET web service. If so, check
the Web.Config file and make sure that your allowing access to everyone
and NOT denying anyone. If you have the default on, which is everyone
has access, then it may be the IIS Permissions on your web service
application.

The quick and dirty test is to create a Test Web Application, and Add
Web Reference...when you put in the URL of the web service and get
prompted for User ID, Password, and Domain, then the Web Service is
locked down by either one of the two methods that I mentioned.

If you know the User ID, Password and Domain information, attach
Network Credentials to your web service call...and that will allow you
access to the Web Methods.
--
rviray
------------------------------------------------------------------------
rviray's Profile: http://www.msusenet.com/member.php?userid=4211
View this thread: http://www.msusenet.com/t-1871084171

Oct 3 '05 #4

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

Similar topics

0
by: David | last post by:
Hi I wrote an windows application accessing web services method. Everything works perfectly. My system crashed, I install the VS.NET 2003 Pro. Suddenly i realized that i required to used some of...
4
by: Fabian von Romberg | last post by:
Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000 PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a report using the webbrowser, I get the following...
0
by: George | last post by:
Hello, I'm running an ASPX application "WebApplication1" which consumes a web service (service1.asmx) hosted on a machine with IP (128.1.7.x) . The web service is located in the intranet. The...
4
by: Martin | last post by:
Hi, I am getting an "Access Denied" error when attempting to browse asp.net pages. I have installed ASP.NET 1.1.4322 on a domain controller. The machine also has ASP.NET 1.0.3705 installed on...
1
by: Selden McCabe | last post by:
I have a web service the uses MS Word to do mail merge and printing documents. When I run the service on my development box, it works. When I run in on the server, I get "Access Denied" when it...
3
by: Colin | last post by:
Hi there, IS Any one know what cause the Access Denied Error when I try to use a web Services (through a proxy class)?? -- Colin
1
by: igotyourdotnet | last post by:
Ok, here is the issue: I have 2 web pages one does a file upload to a database and the other page does a FTP to a server, both pages use the c:\temp directory. The page that uploads to a database...
4
by: carson | last post by:
I have written two windows services: - service A does some crunching of local data files and uploads them to a central processing computer via http. - service B monitors a manifest file on a...
2
by: =?Utf-8?B?RWRkaWU=?= | last post by:
Here is my scenario for a problem I can't solve. I am hosting a 3.5 WCF service in IIS on Windows Server 2003. The service works fine with the WCF test client in Visual Studio 2008 and from an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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,...
0
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...
0
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...

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.