I just updated to SSPR 2.2.1 and , when resetting, now i'm getting this error too:
However our SSPR_SERVER (which in our case is called PwReset) is member of domain admins. So it can hardly be a matter of rights, can it?Code:Wachtwoord resetten voor XXX ... An unexpected error occurred in the execution of this page Please report the following information to an Administrator Page Error Object Error Number: -2147024891 Error Description: General access denied error Source: Active Directory LineNumber: 0
[edit: In fact, even using Administrator doesn't work]
i read that boomam had the same problem but i couldn't find a solution.
Does the server have to be restarted after registring LoginAdmin.dll?
Does the username in cred.ini need DOMAIN\ before it ( or @FQDN after it)?
[edit: Never mind after changing the username/password back again it
miraculously seems to work now...Thanks for your time]
Last edited by rvdmast; 4th February 2008 at 02:20 PM.
cred.ini should not have domain or @fqdn after the username.
Ok so i got SSPR 2.2.1 to work again, however i noticed i still have the problem described earlier in this thread:
Whenever i wan't to load the admin pages from any computer other then the server i get:
which reads:Code:Microsoft VBScript runtime error '800a0046' Permission denied: 'GetObject' /admin/auth.asp, line 33
Maybe this requires impersonation too?Code:Set UserObj = GetObject("WinNT://" & FQDN & "/" & CurrentUser & ",user")
Btw i'm still running it on a member server, not a DC.
Last edited by rvdmast; 4th February 2008 at 05:57 PM.
Doh, I've just rechecked the file I uploaded and it seems I included an old copy of auth.asp.
I've updated the zip file but if you want to update manually, change line 33 from:
To:Code:Set UserObj = GetObject("WinNT://" & FQDN & "/" & CurrentUser & ",user")
I don't think there are any more surprises in there anywhere, but I'll double check my live copy when I get to work in the morning.Code:Set objLogon = Server.CreateObject("LoginAdmin.ImpersonateUser") objLogon.Logon ImpersonateUser, ImpersonateUserPass, FQDN Set UserObj = GetObject("WinNT://" & FQDN & "/" & CurrentUser & ",user") objLogon.Logoff Set objLogon = Nothing
Is there any point in me changing that line if it all works ok for me? .
boomam: I think it would be wise to do so yes, just keep a copy of the old file in case it doesn't work.
The original issue is solved, thanks!.
I can now open the admin pages from other computers too.
However (you saw that coming didn't you? ) now i get another error when trying to reset a users pasword:
I suppose this error is in adminreset.asp but since the error message doesn't where & which line i dont know where to search.Code:Resetting password for pwtest ... An unexpected error occurred in the execution of this page Please report the following information to an Administrator Page Error Object Error Number: 450 Error Description: Wrong number of arguments or invalid property assignment Source: Microsoft VBScript runtime error LineNumber: 0 Allowed Attributes:
Does resetting a users password by using the reset pages work?
That error is from adminreset.asp, it comes fromin the ResetPass function. For some reason it's not getting the type of value it expects.Code:objUser.SetPassword
A couple of things before I go hunting further:
Is it only the admin reset that fails or does the self service part fail also? | EDIT: Beaten by Ben again ^^;
Can you post the password section of your config.asp (The section including PwdType)
Last edited by Irazmus; 5th February 2008 at 12:48 PM.
resetting a users password by using the reset pages works fine, its just the admin page that fails.
here is the part from my config.asp:
Code:'----------------- 'Reset password can take 5 forms: '1) a static password used for all users '2) a list of user/password pairs '3) a random alphanumeric srting '4) a random password chosen from a list '5) a password chosen by the user 'Set PwdType to the number of the method desired PwdType = 5 'Modify the variable which corresponds to the PwdType chosen above DefPassword = "paradise" 'Static password for all users PasswordList = "C:\Inetpub\userpasslist.csv" 'Path to csv file containing user/password pairs RandomPassword = 10 'Length of random password. Set to 0 for variable length using the min/max values below RandomPasswordMin = 6 'Minimum length of random password RandomPasswordMax = 20 'Mazimum length of random password RandomPasswordList = "C:\Inetpub\passlist.txt" 'Path to file containing password list, 1 password per line '----------------- 'Location of database Eg: C:\Inetpub\wwwroot\databases\reset_db.mdb DataBase = "C:\Inetpub\wwwroot\databases\reset_db.mdb" '----------------- 'Database Access Credentials. 'Only set these if you have protected the database. The standard database does not need these to be modified 'UserID DBUID = "" 'Password DBPWD = "" '-----------------
@irazmus & plexer: in reset_pass.asp you use:
whereas in adminreset.asp you use:Code:oUser.SetPassword( NewPassword )
(notice the quotes)
So i changed the code in adminreset to ( NewPassword ) without
the quotes and guess what: it works!
Last edited by rvdmast; 6th February 2008 at 09:09 AM.
When I log in as a test account and register for the service, it appears to register fine but when I look at the database the 'username' field is empty.
Any ideas anyone?
Is your test account a domain user?
In IIS manager, did you set the register, update and admin folders to Integrated Authentication and the reset folder to Anonymous ?
Are the other fields in the database being filled in?
There are currently 1 users browsing this thread. (0 members and 1 guests)