1-run the below command in CMD (clears your current login session):
del %UserProfile%\.abp\cli\access-token.bin && del %UserProfile%\.\AppData\Local\Temp\AbpLicense.bin
2-login again:
abp login <username> -p <password>
3-run Suite to try again:
abp suite
Running your project in Docker container:
ABP makes online license check only in Development environment or when the Debugger is Attached in Visual Studio.
When it's in Development
environment or Debugger is attached, it's required to login your account via ABP CLI ( abp login {username}
)
When you run your app in a Docker container, publish it in Release mode. Set your environment as Production to skip online license check (or anything else other than Development
) using the following command:
-e "ASPNETCORE_ENVIRONMENT=Production"
If you are required to run the project in Development
environment in the container, copy your local ABP token file %UserProfile%\.abp\cli\access-token.bin
into the Docker container's relavant directory.
By relavant directory, it's meant to be the current user's home directory.
%UserProfile%\.abp\cli\
/home/user/.abp/cli/
If you get the following error, you probably logged in 2 different computers and trying to login in the 3rd unique computer.
In this case, send an email to license@abp.io
to reset your linked computers.
License Error! Given user 'XYZ' has reached the maximum allowed developer computer count (2)
@AlderCove we couldn't reproduce it. can you create a new question, seems like it'll be being discussed (not to bother others)
according to the Microsoft docs it supports SqlParameters
https://docs.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.relationaldatabasefacadeextensions.executesqlrawasync?view=efcore-5.0#Microsoft_EntityFrameworkCore_RelationalDatabaseFacadeExtensions_ExecuteSqlRawAsync_Microsoft_EntityFrameworkCore_Infrastructure_DatabaseFacade_System_String_System_Object___
many of these issues occur because of the misconfiguration of LDAP addresses, ports etc... it's better to eliminite ABP and try to work on a simple LDAP console application. @maliming can you create a very simple console app with https://github.com/flamencist/ldap4net . so that we'll see if the problem is in the framework or in configuration.. you can share it on your GitHub account
plus you need to verify your email address to get it working
can you check that you have successfully saved the template? be aware you don't do that in the generated code it's in the code generation template
edit this template Frontend.Mvc.Page.Partials.editcshtml_cs_LookupDropdownOnGet.txt
this is fixed in the next version. workaround: you can delete xxxx in your template or in the generated code.