-
Notifications
You must be signed in to change notification settings - Fork 228
Works but gives error 0x80070056 #8
Comments
I can confirm that I'm seeing this exact same error as well, also on 2012r2. Otherwise, appears to be working well. |
I get this error, too. gns |
It looks like this post is describing your guys' issue. I will look into this and try to find a fix |
Thanks for looking into this issue and working on a fix. If you need any logs from us, just let me know and I can provide them to you. |
I can confirm this is an issue as well on the following: It is fully functional, just kind of off-putting to users when they see red text. |
I'll check it out. There are several ways of changing passwords. In the next version I'll add a configuration option that allows the user to pick which password change strategy is used. |
Hi, |
Hi, We are having the same bug but we are on server 2008 R2. |
Same here. Thanks. |
PassCore was working when I tested with http. However, now that I've applied patches to my 2012 R2 server and changed to https, I'm getting 0x80070056 like everyone else in this thread. My 'dnvm list' shows 1.0.0-rc1-update1 as default even though 1.0.0-rc2-16551 is also in the list. Maybe that's unrelated to the problem. I'm willing to help test possible solutions. |
Solved. At least in our environment, we're not getting this error anymore. I don't know which action actually fixed it, but we used sysinternals streams command to delete all the zone identifiers. We also did the 'dnu restore' and 'dnvm upgrade -u' commands. That changed our 'dnvm list' to use the 1.0.0-rc2-16551 as default. If anyone else is encountering this error, I hope these actions will help. |
I tried to update with dnvm upgrade -u and dnvm list shows: PS C:\Windows\system32> dnvm list Active Version Runtime Architecture OperatingSystem Alias
I have tried with iisreset and Service restarting, but I get the same error. |
This tool looks promising, but isn't ready to be used in a production environment. It fails to work on some browsers. In some cases, it changes the password but gives an error to the user. In other cases, it doesn't change the password at all - but just redraws the screen with all fields still containing the entered data. Tried to enable the debugging log, but it never created any logs that I could find. Wish I had the skills to help fix some of these issues because we need a tool like this. |
Got the same results as @Pacman1988 here. |
Same as @Pacman1988, but I also ran streams to delete all the zone identifiers, and also attempted to restart individual services and the server itself, but the error is still there when users change their password. |
Is there any timeline planned for a fix for this error message? Until it's fixed, we're not comfortable going live with PassCore in a production environment. |
Also having this issue; I wish I could help out with the actual code side of things, but I'm not well versed in a Windows environment. Thanks to @mariodivece for developing this though! It'll be awesome when this issue is gone. |
Guys, I just wanted to give you an update: I will try to make some time and work on these fixes on tomorrow (Sunday). You will have an additional option to specify a password change strategy. Wish me luck. |
Thank you and good luck!!! Sent from my iPhone
|
@mariodivece Thanks! |
I have made a pre-release version available under the Releases tab. Please test it out and let me know if it works. |
@mariodivece Thanks! I'll test it out and get back to you. |
@mariodivece I've done my best and inevitably come up with some issues. After copying over the new files, the site just kept loading. Didn't even time out. I did a fresh install using the new files, same issue. I've followed the suggestions in issues 1 & 2, same issue. I then took your commit to tackle issues 7, 8, & 9 and copied only those files. Managed to get the app running & switched to the ldap user as suggested, but ran into more issues (https://www.dropbox.com/s/mvdxdde9h10suv1/Screenshot%202016-03-14%2003.29.02.png?dl=0). I suspect this is because there were some differences between the final commit to beta and this one. EDIT 1: I was also unable to get any log files when enabling logging. Not sure what this could mean. |
@mariodivece I tried your Beta in a VMLab with Windows Server 2008 R2 with IIS. I installed everything with your manual: But there is no site loading. Then I tried in my production IIS to add a additional app and additional site. Same error, I get no site. I deleted the new site and tested the Beta site and App on the production IIS. Then I tested the old version and I can change the passwords without a error: This is good, but I don't know what solved the problem... |
Ok, I messed up, I did not publish the file correctly. It should work now. Try the new release please. |
Sorry still getting the endless "Loading..." page. |
Ok, I have updated the release binaries. Can you try once again. If it still does not work, could you post the contents of your log file? You should see some logs in the logs folder. |
With the latest binary, I am also unable to load the site (from the same IIS environment where PassCore 2.0.0 loaded without issue). Here are the contents of the log:
|
@justbustr Did you UNBLOCK the zip file before extracting? Please download the release zip file again, right click on properties and click the Unblock button at the bottom of the dialog. |
@mariodivece I just did this "Unlock" and this appears to have resolved the issue I was seeing. Thanks for the update! |
Okay got it to come up again. I basically deleted anything existing in my passcore folder and then copied over all the folders and files from the zip file. I also had to re-run the dnvm upgrade -u and dnu refresh commands. I'm now getting the below message though and I'll have the check the ldap server settings. Can this app use ldaps? Can I use the ip address instead of hostname for my ldap server? There was an error changing your password |
I have not tried with an IP address but I suspect it should work. Make sure you set UseAutomaticContext to false and give it a shot by setting the LdapHostname to an IP address within double qutes. Let us know what the results are. |
Well it was working until I restarted the site....now back to loading so I can't try the different server settings unfortunately. |
Try iisreset from an elevated command prompt |
on another note, you don't need to restart anything for changes on the appsettings.json file to take effect. |
I was thinking I had to restart the site after changes to the appsettings.json file. My bad. Now I'm getting a 500 Internal Server Error. I may start from scratch. |
After applying updated code I had no change in the behavior. I followed the directions to change the code to use credentials and it works. Thank you for your efforts! # |
I reinstalled the whole thing and can now get to the site but am now getting the following and it doesn't change the password. There was an error changing your password I am putting in the correct current password so I'm wondering if it's referring to the ldap user password. I also don't seem to accumulate log files in the log folder. |
Can you please redownload the beta release and try installing from scratch? I updated the release a few times and you might have gotten a faulty release. |
I definitely have the latest version as it states it was updated 3 hours ago and I downloaded it maybe about a half hour ago. I just reinstalled from scratch as well. |
Success!!!!! Not totally sure why but I'm not going to touch it now. I changed my ldap settings back to what I had originally and it suddenly decided to work. |
Hi, we are still having issues with the release. any other ideas? |
That error message might occur when the LdapPassword setting does not contain the correct value. |
I got this error until I got the ldap settings just right. Make sure you have the fqdn of your ldap host. I also put the ldap username in without any other info such as domain\ or @Domain. Only the username. |
Hi, we got it to work, with the help of 'gadams65' reply. The ldap setting is crucial and the username without the domain is as important. We got it working now! |
We still can't get it to work consistently. It worked in one test on 03/14/2016 - but subsequent tests have failed with the error: "You need to provide the correct current password." I've logged into the domain several times, so I know the password is correct. Still getting no files in the 'logs' subdirectory. The only possible clue that I've found is Event ID 1001 from HttpPlatformHandler in the Windows Application log. It would be nice if passcore worked with fewer dependencies. If we can figure out how to make it work, isn't it dangerous to have domain admin credentials in plain text in a web server? |
I used @gadams65 advice but get: Error Information: Exception has been thrown by the target of an invocation. |
Hi guys, i don't know if you get this error but i try it to turn off the firewall and i still received the error There was an error changing your password |
i have same issue |
Hi, i have followed same steps given https://github.com/unosquare/passcore in this link.. |
Hello, In step 10, it tells you how to resolve the issue. Here's the link to the instructions. It's due to IIS system.webServer/handlers section is locked. http://www.strathweb.com/2015/12/running-asp-net-5-website-on-iis/ |
This works great with one exception. It does change the password (confirmed) but instead of a success page as expected, I get a error: Error Information: The specified network password is not correct. (Exception from HRESULT: 0x80070056)
Running on a 2012r2 server with the latest patches.
Not sure if it is checking the password twice or its not happening fast enough?
Any help would be appreciated. This is a great app!
Jamee
The text was updated successfully, but these errors were encountered: