RE: The remote server returned an error: (403) Forbidden in
- From: "Nathan Smith" <nathans@xxxxxxxxxxx>
- Date: Thu, 12 Oct 2006 16:16:56 -0700
Did you try setting the credentials to DefaultCredentials before issuing
the request?
-----Original Message-----
From: Claus Konrad [mailto:ClausKonrad@xxxxxxxxxxxxxxxxxxxxxxxxx]
Posted At: Thursday, October 12, 2006 11:38 AM
Posted To: microsoft.public.dotnet.security
Conversation: The remote server returned an error: (403) Forbidden in
webrequest
Subject: RE: The remote server returned an error: (403) Forbidden in
webrequest
One reason:
1) when using IE, you present your windows credentials
2) when using code - you do not set your current credentials to the
webrequest object?
/Claus Konrad
"trialproduct2004@xxxxxxxxx" wrote:
Hi all,
I am using webrequest and webresponse to chekc validation of url.
while validating url if i open that url in IE it is working properly
but through code it is showing error as shown in subject linke.
can anyone help me in solving this problem.
Please help me asap.
thanks in advance.
.
- Follow-Ups:
- Re: The remote server returned an error: (403) Forbidden in
- From: trialproduct2004
- Re: The remote server returned an error: (403) Forbidden in
- Prev by Date: Re: Creating MSI for installing .NET security policies
- Next by Date: Re: ActiveDirectory group membership in offline profile
- Previous by thread: Security Excetion while Rebooting a remote computer using WMI
- Next by thread: Re: The remote server returned an error: (403) Forbidden in
- Index(es):
Relevant Pages
|