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

Unable to create new users using Directory services in Windows 200

I am unable to create new users using directory services in Windows 2003
server. But it is possible to create users with ASP.NET applications in
windows 2000.

I am getting "Permission Denied" and the "General access denied error "
error.

Can you please some code samples or solution for the problem.
Nov 19 '05 #1
1 1417
the System.DirectoryServices namespace has what you need
the permission denied error comes in because the default WindowsPrincipal
that is used is machine\ASPNET. the ways around it are:

1) in your web.config, change to <identity impersonate="true"/> then the
user can make the changes assuming they have the permissions
2) in your web.config, change to <identity impersonate="true"
userName="domain\usr" password="pwd"/> then the specified account will be
used instead of the ASPNET account
3) go to the microsoft site and download aspnet_setreg so that you can put
the account information for the app in the registry.

I use #3 for everything. Every application that we create runs under a
seperate identity. Your network services group shouldn't have a problem
creating an Applitaion account for you, assuming that you can justify it.

"Sivaraman.S" <Si********@discussions.microsoft.com> wrote in message
news:BC**********************************@microsof t.com...
I am unable to create new users using directory services in Windows 2003
server. But it is possible to create users with ASP.NET applications in
windows 2000.

I am getting "Permission Denied" and the "General access denied error "
error.

Can you please some code samples or solution for the problem.

Nov 19 '05 #2

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

Similar topics

8
by: Jonathan Polley | last post by:
I have one account on a WindowsXP machine that refuses to run IDLE (or any other python script that uses Tk). Other people can login to that PC and IDLE runs just fine, so it is not an...
4
by: Brad | last post by:
Error when opening a solution with a web services project in it: "Unable to open the Web project 'myproj'. The file path 'c:\code\myservice' does not correspond to the URL...
1
by: John Baima | last post by:
I am unable to create Web project now. If I do a File | New Project | ASP.NET Web Application, I always get a message like: ====== Unable to create Web project 'MyTestWeb'. The file path...
1
by: TM | last post by:
I am trying to create an asp.net web application in Visual Studio.Net 2003 and when I try to create it on my windows 2003 server, I get this error "The web server reported the following error when...
2
by: TM | last post by:
When I run an ASP.Net application I am getting the following error: "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged."...
3
by: hussein | last post by:
'm not bale to run my projec on the 2000 server, he error was: error while trying to run project: unable to start debugging on the web server.erver side error occurred on sending debug HTTP request...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
2
by: Michael | last post by:
Running DB2 v7 UDB ("DB2 v7.1.0.93", "n031208" and "WR21333") on Windows XP, I am unable to find out why the "Build for Debug" option within Stored Procedure Builder is not enabled on Java stored...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.