Base solution for your next web application

Activities of "ideazco"

Hi,

Is there any updates about this issue ?

Hi,

We re-published the host application and here is the exception logged on Log.txt file.

ERROR 2017-08-22 06:31:45,931 [6 ] Mvc.ExceptionHandling.AbpExceptionFilter - Current tenant is different than given tenant. AbpSession.TenantId: , given tenantId: 6 System.Exception: Current tenant is different than given tenant. AbpSession.TenantId: , given tenantId: 6 at ideazco.ideazco.Authorization.Impersonation.ImpersonationManager.CheckCurrentTenant(Nullable1 tenantId) in D:\Projects\ideazco\ideazco-mysql\aspnet-core\src\ideazco.ideazco.Core\Authorization\Impersonation\ImpersonationManager.cs:line 104 at ideazco.ideazco.Authorization.Impersonation.ImpersonationManager.<GetImpersonatedUserAndIdentity>d__8.MoveNext() in D:\Projects\ideazco\ideazco-mysql\aspnet-core\src\ideazco.ideazco.Core\Authorization\Impersonation\ImpersonationManager.cs:line 44 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at ideazco.ideazco.Web.Controllers.TokenAuthController.<ImpersonatedAuthenticate>d__19.MoveNext() in D:\Projects\ideazco\ideazco-mysql\aspnet-core\src\ideazco.ideazco.Web.Core\Controllers\TokenAuthController.cs:line 194 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ObjectMethodExecutor.<CastToObject>d__401.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__25.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 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.<InvokeNextExceptionFilterAsync>d__24.MoveNext()

We are using ASPNetZero project version 4.0.0.0

.txt not allowed to attach here.

Thanks.

Hi,

We have hosted our Angularjs + ASP.net core application on AWS EC2 linux + S3 bucket. It's login to host admin tenant without any issue. Also we can create new tenant in host admin and new tenant successfully saved in the database. After creation new tenant when we click on action loggin as this tenant, it gives "An internal error ocurred during your request".

This not happen in development.

Logs.txt file also attached.

Highly appreciate your response to this query. We'll send the host and UI application's link via email. Thanks

Thanks, It's now working

Hi, What's going on...? We don't have reply yet... Please give us a solution for this matter... Thanks.

Hi,

When I run the Angular UI It's showing blank screen. When I debug the code using Visual studio Code It's given an error like below

Exception has occurred: TypeError TypeError: Number.prototype.toFixed is not generic at Object.toFixed (<anonymous>) at d:\Projects\ideazco\ideazco-mysql\angular\node_modules\core-js\modules\es6.number.to-fixed.js:63:1 at module.exports (d:\Projects\ideazco\ideazco-mysql\angular\node_modules\core-js\modules_fails.js:3:1) at Object.<anonymous> (d:\Projects\ideazco\ideazco-mysql\angular\node_modules\core-js\modules\es6.number.to-fixed.js:61:1) at webpack_require (<a class="postlink" href="http://localhost:4200/inline.bundle.js:53:30">http://localhost:4200/inline.bundle.js:53:30</a>) at Object.<anonymous> (d:\Projects\ideazco\ideazco-mysql\angular\node_modules\core-js\es6\number.js:2:1) at webpack_require (<a class="postlink" href="http://localhost:4200/inline.bundle.js:53:30">http://localhost:4200/inline.bundle.js:53:30</a>) at Object.<anonymous> (<a class="postlink" href="http://localhost:4200/polyfills.bundle.js:2645:77">http://localhost:4200/polyfills.bundle.js:2645:77</a>) at webpack_require (<a class="postlink" href="http://localhost:4200/inline.bundle.js:53:30">http://localhost:4200/inline.bundle.js:53:30</a>) at Object.<anonymous> (<a class="postlink" href="http://localhost:4200/polyfills.bundle.js:8604:18">http://localhost:4200/polyfills.bundle.js:8604:18</a>)

Screen shot also attached. Please give me a solution for this issue... And I'll send my source code to <a href="mailto:[email protected]">[email protected]</a> Thanks.

Hi,

Yes, we can see swagger-ui on host app. There are no exception messages on Logs.txt file.

We'll send you the host and client published files

Thanks.

Hi Ismail, we are using Angular JS + Asp.net core for our project. We use two solutions.

We were able to host asp.net core host app to the AWS EC2 Linux instance. It runs well. When we try to host Angular UI app to s3 bucket we gettting "Error details not sent by server" error. We simply uploaded ng cli build package as it is to s3 bucket. (Folder structure remain as it is in s3 bucket) Also we changed appsetting.json to correct hosted core app. Database also correctly configured and tested.

Is it possible to deploy Angular UI directly on s3 bucket? If not can we deploy Angular UI on another EC2 linux instance? What are the steps?

Thanks Mangala

Showing 11 to 18 of 18 entries