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

Activities of "velu"

Hi,

We are using aspnet Core + angular 4 (combined ).

For this solution we are using Devart drivers for oracle.

We follows this steps in our application.

• All connectivity with database ( Default table structure and data using migrator app successfully inserted In oracle database) • Run update-database command in npm. • All done.

But we are facing problem with starting application.

Image <a class="postlink" href="https://drive.google.com/file/d/0BzSirtYGe7EHRjgyYmo4ODFxbFk/view?usp=sharing">https://drive.google.com/file/d/0BzSirt ... sp=sharing</a>

Stack

AbpException: No language defined in this application.

Abp.Localization.LanguageManager.GetCurrentLanguage()


moneyguru.Web.Public.Views.Shared.Components.Header.HeaderViewComponent+<InvokeAsync>d__9.MoveNext() in HeaderViewComponent.cs
- 
52.            if (_abpSession.TenantId.HasValue)
53.            {
54.                var tenant = await _tenantManager.GetByIdAsync(_abpSession.GetTenantId());
55.                tenancyName = tenant.TenancyName;
56.            }
57.
58.            var headerModel = new HeaderViewModel
59.            {
60.                LoginInformations = await _sessionCache.GetCurrentLoginInformationsAsync(),
61.                IsInHostView = !_abpSession.TenantId.HasValue,
62.                Languages = _languageManager.GetLanguages().Where(l => !l.IsDisabled).ToList(),
63.                CurrentLanguage = _languageManager.CurrentLanguage,
64.                Menu = await _userNavigationManager.GetMenuAsync(FrontEndNavigationProvider.MenuName, _abpSession.ToUserIdentifier()),


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker+<InvokeAsyncCore>d__6.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentInvoker+<InvokeAsync>d__5.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Mvc.ViewComponents.DefaultViewComponentHelper+<InvokeCoreAsync>d__12.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


System.Runtime.CompilerServices.TaskAwaiter.GetResult()


AspNetCore._Views_Layout__Layout_cshtml+<ExecuteAsync>d__80.MoveNext() in _Layout.cshtml
- 
78.        var abp = abp || {}; abp.appPath = '@ApplicationPath';
79.    </script>
80.
81.</head>
82.<body class="corporate">
83.
84.    @await Component.InvokeAsync(typeof(HeaderViewComponent), new { currentPageName = ViewBag.CurrentPageName })
85.
86.    <div class="main">
87.        <div class="container">
88.            @RenderBody()
89.        </div>
90.    </div>


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Mvc.Razor.RazorView+<RenderPageAsync>d__14.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Mvc.Razor.RazorView+<RenderLayoutAsync>d__17.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Mvc.Razor.RazorView+<RenderAsync>d__13.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor+<ExecuteAsync>d__18.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Mvc.ViewResult+<ExecuteResultAsync>d__26.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeResultAsync>d__30.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeNextResultFilterAsync>d__28.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ResultExecutedContext context)


Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)


Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeNextResourceFilter>d__22.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ResourceExecutedContext context)


Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)


Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeAsync>d__20.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Builder.RouterMiddleware+<Invoke>d__4.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__18.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__18.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__18.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__18.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__18.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__18.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__18.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__18.MoveNext()


System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()


System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)


Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware+<Invoke>d__7.MoveNext()

Thanks and Regards, Vaibhav Patil

Hi,

We are using ASPnet Core + angular Platform to develop application.

We are trying to connect with oracle database (<span style="color:#FF0040">Currently Not Supported by .net core</span>) that’s why we procure and implemented Devart drivers.

By using devart we successfully connected to oracle 11G database. • Abp table structure generated in database. • Failed to insert Default data in database.

when we are run the .Migrator we have some errors. • Error 1: ORA-00932: inconsistent datatypes: expected - got NCLOB For this error we convert NCLOB datatype to Varchar(4000) by using alter command. Then ABPuser, Tenant data inserted in database but next to this Steps we face error2. • Error 2: Transaction isolation level ReadUncommitted not supported.

thanks

Hi,

How to set date Format as dd-mm-yyyy in application. We are using ASP.NET MVC 5.x & Angularjs 1.x.

Please confirm us what to do.

Hi..

below code is written for the returns date in dd/MM/yyyy

$scope.Date = { date: new Date(), filtered: $filter('date')(new Date(), "dd/MM/yyyy") };

but when rendering on view control its shows in MM/dd/yyyy format.

  1. When I use UserFriendlyException In AccountController.cs (Reset Password ActionResult) is shows error instead of Popup.

Please suggest me necessary changes for this bug.

[https://drive.google.com/file/d/0BzSirtYGe7EHU0Z4bFEtZkV2RGs/view?usp=sharing])

var user = await _userManager.GetUserByIdAsync(userId);
            if (user == null || user.PasswordResetCode.IsNullOrEmpty() || user.PasswordResetCode != model.ResetCode)
            {
          Error --->      throw new UserFriendlyException(L("InvalidPasswordResetCode"), L("InvalidPasswordResetCode_Detail"));
            }

            //Check Password History
            var passwordHistory = await _PassWordHistoryRepository.CheckLastPassword(model.Password, tenantId , userId);
            if (passwordHistory.Isexist)
            {
               Error --->   throw new UserFriendlyException("Your password is matching with \n the last " + passwordHistory.controlValue + " history password.");
            }

Dear Sir,

We want to know that following facility's are available in our application.

User should get prompt to change the password after 30 days (if log in after 30 days). User should not allow to use last five password .

Thanks.

I'm using the DotNet Core and Angular 2.x template. while loading & building my application i am getting following error,

Package Microsoft.Composition 1.0.27 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Microsoft.Composition 1.0.27 supports: portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259) One or more packages are incompatible with .NETCoreApp,Version=v1.1. NuGet package restore failed.

Please give me solution to connect mysql database & appsetting.json connection string using mysql databse .

Thanks in advance.

How to connect oracle database using aspnetCORE app.

When i add 'Oracle.ManagedDataAccess' using nuget package manager then it throw an error:

Package restore failed. Rolling back package changes for '.EntityFrameworkCore'. OUTPUT : Package Oracle.ManagedDataAccess 12.2.1100 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Oracle.ManagedDataAccess 12.2.1100 supports: net40 (.NETFramework,Version=v4.0)

We have three different servers.

  1. Database Server
  2. Application Server
  3. Web Server

In this environment Web Server cannot communicate with directly Database Server. It is communicate with Application Server.

Is it possible with ABP.

Please help us how to convert ABP with three different servers.

I want to get Data From IRepository in Standalone class like

//Standalone class public class Utility {

public string getdata() { Irepository<sampleCORE> testdata;

testdata.gelall(); } }

Use Of utility class Utility Utl = new Utility (); utl.getdata();

I used your Functionality Like pass iRepository in constructor. but in this case utility class is standalone class hence whenever i create object of that class it needs to be passed all declared constructor.

how can i get data without passing constructor of Repository.


I Used object of DBcontext of ABPDbContext Db = new ABPDbContext(); in this case i am not able to fetch data from datatabe which has tenantID;

Showing 61 to 70 of 89 entries