Base solution for your next web application

Activities of "sumitshah"

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version- 11
  • What is your product type (Angular or MVC)- Angular
  • What is product framework type (.net framework or .net core)- .net core

Hi created entity using asp net Zero Power tool and after that i successfuly run both(backend+frontend) and whenever i try to hit to hit "http://localhost:4200/" it is giving folowing error

Please let me where i can see for this error

  • What is your product version? 11
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? .net core

Hi I need to create entity for that i am looking for aspnetzero power tool in extension in Visual studio. I was trying to follow all the step you have provided in documentation but I am not able to find it in Extensions. Could you please suggest in that case what we need to do?

We are able to resolve this problem after clearing all ABPSettings and placing them back using tenantSettings.

Thanks for your help!

Hello, I tried deleting all smptp props, we are still unable to open Settings on UI. Could you please suggest if there is any way to avoid encryption while reading password from abpSetting?

Hello ismcagdas,

When we are trying to open setting that you have suggested above, we are getting following exception.

ERROR 2022-03-23 01:45:36,967 [241 ] Mvc.ExceptionHandling.AbpExceptionFilter - The input data is not a complete block.
System.Security.Cryptography.CryptographicException: The input data is not a complete block.
at Internal.Cryptography.UniversalCryptoDecryptor.UncheckedTransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at Internal.Cryptography.UniversalCryptoTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
at Abp.Runtime.Security.SimpleStringCipher.Decrypt(String cipherText, String passPhrase, Byte[] salt)
at Infogroup.IDMS.Configuration.Tenants.TenantSettingsAppService.GetEmailSettingsAsync() in C:\_work\1\s\src\Infogroup.IDMS.Application\Configuration\Tenants\TenantSettingsAppService.cs:line 102
at Infogroup.IDMS.Configuration.Tenants.TenantSettingsAppService.GetAllSettings() in C:\_work\1\s\src\Infogroup.IDMS.Application\Configuration\Tenants\TenantSettingsAppService.cs:line 47
at lambda_method(Closure , Object )
at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at System.Threading.Tasks.ValueTask`1.get_Result()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()

Hi ismcagdas,

We have set following properties under AbpSettings table.

Abp.Net.Mail.Smtp.Host Abp.Net.Mail.Smtp.UserName Abp.Net.Mail.Smtp.Password Abp.Net.Mail.Smtp.EnableSsl Abp.Net.Mail.Smtp.Port

Not sure what setting page you are refering to.

Thanks

  • What is your product version => NetCore 2.2
  • What is your product type (Angular or MVC) => Angular
  • What is product framework type (.net framework or .net core) =>

If issue related with ABP Framework

  • What is ABP Framework version => 4.9.0.0
 ERROR 2022-03-21 07:59:28,422 [179  ] Mvc.ExceptionHandling.AbpExceptionFilter - Authentication required
MailKit.ServiceNotAuthenticatedException: Authentication required
   at MailKit.Net.Smtp.SmtpClient.ProcessMailFromResponse(MimeMessage message, MailboxAddress mailbox, SmtpResponse response)
   at MailKit.Net.Smtp.SmtpClient.MailFromAsync(FormatOptions options, MimeMessage message, MailboxAddress mailbox, SmtpExtension extensions, Boolean doAsync, CancellationToken cancellationToken)
   at MailKit.Net.Smtp.SmtpClient.SendAsync(FormatOptions options, MimeMessage message, MailboxAddress sender, IList`1 recipients, Boolean doAsync, CancellationToken cancellationToken, ITransferProgress progress)
   at Abp.MailKit.MailKitEmailSender.SendEmailAsync(MailMessage mail)
   at Abp.Net.Mail.EmailSenderBase.SendAsync(MailMessage mail, Boolean normalize)
   at Infogroup.IDMS.Authorization.Users.UserEmailer.ReplaceBodyAndSend(String emailAddress, String subject, StringBuilder emailTemplate, StringBuilder mailMessage) in C:\_work\1\s\src\Infogroup.IDMS.Core\Authorization\Users\UserEmailer.cs:line 339
   at Infogroup.IDMS.Authorization.Users.UserEmailer.SendPasswordResetLinkAsync(User user, String link) in C:\_work\1\s\src\Infogroup.IDMS.Core\Authorization\Users\UserEmailer.cs:line 167
   at Infogroup.IDMS.Authorization.Accounts.AccountAppService.SendPasswordResetCode(SendPasswordResetCodeInput input) in C:\_work\1\s\src\Infogroup.IDMS.Application\Authorization\Accounts\AccountAppService.cs:line 122
   at lambda_method(Closure , Object )
   at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
   at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at System.Threading.Tasks.ValueTask`1.get_Result()
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()

Hi @ismcagdas,

I run this cmd "yarn upgrade-interactive [--latest]" to upgrade all outdated packages. But it is not showing me any packaegs need to be upgrade. Please let me know if anything i can do to resolve this error.

Hi @ismcagdas,

I am not able to understand which Packages are outdated. Could you please help me in this?

What is your product version- Angular 13.0.0 What is your product type (Angular or MVC)-angular What is product framework type (.net framework or .net core)-.net core 6.0

We are trying to run the boiler plate code provided by ASPNETZERO. We are facing following error while running the project.

Please let us know the solution for this.

Showing 1 to 10 of 105 entries