Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "ideazco"

Hi,

We are using ASP.net core + Angular version 4.5.0.0 and we hosted the application on AWS Linux EC2 instance.

When we export audit logs to excel it gave an error as belowed.

Please help us to resovle this issue as soon as posible. Thanks

ERROR 2017-12-13 07:46:55,923 [6 ] Mvc.ExceptionHandling.AbpExceptionFilter - The type initializer for 'System.Drawing.GDIPlus' threw an exception. System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'gdiplus': The specified module or one of its dependencies could not be found. (Exception from HRESULT: 0x8007007E) at System.Drawing.GDIPlus.GdiplusStartup(UInt64& token, GdiplusStartupInput& input, GdiplusStartupOutput& output) at System.Drawing.GDIPlus..cctor() --- End of inner exception stack trace --- at System.Drawing.GDIPlus.GdipGetGenericFontFamilySansSerif(IntPtr& fontFamily) at System.Drawing.FontFamily..ctor(GenericFontFamilies genericFamily) at System.Drawing.FontFamily.get_GenericSansSerif() at System.Drawing.Font.CreateFont(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte charSet, Boolean isVertical) at OfficeOpenXml.ExcelRangeBase.AutoFitColumns(Double MinimumWidth, Double MaximumWidth) at ideazco.ideazco.Auditing.Exporting.AuditLogListExcelExporter.<>c__DisplayClass3_0.<ExportToFile>b__0(ExcelPackage excelPackage) in D:\Projects\IdeazCo\ideazco\aspnet-core\src\ideazco.ideazco.Application\Auditing\Exporting\AuditLogListExcelExporter.cs:line 66 at ideazco.ideazco.DataExporting.Excel.EpPlus.EpPlusExcelExporterBase.CreateExcelPackage(String fileName, Action`1 creator) in D:\Projects\IdeazCo\ideazco\aspnet-core\src\ideazco.ideazco.Application\DataExporting\Excel\EpPlus\EpPlusExcelExporterBase.cs:line 29 at ideazco.ideazco.Auditing.AuditLogAppService.

Hi,

We hosted our application on AWS EC2 Linux server with your support. Now we're getting a new error when change the timezone.

Here is the error logged on Logs.txt file

ERROR 2017-11-01 12:47:59,078 [12 ] Mvc.ExceptionHandling.AbpExceptionFilter - Unable to map Asia/Singapore to iana timezone. System.Exception: Unable to map Asia/Singapore to iana timezone. at Abp.Timing.Timezone.TimezoneHelper.WindowsToIana(String windowsTimezoneId) at Abp.Web.Configuration.AbpUserConfigurationBuilder.<GetUserTimingConfig>d__22.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 Abp.Web.Configuration.AbpUserConfigurationBuilder.<GetAll>d__13.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 Abp.AspNetCore.Mvc.Controllers.AbpUserConfigurationController.<GetAll>d__2.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 lambda_method(Closure , Object ) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.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__10.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.<InvokeInnerFilterAsync>d__14.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.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext()

We're kindly looking for a solution for this error ASP

Thanks.

Hi, aspzero version: 4.5.1

I have hosted Angular + .net core project on AWS EC2 Linux instance. .NET core hosting works fine on AWS.

But UI hosting shows empty page. I have tried both in s3 and ec2.... result is same.

Appreciate if you can help us.

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

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 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 1 to 6 of 6 entries