Base solution for your next web application
Open Closed

Access to was denied You don't have authorization to view #2288


User avatar
0
omkarchoudhari created

Using latest version of asp.net mvc and angular1.x template , I created a new tenant with separate database. But when i try to login with the tenant user , i get this error :

Access to was denied

You don't have authorization to view this page.

The db gets created and user is also captured.

Dont know here to look for. Error seems to be thrown from UserWithFriendsCacheItem methodin UserFriendsCache.cs


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Do you have any detailed erro message in the Logs.txt file under your web project ? Can you also try to add [AbpAuthorize] attribute to ChatAppService, and see if this fixes your problem ?