CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: NewsGroup Date Entered: 8/22/2007 5:37:17 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 18 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
soumitrasa
Asp.Net User
problem to create a new windows user from appliaction level in win 2003 server8/22/2007 5:37:17 AM

0/0

Using DirectoryEntry Class create a windows user from asp.net2.0 web application .In Win Xp Prof. if i set a administrator privilage to ASPNET user it's allow to create a new windows user but for win 2003 server it's not allow to create a new user by doing same privilage.There is no active directiory in win 2003 server.

 

Could you please tell me the solution that what set of privilage i have to set for creating the new user from asp.net 2.0 web application.

johram
Asp.Net User
Re: problem to create a new windows user from appliaction level in win 2003 server8/22/2007 9:57:02 AM

0/0

First things first. If I have understood you correctly, you are trying to create a new user in the Active Directory, right? Then, in order to do this, you need to have an account that has enough privileges in the AD to do this. Administrator is not enough, as it usually means local administrator. And running this with Domain Admin is not an option. So I suggest you either give the person that is indented to do this correct credentials in the AD, and then use integrated security in your web app, or you create a service account in the AD which have permission to create new users. Then you configure your asp web to run with this user's credentials. Something like that :-)


If this post was useful to you, please mark it as answer. Thank you!
soumitrasa
Asp.Net User
Re: problem to create a new windows user from appliaction level in win 2003 server8/22/2007 10:18:03 AM

0/0

Hi Johram,

very thankful to receiving your answer...but  there is no concept of active directory...inside a active directory it's working fine...only problem when i am facing to create user from work group.Mainly for windows user it's prevent me to create new user. Inside win xp prof.  machine it's working fine,but i am facing problem with win 2003 server.

 

johram
Asp.Net User
Re: problem to create a new windows user from appliaction level in win 2003 server8/22/2007 11:59:46 AM

0/0

You are trying to create an AD user from a machine that is not part of the domain? Have I understood you correctly? And this machine is a 2003 server? Weird.

This can be done, but the operation still needs to be carried out within the context of a domain user that has permissions to create an AD user. Being administrator on a machine that is not a member of the domain is not enough.

May I ask why this server is not a member of the domain? Just being curious... Is it maybe located physically outside the domain?


If this post was useful to you, please mark it as answer. Thank you!
soumitrasa
Asp.Net User
Re: problem to create a new windows user from appliaction level in win 2003 server8/23/2007 7:20:24 AM

0/0

 Hi,

 Again very much thankful.... see this is totally based on requirements of client. In client machine no active directory is created.Only workgroup is there.In ADS this is working finely.Even in windowsXP professional machine if i set administrator privilage for ASPNET user it's working finely & creating the new user.

 

Only i am facing problem with windows 2003 server.I have given administrator privilage to ASPNET user even i have given same privilage to IIS_WPG group.But still it is showing problem.I am trying to create a group from application it's not happening & even trying to create a user from application this is also not happening.

ask4jm
Asp.Net User
Re: problem to create a new windows user from appliaction level in win 2003 server8/23/2007 8:30:16 AM

0/0

Is the XP u mention is a part of AD?

Also look at

http://www.dotnet247.com/247reference/msgs/48/240137.aspx


============
Regards
JM
Benson Yu - MSF
Asp.Net User
Re: problem to create a new windows user from appliaction level in win 2003 server8/27/2007 8:06:50 AM

0/0

Hi soumitrasa,

Based on my understanding, you want to create local user by ASP.NET application. The web project works great when running on Windows XP, but fails on Windows 2003. If there has been any misunderstanding, please let me know.

In my opinion, the solution of giving privilege to the account for ASP.NET web application should work on both Windows XP and Windows 2003. The most likely cause of this issue is that you assigned privilege to the wrong account. In Windows XP, the IIS version is 5.1 and by default ASP.NET using the ?ASPNET? account. However, in Windows 2003, the IIS version is 6.0, and ASP.NET using the ?Network Service?.

Hence, please try to give privilege to ?Network Service? account, or configure Application Pool identity to run as the Local System account. About how to configure Application Pool identity, please refer to the following link:

