Activities of "Anjaneyulu"

  • ABP Framework version: v9.0.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Microservice
  • Exception message and full stack trace: Login error for SA. Password mismatch - sql server - azure sql edge docker image
  • Steps to reproduce the issue: Create a sample application with microservice architectue.
  • Do run docker compose up and i see all the infrastruture containers running.
  • Try to run the authserver application from visual studio, and it say login failed for sa .
  • When run the docker following https://learn.microsoft.com/en-us/azure/azure-sql-edge/disconnected-deployment . Im able to login to db.
  • Im using docker deskop on windows with wsl2

Can you help solve the issue

  • ABP Framework version: v9.0.1
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

My server i see the for web and APIhost that scope as profie,email etc and MyprojectName - which i believe acts as the scope for complete project resources(apis,pages etc).

Now i have two questions: 1. How can i create a scope for certain resources like to a specific controller 2. I have a machine to server communication, where i dont have userlogged in and i need to handle the secure api communication/authorization based on the machine identity. How can i user openid/autheserver to handle this scenario in abp.

  • ABP Framework version: v8.3.3
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
    1. Currently i have my server with using ABP framework which in not Tiered(No seperate auth server and api Host)
  • I able to configure multitenancy using *.myproduct.com
  • But now i want to move to tired architecture and im confused about handling multi tenenacy. And how does tenant url be formatted?

Should i take three different certiifcate like *.apimyproduct.com , *.authmyproduct.com etc.

Can you help us what should be the preffered way to host the applications in the multi tenant context.

  • ABP Framework version: v8.3.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: 1. Created the project

This is in UserDirectoryService in application layer

public virtual async Task<ADBaseResponse> ImportUsersAsync(ADUserObjectInputArgs input)
{
    //Enqueue job with delay and priority
    if(input.TenantId == null)
    {
        input.TenantId = this.CurrentTenant.Id;
    }
    await _backgroundJobManager.EnqueueAsync<ADUserObjectInputArgs>(input, BackgroundJobPriority.Normal);
    return new ADBaseResponse() { Status = true, Message = "Users Syncing Initiated" };
}

**Backgroundjob: which is in domain layer**
[DisallowConcurrentExecution]
public class ADUsersManualSyncJob : AsyncBackgroundJob<ADUserObjectInputArgs>, ITransientDependency
{
    //private readonly ICancellationTokenProvider _cancellationTokenProvider;
    protected UserDirectoryManager UserDirectoryManager;
    protected UserDirectoryFilterManager UserDirectoryFilterManager;
    private readonly ADManagerService ADManagerServices;
    protected UserManagementService UserManagementServices;
    public ADUsersManualSyncJob(
        //ICancellationTokenProvider cancellationTokenProvider,
        UserDirectoryManager userDirectoryManager,
        UserDirectoryFilterManager userDirectoryFilterManager, ADManagerService aDManagerService, UserManagementService userManagementServices
        )
    {
        //_cancellationTokenProvider = cancellationTokenProvider;
        UserDirectoryManager = userDirectoryManager;
        UserDirectoryFilterManager = userDirectoryFilterManager;
        ADManagerServices = aDManagerService;
        UserManagementServices = userManagementServices;
    }

    [UnitOfWork]
    public override async Task ExecuteAsync(ADUserObjectInputArgs args)
    {
        //_cancellationTokenProvider.Token.ThrowIfCancellationRequested();

        var directoryServiceData = await UserDirectoryManager.GetDirectoryById(args.DirectoryId);
        if (directoryServiceData != null)
        {
            var resp = await ProcessAsync(userData, args.TenantId, userInfo.UserAttributes); // code omitted for brevity
                            if(resp == null)
                            {
                                //TODO...
                            }var 
        }
    }

    private async Task<IdentityUser> ProcessAsync(CreateUserorUpdateInput input, Guid? tenantId, IDictionary<string, string> additionalAttributes)
    {
        //TODO...
        var userInfo = await UserManagementServices.CreateUserAsync(input, tenantId, additionalAttributes);
        return userInfo;
        // need to call the create user function to onboard the user from Usermanagement Services...
    }

**this is the create user function which is in user management service manager which is in domain layer**
************************************************************************************************************************************************
public class UserManagementService : ITransientDependency
{
    protected IdentityUserManager _userManager { get; }
    private readonly IIdentityRoleRepository RoleRepository;
    private readonly IIdentityUserRepository _xSenseIdentityUserRepository;

    protected UserDirectoryManager _userDirectoryManager { get; }

    protected IOptions<IdentityOptions> IdentityOptions { get; }
    public UserManagementService(IdentityUserManager userManager, IIdentityRoleRepository roleRepository, UserDirectoryManager userDirectoryManager,
        IIdentityUserRepository xSenseIdentityUserRepository)
    {
        _userDirectoryManager = userDirectoryManager;
        _userManager = userManager;
        RoleRepository = roleRepository;
        _xSenseIdentityUserRepository = xSenseIdentityUserRepository;
    }

    public bool CanCreateUserAsync(Guid? input)
    {
        try
        {
            return true;
        }
        catch (Exception ex)
        {
            return false;
        }
    }

