Re: webservice problem system.net.webexception

From: nitesh (niteshs_at_yahoo.com)
Date: 11/17/04


Date: 17 Nov 2004 02:16:58 -0800

Hi Nicole, thanx for the response, I managed to solve the problem
Heres what I did and had to check
1. first check the local system policy and make sure the local system
account is not set as a member of the guest account since the guest
account has in its security policy "Deny access to this computer from
the network", you could remove the guest account from here if u wish
(this is under local security settings/user rights assignment), I made
mine look at the User account instead.
2. Make sure anonymous access is not ticked in IIS directory security,
make sure integrated windows security is ticked.
3. Test the client on the local machine, you should see the
system.net.webexcpetion access is not allowed : 401 message
4. now to fix this, create a new instance of the webservice proxy
and finally make the call like so :
MyProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;

P.S my mistake was that i did not create a proper instance of the
webservice with the proper proxy credentials within it.
 
Regards Nitesh

"Nicole Calinoiu" <calinoiu REMOVETHIS AT gmail DOT com> wrote in message news:<#ozop9AzEHA.1652@TK2MSFTNGP11.phx.gbl>...
> What is the exception message or, even better, its full details (as returned
> by its ToString method)?
>
>
> "nitesh" <niteshs@yahoo.com> wrote in message
> news:edacd7e5.0411160804.d21f8ff@posting.google.com...
> > hi all
> > i have a webservice that is called by a client, this works fine on the
> > local machine but when i try and access this from other machines the
> > client on the machine comes up with the system.net.webexception
> > i have added a trust relationship to the client thru the .net wizard
> > i also tried the framework config wizard and tried giving the web
> > service full trust by adding a runtime security policy on the machine
> > still no luck.
> > This is very frustrating as i have other web services written in other
> > packages that run fine but the asp.net w/s are a problem
> > cheers nitesh



Relevant Pages

  • Re: The local policy of this system does not permit you to logon i
    ... Security policies were propagated with warning. ... Error 0x534 occurs when a user account in one or more Group Policy objects ... I have checked the security policies & the administrator profile is not ...
    (microsoft.public.windows.server.sbs)
  • Re: RSoP Lockout Account
    ... major part of the Domain concept is a unified and enforced security regime. ... The password policy is enforced by the computer (i.e. a domain controller ... not when the user account is authenticated by that computer. ... controllers won't have any affect on domain user accounts. ...
    (microsoft.public.win2000.group_policy)
  • Re: Problems with 529 Events
    ... Step 2: Configure account lockout policy. ... Windows Settings, double-click Security Settings, double-click Account ... The issue may occur if the remote SBS server sends broadcast ...
    (microsoft.public.windows.server.sbs)
  • Re: WK2 AD Security
    ... Well the link I referred to should be a good start on account policy but ... guest account is disabled on the domain controller in AD Users and Computers ... -- Create a password policy suitable for your needs but consider enabling ... network" setting on the domain controller or in DC Security Policy. ...
    (microsoft.public.win2000.security)
  • Re: Security policies to allow app run on network drive
    ... this is nice and all for a local machine, but we have a domain we need to ... set the settings out across 100+ machines. ... controller to replicate the policy out? ...
    (microsoft.public.dotnet.languages.vb)