Base solution for your next web application

Activities of "alramz"

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,

Could you check your cookies? Maybe it's related to cookies

Hello, Yes, we have tried clearing cookies and cache before running the solution but that did not fix it.

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.

  1. Connect remotely to the server.
  2. Paste the generated "publish" into the server files
  3. Open IIS
  4. Create new subsite and choose the location of where the "publish" folder is stored

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.

Question

Prerequisites

  • What is your product version? v11.2.0
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? .NET Framework 4.6.1 (upgraded to 4.8)

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

Showing 1 to 8 of 8 entries