    [UnitOfWork]
    public async Task<IdentityUser> CreateUserAsync(CreateUserorUpdateInput input,Guid? tenantId,IDictionary<string,string> additionalAttributes = null)
    {
        try
        {
            if(CanCreateUserAsync(tenantId))
            {
                var user = new IdentityUser(
                input.Id,
                input.UserName,
                input.Email,
                tenantId)
                {
                    IsExternal = true,
                    Surname = input.Surname,
                    Name = input.Name
                };
                user.SetIsActive(true);
                user.SetPhoneNumber(input.PhoneNumber, false);
                user.SetEmailConfirmed(input.EmailConfirmed);
                user.SetPhoneNumberConfirmed(input.PhoneNumberConfirmed);
                user.SetDirectoryId(input.DirectoryId);
                var dirObj = await _userDirectoryManager.GetDirectoryById(input.DirectoryId);
                user.SetDirectoryName(dirObj.Name);
                user.SetDirectoryType(dirObj.Type);
                input.MapExtraPropertiesTo(user);
                if(input.Password == null)
                {
                    input.Password = user.Id.ToString();
                }
                var roleeNames = RoleRepository.GetListAsync().Result.Where(r => r.IsDefault == true).Select(r => r.Name).ToArray();
                foreach (var item in additionalAttributes)
                {
                    user.SetExtraProperties(item.Key, item.Value);
                }
                user.SetExtraProperties("FilterId", input.FilterId.ToString());
                if(user !=  null)
                {
                    var userResp = await _xSenseIdentityUserRepository.InsertAsync(user);~~~~
                    return userResp;
                }
                else
                {
                    return null;
                }
            }
            else
            {
                return null;
            }
        }
        catch (Exception ex)
        {
            return null;
        }
    }
    
}

Now the issue is, users are not getting created in database, even though i dont see any excption in the entire flow.

One more observation is the same code is working in a different machine. I want to understand what could be the issue.

Altough i have used Quartz for background job implementation, i have also have rabbitmq settings in the appsettings but have an issue connecting to rabbitmqserver . Hope that wont be an issue.

  • ABP Framework version: v6.0.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue: 1. SQL server is in azure.
  • Till now my abp application is connecting with local username and password i.e., sa & xxxxx
  • But because of a security concern in the production, we are asked to connect to the azure sql db with domain service account (eg: abc@abp.com) and password.
  • What are the changes that i need to do to my connection string in my abp application.
  • I have already created a user in azure and given necessary permission in the db as well. But im not able to connect to the db with token invalid error.
  • ABP Framework version: v8.3.1
  • UI Type: MVC
  • Database System: EF Core (SQL Server) / MongoDB
  • **Tiered (for MVC) **: yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: I have created the project using abp studio.
  • Added doc module using abp suite (same version as abp studio) , migration is successful.
  • Followed -> https://abp.io/docs/latest/modules/docs
  • Completed till -> Adding New Docs Project with github url (for testing have given the same abp documentation url)

After that when i try to go to my project and try /documents im navigating to homepage

While my expectation is to see abp docs

Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info: 🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.

  • ABP Framework version: v8.3.1
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.AspNetCore.AbpAspNetCoreModule, Volo.Abp.AspNetCore, Version=8.3.1.0, Culture=neutral, PublicKeyToken=null: An exception was thrown while activating λ:Volo.Abp.AspNetCore.VirtualFileSystem.IWebContentFileProvider -> Volo.Abp.AspNetCore.VirtualFileSystem.WebContentFileProvider -> λ:Volo.Abp.VirtualFileSystem.IVirtualFileProvider -> Volo.Abp.VirtualFileSystem.VirtualFileProvider
  • Steps to reproduce the issue:
    1. Created new project using abp studio using multilayered template.
    1. Build and run the project Authserver project normally both in debug and relase mode.
    1. Setup docker environment with docker desktop, wsl2 , ubuntu 24lts
    1. Build docker image with the docker file created by the template.
    1. Run the docker image and im getting this error. I could run the authserver solution in debug and relase mode from my visual studio

Check the docs before asking a question: https://abp.io/docs/latest

Question
  • ABP Framework version: v7.0.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server) /
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: C:\Windows\System32>abp suite ABP CLI 8.0.0 Installing ABP Suite latest version... You can invoke the tool using the following command: abp-suite Tool 'volo.abp.suite' (version '8.2.0') was successfully installed. ABP Suite has been successfully installed. You can run it with the CLI command "abp suite" Starting Suite v8.2.0 ... Opening http://localhost:3000 Press Ctrl+C to shut down. [15:46:52 ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }

[15:46:52 ERR] Error converting value {null} to type 'System.Int32'. Path 'Properties[2].EnumValues.Individual', line 69, position 26. Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'Properties[2].EnumValues.Individual', line 69, position 26. ---> System.InvalidCastException: Null object cannot be converted to a value type. at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) --- End of inner exception stack trace --- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonSerializer.Deserialize(TextReader reader, Type objectType) at Volo.Abp.Suite.Services.PersistanceService.xgJr3Tcf2f(String ) at System.Linq.Enumerable.SelectIPartitionIterator2.MoveNext() at System.Collections.Generic.List1.AddRange(IEnumerable1 collection) at Volo.Abp.Suite.Services.PersistanceService.GetEntitiesAsync(Guid solutionId) at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.GetEntitiesAsync(Guid solutionId) at lambda_method1946(Closure, Object) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

  • Steps to reproduce the issue:

  • Im having a abp project and when im trying to open the solution in in ABP Suite, Im getting the above error.

  • I have updated the cli to 8.0.0., but still the same error.

  • We have created few entities without using suite, and application is building and working fine. Is it an issue because of the manual creation of the entities ?

  • ABP Framework version: v8.0.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  • Create a project

*** Jquery validation version is showing 1.17.0 , but we have got a security scan report which wants us to update to 1.19.5 for security patch

*** I want your help in upgrading the version asap. Thanks.

Question
  • ABP Framework version: v3.0.0

  • UI Type: MVC

  • Database System: EF Core (SQL Server)

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no

  • Exception message and full stack trace:

  • Steps to reproduce the issue:

    1. Create a project, Type BaseURL + Error?httpStatusCode=404

Im seeing administrator, settings in the error screen side menu, which i dont want.

How do i overide so that i only show status code.

Showing 1 to 10 of 19 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13