I am trying to create a tenant after deploying my ASP.NET Zero application to an Azure App Service instance. When I try to create it I get a backend error as shown in the image:
I deployed two app service instances and in the first one I managed to create a tenant after several attempts and errors, but in the second instance (staging) I have not been able to create it.
In my development environment (Visual Studio 2015) tenants are created with no issues.
Thanks in advance.
6 Answer(s)
-
0
your image link is down.
Haven't posted my app to azure(i'm going to) but since tenant creation is fully managed by your app code it shouldn't fail. Does every new tenant gets it's own database? if so i would assume your problem lies with creating new databases.
-
0
-
0
Hi,
Image link is still broken. You can upload image when sending post instead of putting an image url.
-
0
-
0
I finally managed to find the issue and it was something on my side. During the creation of each tenant I am seeding some data synchronously and that process is taking too long. Maybe some configuration in the Azure side is cutting the connection to the database for those long processes.
I commented out that part and the tenant was created instantly. Thanks for your help!
-
0
Hi,
Thanks for sharing your solution. It's nice that you solved your problem. At least for now.