473,734 Members | 2,211 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Change password in an asp application doesn't function

I'm migrating an asp application to change the password for windows user.
It based on a dll with a class to access to LDAP.
The user used in this class as an ActiveDs.IADsUs er.
When I try this application on the new web server, with a different domain,
I have this error number -2147022651. Moreover, the new web server is a
domain controller.
I haven't this error in the old server.
How can I solve this issue?

Oct 16 '08 #1
2 2630
In a different domain than the primary domain for the users? If so, it is a
domain trust issue.

If not, it may have something to do with domain controller and web server on
same server. It is not recommended. Not sure what it does with LDAP.

Either way, I would look at permission issues first.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

*************** *************** **************
| Think outside the box! |
*************** *************** **************
"Pasquale" <Pa******@discu ssions.microsof t.comwrote in message
news:23******** *************** ***********@mic rosoft.com...
I'm migrating an asp application to change the password for windows user.
It based on a dll with a class to access to LDAP.
The user used in this class as an ActiveDs.IADsUs er.
When I try this application on the new web server, with a different
domain,
I have this error number -2147022651. Moreover, the new web server is a
domain controller.
I haven't this error in the old server.
How can I solve this issue?
Oct 16 '08 #2
Thanks for your reply.

I'm migrating my application in a new environment (new server, new os, new
domain) that doen't communicate with the old domain to throw away.
For the user, there isn't any particular settings to prevent from changing
the password ...
"Cowboy (Gregory A. Beamer)" wrote:
In a different domain than the primary domain for the users? If so, it is a
domain trust issue.

If not, it may have something to do with domain controller and web server on
same server. It is not recommended. Not sure what it does with LDAP.

Either way, I would look at permission issues first.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

*************** *************** **************
| Think outside the box! |
*************** *************** **************
"Pasquale" <Pa******@discu ssions.microsof t.comwrote in message
news:23******** *************** ***********@mic rosoft.com...
I'm migrating an asp application to change the password for windows user.
It based on a dll with a class to access to LDAP.
The user used in this class as an ActiveDs.IADsUs er.
When I try this application on the new web server, with a different
domain,
I have this error number -2147022651. Moreover, the new web server is a
domain controller.
I haven't this error in the old server.
How can I solve this issue?

Oct 16 '08 #3

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

Similar topics

3
4578
by: Max | last post by:
Hi, What is the best way to change passwords via php? I was first thinking of using the chpasswd function, but even though I added an entry for apache to be able to run chpassword vi visudo, but I still get the following error: chpasswd: can't lock password file
2
3030
by: Sigi | last post by:
Hi guys. I am new member in this group. I am also new to Visual C++. I am developing a new system. I have a password to enter the system. The user should have a choice to change his/her password anytime. The password should be 8 char ending with an #. Could someone help me & show how it is done.
10
9883
by: Fabrizio | last post by:
(Sorry for the crosspost, but I really don't know which is the right newsgroup!) Hi all, I try to change the password to a user that as to change the password at first logon: try {
2
5471
by: Drew Pawlik | last post by:
I am needing to write an application that will be used every month to automatically run queries on an Oracle database. But the password I need to log in to the database needs to be changed every month. Is there any way to change the password through the connection string, or through any other C# code so I do not have to change it manually every month (since the app is automated)? -- If you can't beat them, arrange to have them...
5
3202
by: Markus Stehle | last post by:
Hi all! I have asp.net web application that uses static impersonation. Is it possible to change the impersonated user during runtime? Within some parts of my application I would like to impersonate another user in order to access certain ressources and then switch back to the originally impersonated user. How can I do this? Thanks
6
5145
by: Jan | last post by:
Hi: I have created a secured database for a client. For various reasons, I don't want the client to have full persmissions for the database; they aren't in the admins group. I have instead tried to create a second group, called "localAdmin," for the admin-type person at the client. I want this group to be able to do some basic admin-type stuff, including adding new users and clearing passwords if users forget theirs. I can't seem to...
2
4500
by: J | last post by:
Hello. I apologize if this isn't the appropriate group for this question but I was wondering if it's possible to allow regular windows domain users to change their passwords through an .asp page? I'm trying to figure out the best way to handle domain users to log into an .asp application tied with SQL Server 2000 on the back end since I keep reading that windows authentication is better practice to log into SQL Server. Thanks in...
1
6065
by: Sankalp | last post by:
Hi, I am using VB 2005. My application has many data bound controls. The connection is stored in the app.config file. I want the application to start with a default connection string and while during the runtime, the user can click on a button and change the connection string without exiting the application. I would really appreciate any sort of help.
3
7939
by: W C Hull | last post by:
We have a request from Auditing to modify the password an a local workstation administrative account every 90 days. We are developing two programs - a VB6 GUI program that will allow the administrative support person to enter a new password into an App and have that encrypted password saved in a text file. The second part is a VB6 program that only is a command line program that will open the password text file, read the encrypted...
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8774
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
6735
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.