Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
In Visual Studio 2017, using NuGet, I have installed Umbraco 7.6.3 in an empty project, built it successfully, then opened default.aspx in a browser and followed the installation steps, successfully installing Umbraco and been able to log in and out of the back end ok.
In an effort to turn this installation of Umbraco into a clone of a solution I already had in Visual Studio I copied across the site specific files and folders from that installation, overwriting any duplicate files. I changed the connection string in web.config to point to a clone of the database used by the other installation. I then opened default.aspx again. I see the backend login screen at the url:
But when I enter the username and password that I know to be correct. I get a login failed message. If I try to use the forgotten password link and put in my email address then I am told that my password reset request failed.
Am I going about this the wrong way? What do I need to do to get this up and running? Any help greatly appreciated.
Was this site on a different machine originally?
What version of Umbraco was the site originally built in?
Are you getting any errors in the Umbraco Log?
Thanks for the reply (I'm only in once a week hence the time lag).
The site was originally built on Azure, but I've had it running in VS as a complete clone of the site. The problem I had was that I got errors when I tried to build the site before deploying it to a local server. Hence why I'm trying this approach. The original was on 7.6.3 which is why I chose that build to install in this solution.
I can't see anything in the Umbraco log that appears to relate to the login difficulties.
Take a look in the database and see if you locked yourself out. If you haven't and you want to reset the password simply set your web.config mail settings to write mail to a local holder, run your project and request a new password.
Thanks for the suggestion, but when I tried this I still get:
Request password reset failed for email email@example.com
Have you tried https://our.umbraco.org/projects/developer-tools/umbraco-admin-reset/?
Simple project that allows reset of the admin user(user 0) username and password by adding the UmbracoAdminReset.dll to the ~/bin folder of your Umbraco installation. Handy when you inherit a site and didn't receive the credentials.
Username will be reset to Admin and password to Admin1234!
Its only 29% compatible with version 7.6.x but it may get you in...
Thanks for the suggestion, but I still get login failed when I try this.
BTW, also tried resetting the password in the database using
UPDATE umbracoUser set userdisabled=0, userPassword='b30d7365d6e8fb35666d7234eb463d80da126f40' where id=0;
(the hash is for 'password'), but that didn't work.
Finally figured it out. Found this in web.config:
<add key="umbracoConfigurationStatus" value="" />
Changing it to
<add key="umbracoConfigurationStatus" value="7.6.3" />
meant that when I opened default.aspx I got the website rather than the login screen.
Updating the smtp settings in web.config to use the same as on the live site, ie to use our sendgrid account, meant that although I still got login failed when I tried to log in to the backend, the reset password option now worked. I was able to reset and get in.
Probably should have figured that out sooner but there you go.
Glad you solved it - I had something similar with this thread i raised https://our.umbraco.org/forum/using-umbraco-and-getting-started/89891-the-xml-cache-is-corrupt-use-the-health-check-data-integrity-dashboard-to-fix-it.
I Should have remembered that.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted