Hi @alramz
If you have access to database, you can reset password of the related account. You can find encpypted default password in
HostRoleAndUserCreator.cs
.
Hello,
We were able to update it using the provided information. Thank you for the help.
Hi,
We need assistance recovering access to the admin account for a deployed .NET Zero website. Please let us know how to proceed.
Thank you.
We have just sent it. Thanks
Hi @alramz
Is it possible to share the live app URL and steps to reproduce this case ? If you want to keep it private, you can send an email to [email protected].
Gentle reminder of the previous request. Thanks
Hi @alramz
Is it possible to share the live app URL and steps to reproduce this case ? If you want to keep it private, you can send an email to [email protected].
Hello, Thanks for replying. The app has not been deployed to the internet, but rather to an IP address that is only available on our local network.
Here are the steps we followed: We have published the Web.MVC project through Visual Studio with the following settings: Then, we followed the following steps which reproduced the redirection issue.
After following the previous steps, we were able to access the website that have been made using ASP.NET Zero. However, we cannot get past the login page when logging in with the default admin account. Running the solution locally through Visual Studio works completely fine though. We checked with several incorrect credentials, and it produces an incorrect username/password error. This shows that authentication works fine, however, the page keeps redirecting to the login page when we enter the correct credentials.
Hi,
While testing in development, our website runs just fine. However, when deployed onto IIS, we constantly get redirected back to the login page (/Account/Login?ReturnUrl=%2FApp). We've checked numerous possible sources of error, including config files, authorizations, and routing, but are not able to find the cause of the issue.
We have 2 questions: 1 - How can we access database context within pages (.cshtml), and also a console application?
2 - We have found several lines of code incorrectly using Linq, and so raise exceptions, at the following locations: .Application\Auditing\AuditLogAppService.cs - Line 50 .Application\LocalizationLanguageAppService.cs - Line 167 .Application\Organizations\OrganizationUnitAppService.cs - Line 64 .Application\MultiTenancy\TenantAppService.cs - Line 38 .Application\AuthorizationUserAppService.cs - Line 99 .Application\Authorization\UserLinkAppService.cs - Line 136