Ask a Question related to ASP.NET Web Services, Design and Development.
-
Sunil Virmani #1
Web Service with Admin rights
I want to create a web service that can create the users in the
Windows Domain. I am using ADSI for that. Using ADSI i am able to
create the users eaisly.
But when i incorporated the code in the web service i get the
unauthorized error.
How should i confiure the web service so that it can create the users
in the windows domain.
Rgds,
Sunil
Sunil Virmani Guest
-
Tech destroyed my admin rights
:confused; I had problems connecting to a new server, and called a tech in. He turned me into a content owner. When I try to make myself the... -
No Admin Rights Error Under OSX
Flash Player 8 does not install on my PowerBook G4. After running the installer I get an "access denied" error message telling me that I don't... -
Install Flash without Admin Rights
There has to be a way to do this.... I want to deploy the Flash plugin to ~390 locations. Few locations have admin rights. Also, the internet... -
Reader without admin rights
Hi, just fetched 20MB Reader for OSX, installed and used while logged in as admin. The first time to start as an unpriviledged user it asked for an... -
DO NOT have Admin rights to install programs
if you have a 2000 server, may be the domain group policies are preveting you installing any software. you can talk to your server administrator. ... -
Manohar Kamath #2
Re: Web Service with Admin rights
Sunil,
The so called "ASP.NET Webservices" are run under ASPNET account, which has
very few privileges. One way to get around this is to make the ASP.NET
worker process to run under an admin account. The following article should
help:
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspnetimpersonation.asp[/url]
--
Manohar Kamath
Editor, .netWire
[url]www.dotnetwire.com[/url]
"Sunil Virmani" <sun_hcl@rediffmail.com> wrote in message
news:e0989ba4.0503080827.5dda3c2c@posting.google.c om...> I want to create a web service that can create the users in the
> Windows Domain. I am using ADSI for that. Using ADSI i am able to
> create the users eaisly.
>
> But when i incorporated the code in the web service i get the
> unauthorized error.
>
> How should i confiure the web service so that it can create the users
> in the windows domain.
>
>
> Rgds,
> Sunil
Manohar Kamath Guest
-
Dan Rogers #3
RE: Web Service with Admin rights
Um.... write an email to your boss right now, and tell him "fire me please".
Now seriously, granting admin rights to a program that runs under IIS is
considered the very worst of worst practices - thus the levity in the
statement above. You can do it, but you really don't want to.
--------------------16:28:00 GMT)>From: [email]sun_hcl@rediffmail.com[/email] (Sunil Virmani)
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>Subject: Web Service with Admin rights
>Date: 8 Mar 2005 08:27:59 -0800
>Organization: [url]http://groups.google.com[/url]
>Lines: 13
>Message-ID: <e0989ba4.0503080827.5dda3c2c@posting.google.com >
>NNTP-Posting-Host: 203.200.70.152
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit
>X-Trace: posting.google.com 1110299280 16610 127.0.0.1 (8 Mar 2005TK2MSFTNGXA02.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT FEED01.phx.gbl!TK2MSFTNGP0>X-Complaints-To: [email]groups-abuse@google.com[/email]
>NNTP-Posting-Date: Tue, 8 Mar 2005 16:28:00 +0000 (UTC)
>Path:
8.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!
news.maxwell.syr.edu!postnews.google.com!not-for-mailmicrosoft.public.dotnet.framework.aspnet.webservic es:28495>Xref: TK2MSFTNGXA02.phx.gbl>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>I want to create a web service that can create the users in the
>Windows Domain. I am using ADSI for that. Using ADSI i am able to
>create the users eaisly.
>
>But when i incorporated the code in the web service i get the
>unauthorized error.
>
>How should i confiure the web service so that it can create the users
>in the windows domain.
>
>
>Rgds,
>Sunil
>Dan Rogers Guest



Reply With Quote

