Base solution for your next web application

Activities of "hakan"

HTTP Error 403.0 - Required permissions are not granted. At least one of these permissions must be granted:

How to handle Authorization Exception , is there any abp client scripts ?

Im using mvc jquery

I have downloaded the lastest versions ASP.NET MVC 5.x & JQuery ASP.NET MVC 5.x & Angularjs 1.x Project version 4.5.1(latest)

After I have restored all Nugets and Updated database. I got error "netfx.force.conflicts" on both versions! I use Visual Studio 2017 15.3.4

I have tried to change some lines in Web.Config: newversion="4.011.0" to "4.0.0.0", but its still error

Any solution?

Great, I have the same problem I think!

Do you have any sample code?

Thanks in advance!

I have a problem with an error message. When creating a user with special characters, i get the following error : "User name @-_test is invalid, can only contain letters or digits". But i cant get this error message being translated.

Its translate to all languages but not Swedish, is it because Identity is not translated to Swedish?

To add a Userrole I use this( from DefaultTenantRoleAndUserBuilder.cs)

_context.UserRoles.Add(new UserRole(adminUserForDefaultTenant.Id, adminRoleForDefaultTenant.Id));
 _context.SaveChanges();

But how to remove a Userrole?

I have choosed: Multi Page Web Application, Entinty Framework and Include module zero!

I cant L("Login") in Views in Areas to work, it works in the controller!

What do I missing?

I have added in the area views

public abstract class SimpleTaskSystemWebViewPageBase : SimpleTaskSystemWebViewPageBase<dynamic>
{
}

public abstract class SimpleTaskSystemWebViewPageBase<TModel> : AbpWebViewPage<TModel>
{
    protected SimpleTaskSystemWebViewPageBase()
    {
        LocalizationSourceName = "SimpleTaskSystem";
    }
}
Showing 11 to 16 of 16 entries