Configuring Application Pool Identity in IIS 6.0 (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/12a3d96c-65ea-4210-96ad-86a801f6a88c.mspx?mfr=true

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
7 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Upgrading and Repairing Networks Authors: Terry William Ogletree, Scott Mueller, Pages: 1248, Published: 2003
Best Damn Windows Server 2003 Book Period: Everything You Need ToKnow About Managing A Windows Server 2003 Enterprise Authors: Susan Snedaker, Debra Littlejohn Shinder, Thomas W Shinder, Pages: 997, Published: 2004
Active Directory Cookbook Authors: Robbie Allen, Laura E. Hunter, Pages: 962, Published: 2006
Mastering Windows Vista Business: Ultimate, Business, and Enterprise Authors: Mark Minasi, John Paul Mueller, Pages: 1104, Published: 2007
MCSA/MCSE: Windows Server 2003 Network Security Administration (70-299) Authors: Russ Kaufmann, Bill English, Pages: 608, Published: 2004
Windows Server 2003 Bible: R2 and SP1 Edition Authors: Jeffrey R. Shapiro, Jim Boyce, Pages: 1185, Published: 2006
Microsoft Exchange Server 2003 Unleashed Authors: Rand Morimoto, Kenton Gardinier, Michael Noel, Joe Coca, Pages: 1056, Published: 2003
Microsoft Windows Server 2003 Delta Guide: Delta Guide Authors: Don Jones, Mark Rouse, Pages: 312, Published: 2003
Learning Windows Server 2003 Authors: Jonathan Hassell, Pages: 723, Published: 2006
Professional Microsoft Virtual Server 2005 Authors: Ben Armstrong, Pages: 591, Published: 2007

Web:
Overview of Windows Server 2003 R2 Standard Edition Application verification. Applications running on Windows Server 2003 can be ... Administrators can create accurate reports of uptime using the new server ...
Authorization Manager and Role-Based Administration in Windows ... In order to raise the functional level to Windows Server 2003, ... You can create a new application group by right clicking the folder and selecting New ...
What’s New with Windows Server 2003 Certificate Services? In Windows Server 2003, this convenience has been extended to user certificates. ... all applications that use the CryptoAPI in Windows XP and Server 2003. ...
Print - What You Need to Know About Windows Server 2003 SP1 Did it over Remote Desktop on a VPN - no problems! Anonymous User -April 19, 2005 ... NET application and one Windows 2003 Server Edition server for our SQL ...
What's New in Windows Server 2003 | O'Reilly Media I've got a problem with using VS .NET 2002 with Windows Server 2003. ... NET and FrontPage extentions installed but still i can't create a Web Application. ...
Understanding Windows Server 2008 Active Directory Domain and ... Read my "Raise Domain Function Level in Windows Server 2003 Domains" article ... The ability to create instances of the new group types, called application ...
Macs and Windows Server 2003 If I removed and re-create Macintosh share the new files would show up. Problem ... October 29, 2004 -- Paul Kneipp has a problem with Windows 2003 Server ...
Windows Server 2003: Product Overview Windows Server 2003 provides an extensible application platform for quickly .... sharing and collaboration to a new level with Windows SharePoint Services, ...
Windows Vista - Wikipedia, the free encyclopedia An example is the concept of "integrity levels" in user processes, ... Windows Vista includes a large number of new application programming interfaces. ...
SolutionBase: A look at Windows Server 2003's Active Directory ... Active Directory Users And Computers under Windows Server 2003 .... Create a new user, Right-click the container where you want the new user object to ...

Videos:
Hard Disk Sentinel Pro v2.70 Hard Disk Sentinel (HDSentinel) is a multi-OS HDD monitoring and HDD analysis application. Its goal is to find, test, diagnose and repair hard ...
(888)CPE1.Org_Microsoft_Office ... Windows SharePoint Services Version Comparison Summary Windows SharePoint Services is a versatile Windows Server technology that organizations ...




Search This Site:










template classes in visual basic .net

thread.currentprincipal in web apps //httpcontext.current.user = new genericprincipal(httpcontext.current.user.identity, roles);

web site administration tool

need help with regular expressions

click event

opening/editing ms word document

how to choose between overriding databind() or ondatabinding() ?

restricting modules

i have to do something naughty and need your help

sitemap - question!

can't install vwd express 2005

visual studio 2005 - asp publishing to iis local and remote

binding to list

asp net server

how to make the checkbox = true for any users where admin will have the option to select true or false

very new to dot net nuke

how to use (if) (then) (end if) in asp.net

sitemap click event handler

masterpage & iscrosspagepostback

what is "go live license“ mean ?

anyone have a clue on this error

how to set up a site with public and private areas?

changing content

how to determine the numbers of dynamically added user controls been added to the page on postback?

code problome, something i dunno how to fix, help please

have some bugs in login control?

capture prerender for the content page

solpart menucontrol in dnn

encrypt dnn code for installing on a client's server

what is the format od putting a conn string in a config file ,to connect to sql

 
All Times Are GMT