Activities of "alper"

Answer

I have a problem with abp suite 5.1.1 Entity Generator alway said [ERR] Index was out of range I Re-install, cleanup,... nothing help.

The suite log:

2022-01-14 13:19:01.975 +07:00 [INF] Route matched with {controller = "crudPageGenerator", action = "SaveAndGenerateEntity", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.NoContentResult] SaveAndGenerateEntityAsync(System.Guid, Volo.Abp.Suite.Models.EntityModel) on controller Volo.Abp.Suite.Controllers.CrudPageGeneratorController (Volo.Abp.Suite). 
2022-01-14 13:19:02.116 +07:00 [INF]  
=== ENTITY GENERATION STARTED ===  
* SOLUTION: CSM.ServiceRouting 
* ENTITY:{ 
  "Id": "18d0ecee-c901-4012-8f62-74aa388e9256", 
  "Name": "Channel", 
  "OriginalName": "Channel", 
  "NamePlural": "Channels", 
  "DatabaseTableName": "Channels", 
  "Namespace": "Channels", 
  "BaseClass": "Entity", 
  "PrimaryKeyType": "Guid", 
  "IsMultiTenant": false, 
  "ShouldCreateUserInterface": true, 
  "ShouldCreateBackend": true, 
  "ShouldAddMigration": true, 
  "ShouldUpdateDatabase": true, 
  "CreateTests": true, 
  "Properties": [ 
    { 
      "Id": "6c2e9664-63b2-4dc5-9d80-ea7ae467917f", 
      "Name": "Type", 
      "Type": "enum", 
      "EnumType": "ChannelType", 
      "EnumNamespace": "CSM.ServiceRouting", 
      "EnumAngularImport": "shared/enums/channel-type", 
      "IsNullable": false, 
      "IsRequired": false, 
      "MinLength": null, 
      "MaxLength": null, 
      "SortOrder": 0, 
      "SortType": 0, 
      "Regex": "", 
      "EmailValidation": false, 
      "EnumValues": { 
        "Email": null, 
        "Message": null, 
        "Telephone": null 
      }, 
      "IsSelected": true 
    }, 
    { 
      "Id": "85ebf5b9-f626-4962-bf6b-1cb95a884b4d", 
      "Name": "Name", 
      "Type": "string", 
      "EnumType": "", 
      "EnumNamespace": "", 
      "EnumAngularImport": "shared/enums", 
      "IsNullable": false, 
      "IsRequired": false, 
      "MinLength": null, 
      "MaxLength": null, 
      "SortOrder": 0, 
      "SortType": 0, 
      "Regex": "", 
      "EmailValidation": false, 
      "EnumValues": null, 
      "IsSelected": true 
    } 
  ], 
  "NavigationProperties": [], 
  "PhysicalFileName": "Channel.json" 
} 
 
2022-01-14 13:19:02.117 +07:00 [INF] 1/11 - EntityGenerateCommand started... 
2022-01-14 13:19:03.805 +07:00 [ERR] ---------- RemoteServiceErrorInfo ---------- 
{ 
  "code": null, 
  "message": "An internal error occurred during your request!", 
  "details": null, 
  "data": {}, 
  "validationErrors": null 
} 
 
2022-01-14 13:19:03.815 +07:00 [ERR] Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'startIndex') 
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'startIndex') 
   at System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options) 
   at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType) 
   at System.String.IndexOf(String value, Int32 startIndex, StringComparison comparisonType) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.F1AAu43krY(String  , String  , String  ) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.IBpAlr5Quy(String  , String  , Boolean  ) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.MYcAWPr5GZ(String  , String  , Boolean  , DatabaseProvider  ) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.yreAdjUhWH(String  , DatabaseProvider  ) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.cqSAJdEgpq() 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.ExecuteAsync(CrudPageCommandOptions options) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution) 
   at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) 
   at lambda_method2108(Closure , Object ) 
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 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>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 
2022-01-14 13:19:03.847 +07:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. 

this might be related to the file-scoped namespaces. we have created an internal issue and will be fixed 5.1.2

tested against MS-SQL Server with schema but couldn't reproduce the issue

you didn't mention your database ? (oracle/MS-SQL/PostgreSQL ....) tested against Oracle

Answer

thanks for the feedback. it'll be fixed

this is most probably an Identity Server misconfiguration problem. pls check out this document and revise all your Identity Server configuration https://docs.abp.io/en/commercial/latest/guides/identityserver-deployment

for the backend you can check out this document https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services

Answer

Hi,

We're using Blazorise v0.9.5.3 (ABP framework v5, commercial) and noticed that the component DatePicker has the weekday labels shifted for one place to the left. So, instead of Mon, our first label is Tue.

If you visit the DatePicker's official documentation, you'll notice that problem (Section DatePicker component, Basic example). https://blazorise.com/docs/components/date-picker

Sorry for posting this question here, it seams that we're not allowed to post questions on the Blazorise support pages.

Please advise, Regards

You can create an issue on his repo. See https://github.com/Megabit/Blazorise/issues/3274

Answer

Hello

Any guide on how to use the lepton x theme ? i have abp 5.0

@dicky you need to wait a little more. we are almost in the final commits

Answer

I needed (I think) to add the following web.config to the HttpApi.Host project to increase upload size with the following config

<?xml version="1.0" encoding="utf-8"?> 
<configuration> 
 
  <!-- To customize the asp.net core module uncomment and edit the following section.  
  For more info see https://go.microsoft.com/fwlink/?linkid=838655 --> 
  <!-- 
  <system.webServer> 
    <handlers> 
      <remove name="aspNetCore"/> 
      <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/> 
    </handlers> 
    <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" /> 
  </system.webServer> 
  --> 
  <location path="Recording/recording-upload"> 
    <system.webServer> 
      <security> 
        <requestFiltering> 
          <requestLimits maxAllowedContentLength="4096000" /> 
        </requestFiltering> 
      </security> 
    </system.webServer> 
  </location> 
</configuration> 

And then I get this error when running the app with Azure Appservice

2021-12-21 13:54:57.472 +00:00 [ERR] Connection ID "17509995361417066312", Request ID "80007749-0002-f300-b63f-84710c7967bb": An unhandled exception was thrown by the application. 
Volo.Abp.Http.Client.AbpRemoteCallException: Not Found 
   at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.ThrowExceptionForResponseAsync(HttpResponseMessage response) 
   at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext) 
   at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](ClientProxyRequestContext requestContext) 
   at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments) 
   at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync() 
   at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.<GetAsync>b__14_0() 
   at Volo.Abp.Caching.DistributedCache`2.GetOrAddAsync(TCacheKey key, Func`1 factory, Func`1 optionsFactory, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token) 
   at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync() 
   at Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync() 
   at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync() 
   at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) 
   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() 
--- End of stack trace from previous location --- 
   at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync() 

I haven't tried to upload a bigger file than 30 MB but if that doesn´t work without the web.config file I´ll need some way to add it. But I´ll try that tomorrow.

@Sturla did you fix the file upload problem for over 30mb? web.config is being used by IIS. If you are hosting on IIS, then you need to configure it via web.config

Answer

After updating ABP suite and tool to 5.0.0, it still use the templates 4.4.4, it was like this while using 5-rc release too.

I was then adding the version to select the RC one, but now I get an error message when I give the version 5.0.0. If I put version 5.0.0-rc.2 it still works fine

Your ABP Suite and ABP project version must be the same because the Suite templates are compatible with the corresponding version.

Showing 571 to 580 of 2058 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 23, 2025, 10:47