PC Review


Reply
Thread Tools Rate Thread

call change user password

 
 
=?Utf-8?B?TERW?=
Guest
Posts: n/a
 
      3rd Apr 2005
I've been using a form built straight out of Microsoft Knowledge Base Article
- 200665 and for the past few months to have users change passwords and it
had worked just fine.

Recently however, I starting getting a default Microsoft error that reads
"There was an error running your request - check that all fields are properly
filled in." I've gone back to many archived versions of the form to see if
something by accident was changed, but all older versions produce this same
result on my development and test systems. I am clueless why this started
happening. Any ideas?

Thank you
 
Reply With Quote
 
 
 
 
TC
Guest
Posts: n/a
 
      3rd Apr 2005
That doesn't sound like an error that you should get from running the
code in that article. Are you sure it isn't coming from the code that
*calls* that code?

The first think I would do, is to comment-out the following statement:

On Error GoTo ChangeResetPassword

Then, if the error is occuring inside that code, it will stop on the
actual line in question, instead of going to the error trap at the end
of the code.

HTH,
TC

 
Reply With Quote
 
=?Utf-8?B?TWFyeQ==?=
Guest
Posts: n/a
 
      4th May 2005
I am trying to set up a form to allow users to change their own password. I
used the code in Article 200665 and get a compile error message "Ambiguous
Name Detected: ChangeUserPassword". I'm not sure of how to call this, can
someone help?

"TC" wrote:

> That doesn't sound like an error that you should get from running the
> code in that article. Are you sure it isn't coming from the code that
> *calls* that code?
>
> The first think I would do, is to comment-out the following statement:
>
> On Error GoTo ChangeResetPassword
>
> Then, if the error is occuring inside that code, it will stop on the
> actual line in question, instead of going to the error trap at the end
> of the code.
>
> HTH,
> TC
>
>

 
Reply With Quote
 
TC
Guest
Posts: n/a
 
      5th May 2005
That would imply that there is more than one public procedure called
ChangeUserPassword, in your database.

Find the duplicates, see if they are the same, and if so, delete all
but one of them.

Take a backup of your database first, just in case you muck it up!

HTH,
TC

 
Reply With Quote
 
Joan Wild
Guest
Posts: n/a
 
      5th May 2005
"Mary" <(E-Mail Removed)> wrote in message
news:A3CFCB23-767C-4C5F-BFC2-(E-Mail Removed)...
>I am trying to set up a form to allow users to change their own password.
>I
> used the code in Article 200665 and get a compile error message "Ambiguous
> Name Detected: ChangeUserPassword". I'm not sure of how to call this, can
> someone help?



The module should not have the same name as the sub. That may be the cause.

--
Joan Wild
Microsoft Access MVP


 
Reply With Quote
 
=?Utf-8?B?TWFyeQ==?=
Guest
Posts: n/a
 
      6th May 2005
Sorry for the delay. I did have a "test" module that once deleted removed the
error.

Now I get a new permissions error: You don't have the necessary permissions
to use the "myobject" object.

I am the db owner.

Any ideas what I did wrong this time? Thanks!

I used: http://support.microsoft.com/default...b;en-us;200665 to
set up the form - frmChangePasswords and the module SecurityCode.




"TC" wrote:

> That would imply that there is more than one public procedure called
> ChangeUserPassword, in your database.
>
> Find the duplicates, see if they are the same, and if so, delete all
> but one of them.
>
> Take a backup of your database first, just in case you muck it up!
>
> HTH,
> TC
>
>

 
Reply With Quote
 
=?Utf-8?B?TWFyeQ==?=
Guest
Posts: n/a
 
      6th May 2005
Hello again, I logged out and back into the database and found that my
password actually did change, even though I received the error message. I'll
look at the Err code. Thanks, Mary

"Mary" wrote:

> Sorry for the delay. I did have a "test" module that once deleted removed the
> error.
>
> Now I get a new permissions error: You don't have the necessary permissions
> to use the "myobject" object.
>
> I am the db owner.
>
> Any ideas what I did wrong this time? Thanks!
>
> I used: http://support.microsoft.com/default...b;en-us;200665 to
> set up the form - frmChangePasswords and the module SecurityCode.
>
>
>
>
> "TC" wrote:
>
> > That would imply that there is more than one public procedure called
> > ChangeUserPassword, in your database.
> >
> > Find the duplicates, see if they are the same, and if so, delete all
> > but one of them.
> >
> > Take a backup of your database first, just in case you muck it up!
> >
> > HTH,
> > TC
> >
> >

 
Reply With Quote
 
=?Utf-8?B?TWFyeQ==?=
Guest
Posts: n/a
 
      6th May 2005
Got it working - thanks for your help!

"Mary" wrote:

> Sorry for the delay. I did have a "test" module that once deleted removed the
> error.
>
> Now I get a new permissions error: You don't have the necessary permissions
> to use the "myobject" object.
>
> I am the db owner.
>
> Any ideas what I did wrong this time? Thanks!
>
> I used: http://support.microsoft.com/default...b;en-us;200665 to
> set up the form - frmChangePasswords and the module SecurityCode.
>
>
>
>
> "TC" wrote:
>
> > That would imply that there is more than one public procedure called
> > ChangeUserPassword, in your database.
> >
> > Find the duplicates, see if they are the same, and if so, delete all
> > but one of them.
> >
> > Take a backup of your database first, just in case you muck it up!
> >
> > HTH,
> > TC
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change user password in ADS and check the password policy? Volkan Senguel Microsoft C# .NET 0 19th Aug 2009 07:49 PM
How can Administrator change the Password of existing User, without knowing his Old Password in Administer Security Tool ? Luqman Microsoft ASP .NET 5 12th Jul 2007 10:29 AM
Other user account able to change my password without old password prompt noddyt Windows XP Security 1 12th Aug 2005 11:29 PM
domain user log on at windows xp not permiss change user password yzx Microsoft Windows 2000 Security 0 5th Aug 2003 07:41 AM
Change text displayed when user uses cnt-alt-del to change password Kim Microsoft Windows 2000 Security 0 31st Jul 2003 03:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:58 PM.