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

Activities of "greatsamps"

Hi,

So thats what i tried last. I ran it under IIS using your web.config and i had the same issue. My config was in the nginx config file which was not present under IIS.

The whole thing feels like it is to do with relative paths settings. Surely there must be a way to tell Angular / ABP that the assets directory is always under root, never relative?

Hi,

Sorry for delay. So the issue is similar in that the problem is the same, where it differs however is that i am not serving it from a subfolder, its already in the root of the domain.

Thanks for that other link, but we are using using Nginx not IIS. Do you have an Nginx configuration file to use? We have already added the redirect to index.html to get the routing working, it's just the assets that are messed up.

Thanks,

UPDATE:

Just tried with IIS, using your config file and i have exactly the same problem.

I am building Angular using ng build --prod

is there anything else needed?

you can see an example of the problem here: https://cripto.compradivisas.com/account/login

Yeah i have already done that, but there seems to way to access the dashboard from angular. I have just disbaled authentication on handgire and am accessing it directly locally for now.

I have taken an look at that, and whilst the symptoms are exactly the same, i do unfortunatally have that record in my settings database.

One other thing that i noticed that is a little odd. Under the host, i have all languages apart from english (en-GB) and spanish disabled, with english set to the default. When i log in under the tenant admin, i see all of the languages (including disabled ones) showing 'YES' under the default column, english is in bold with (default) written after it however.

So, i have done a little more digging. The problem seems to be localised to, if there are any rows that do not have any buttons showing (due to permissions etc), the entire column does not show.

If there is always at least 1 button showing on every row, then the permissions work as above.

Hi,

Thanks for the quick response!

You were right, there was an entry in there referencing 3.6.1. I have deleted it and all is well.

Thanks, would never have thought to check there!

Hi,

Thanks for the reply. Seems they have managed to break it.

I am having issues on 3.5 however. i am getting the following exception when loading any page as a tenant:

System.IO.FileLoadException: 'Could not load file or assembly 'Abp, Version=3.6.1.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'

I have verified that, 3.6.1 is not referenced on any of my projects, and even cleared the nuget cache to be 100% sure.

here is the full stack trace:

at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type, ObjectHandleOnStack keepalive) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) at System.Type.GetType(String typeName) at Abp.Notifications.TenantNotificationInfoExtensions.ToTenantNotification(TenantNotificationInfo tenantNotificationInfo) in D:\Github\aspnetboilerplate\src\Abp\Notifications\TenantNotificationInfoExtensions.cs:line 18 at Abp.Notifications.UserNotificationInfoWithNotificationInfoExtensions.ToUserNotification(UserNotificationInfoWithNotificationInfo userNotificationInfoWithNotificationInfo) in D:\Github\aspnetboilerplate\src\Abp\Notifications\UserNotificationInfoWithNotificationInfoExtensions.cs:line 13 at System.Linq.Enumerable.SelectListIterator2.ToList() at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) at Abp.Notifications.UserNotificationManager.<GetUserNotificationsAsync>d__2.MoveNext() in D:\Github\aspnetboilerplate\src\Abp\Notifications\UserNotificationManager.cs:line 27 --- 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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at Inovine.Gsoc.Portal.Notifications.NotificationAppService.

Pretty frustrating as an entire day has been wasted trying to figure out what someone else has messed up... guess my fault for updating the packages.....

Any ideas on this?

I am getting a few exceptions however on the notifications service that is trying to reference 3.6.1 can you please advise what version of ASP.NET Zero is compatible with v 3.5.0 of ABP?

So, after a few hours of digging, i can confirm that this is a bug that has been introduced in:

<a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3254">https://github.com/aspnetboilerplate/as ... ssues/3254</a>

After rolling back to v3.5 everything is working as expected.

I am aware that out of the box, the package has not been configured to use a tenant name that is actually a full URL, but that is the requirement of our client.

Can we get this changed and the bug fixed or failing that. Please advise how we can reference our own tenant resolver to handle this ourselves.

Thanks,

Showing 1 to 9 of 9 entries