473,387 Members | 1,742 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,387 software developers and data experts.

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.IADsUser.
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 2601
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******@discussions.microsoft.comwrote in message
news:23**********************************@microsof t.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.IADsUser.
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******@discussions.microsoft.comwrote in message
news:23**********************************@microsof t.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.IADsUser.
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
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,...
2
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...
10
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
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...
5
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...
6
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...
2
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? ...
1
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...
3
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.