Activities of "chrisalves"

Hi

Thanks for your answer but unfortunately the proposed solution didn't work and I don't know what else can I do, the error persists the same, with the same warnings as I showed above.

I could send my project to you to able a better diagnosing, i am trying to deploy it on iis to validate the usabillity of the app so we can start the development later, the version and the configuration are the same as I described in the first interaction.

If its possible, can I send to you on email? I really will appreciate.

Thanks

Hi

I tried https://abp.io/support/questions/1009/Invalid-redirecturi---RedirectAllowedUrls-on-Login-page and worked for me, I forgot to specify the uri on dbmigrator's appsettings.

But now i'm facing another problem, I can make the login but when I am logged the error 400 appears.

logs on blazor:

[15:22:17 INF] Initialized all ABP modules. [15:22:17 INF] Application started. Press Ctrl+C to shut down. [15:22:17 INF] Hosting environment: Quality [15:22:17 INF] Content root path: C:\inetpub\apps\alfa9\alfa9blazor [15:22:17 INF] Request starting HTTP/2 GET https://alfa9blazor.pipali.com.br/ - null null [15:22:17 WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration. [15:22:17 INF] Start processing HTTP request GET https://alfa9httpapihost.pipali.com.br/api/abp/application-configuration?* [15:22:17 INF] Sending HTTP request GET https://alfa9httpapihost.pipali.com.br/api/abp/application-configuration?* [15:22:17 INF] Received HTTP response headers after 290.6175ms - 200 [15:22:17 INF] End processing HTTP request after 295.4833ms - 200 [15:22:17 WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration. [15:22:17 INF] Start processing HTTP request GET https://alfa9httpapihost.pipali.com.br/api/abp/application-localization?* [15:22:17 INF] Sending HTTP request GET https://alfa9httpapihost.pipali.com.br/api/abp/application-localization?* [15:22:18 INF] Received HTTP response headers after 378.8282ms - 200 [15:22:18 INF] End processing HTTP request after 379.3016ms - 200 [15:22:20 INF] Executing endpoint '/ (/)' [15:22:20 INF] Bundling __bundles/Blazor.LeptonXTheme.Global.8825C25A46067E659DE2294C6AF67F1C.css (17 files) [15:22:20 INF] > Minified /libs/@fortawesome/fontawesome-free/css/all.css (106394 bytes -> 72264 bytes) [15:22:20 INF] > Minified /libs/@fortawesome/fontawesome-free/css/v4-shims.css (38514 bytes -> 30407 bytes) [15:22:20 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/css/abp.css (1342 bytes -> 878 bytes) [15:22:20 INF] > Minified /_content/Volo.Abp.BlazoriseUI/volo.abp.blazoriseui.css (1274 bytes -> 939 bytes) [15:22:20 INF] > Minified /_content/Volo.Abp.AuditLogging.Blazor/css/audit-logging.css (84 bytes -> 59 bytes) [15:22:20 INF] > Minified /_content/Volo.FileManagement.Blazor/filemanagement/css/filemanagement.css (2703 bytes -> 2144 bytes) [15:22:20 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/libs/bootstrap-icons/font/bootstrap-icons.css (74827 bytes -> 57858 bytes) [15:22:20 INF] > Minified /blazor-global-styles.css (847 bytes -> 574 bytes) [15:22:20 INF] > Minified /Alfa09.Blazor.styles.css (867 bytes -> 607 bytes) [15:22:20 INF] Bundled __bundles/Blazor.LeptonXTheme.Global.8825C25A46067E659DE2294C6AF67F1C.css (619780 bytes) [15:22:20 INF] Bundling __bundles/Blazor.LeptonXTheme.Global.08DDBD1A43C345973039B06AD8A11F66.js (13 files) [15:22:20 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/abp.js (8553 bytes -> 3582 bytes) [15:22:20 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/authentication-state-listener.js (453 bytes -> 234 bytes) [15:22:20 INF] > Minified /_content/Volo.Chat.Blazor/libs/AvatarManager.js (2123 bytes -> 1086 bytes) [15:22:20 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Server.LeptonXTheme/scripts/leptonx-blazor-compatibility.js (4501 bytes -> 2011 bytes) [15:22:20 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/scripts/global.js (798 bytes -> 269 bytes) [15:22:20 INF] Bundled __bundles/Blazor.LeptonXTheme.Global.08DDBD1A43C345973039B06AD8A11F66.js (1044243 bytes) [15:22:20 WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration. [15:22:20 INF] Start processing HTTP request GET https://alfa9httpapihost.pipali.com.br/api/abp/application-configuration?* [15:22:20 INF] Sending HTTP request GET https://alfa9httpapihost.pipali.com.br/api/abp/application-configuration?* [15:22:21 INF] Received HTTP response headers after 386.6997ms - 200 [15:22:21 INF] End processing HTTP request after 387.0255ms - 200 [15:22:21 WRN] Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration. [15:22:21 INF] Start processing HTTP request GET https://alfa9httpapihost.pipali.com.br/api/abp/application-localization?* [15:22:21 INF] Sending HTTP request GET https://alfa9httpapihost.pipali.com.br/api/abp/application-localization?* [15:22:21 INF] Received HTTP response headers after 195.1796ms - 200 [15:22:21 INF] End processing HTTP request after 195.5343ms - 200 [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: SettingManagement.Emailing [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: AuditLogging.AuditLogs.SettingManagement [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: FeatureManagement.ManageHostFeatures [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: Chat.SettingManagement [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: CmsKit.SettingManagement [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: SettingManagement.Emailing [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: AuditLogging.AuditLogs.SettingManagement [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: FeatureManagement.ManageHostFeatures [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: Chat.SettingManagement [15:22:21 INF] Authorization failed. These requirements were not met: PermissionRequirement: CmsKit.SettingManagement [15:22:21 WRN] Could not find the localization resource LeptonX on the remote server!

logs on authserver:

[15:19:05 INF] The response was successfully returned as a JSON document: { "error": "invalid_grant", "error_description": "The specified token is invalid.", "error_uri": "https://documentation.openiddict.com/errors/ID2004" }.

My appsettings for all sites are the same as I mentioned above.

I would like to know if there are a guide to make this deployment (tiered using blazor server), because i am following the steps on https://abp.io/docs/commercial/8.1/startup-templates/application/deployment-iis?UI=BlazorServer&DB=EF&Tiered=Yes but i am not making it, the only thing different is that i am using is webdeploy to publish, publishing also the dbmigrator to make the updates, running it on Quality environment and using a wildcard ssl certificate for *.pipali.com.br instead making one manually for each site, furthermore there are nothing different, but i am still facing these troubles.

thanks :)

Hi

I am making the deploy of a tiered blazor server app to iis server on a vm hosted in azure and i am having trouble with authentication. I run the authserver, httpapihost and finally the blazor app, it loads correctly but when I click in login the error 400 appears, and the logs allegate a fail with the authentication.

I am using a wildcard ssl certificate configured on iis for *.pipali.com.br

I'll show now my appsettings of the projects:

Authserver:

{ "App": { "SelfUrl": "https://alfa9authserver.pipali.com.br", "CorsOrigins": "https://alfa9blazor.pipali.com.br,https://alfa9httpapihost.pipali.com.br", "RedirectAllowedUrls": "https://alfa9blazor.pipali.com.br,https://alfa9httpapihost.pipali.com.br", "DisablePII": false }, "ConnectionStrings": { "Default": "Server=(LocalDb)\MSSQLLocalDB;Database=Alfa09-Quality;Trusted_Connection=True;TrustServerCertificate=true" }, "AuthServer": { "Authority": "https://alfa9authserver.pipali.com.br", "RequireHttpsMetadata": true, "CertificatePassPhrase": "1d9d9e9a-7480-4970-9495-f1e96de69336" }, "StringEncryption": { "DefaultPassPhrase": "z56ynL51bR7WsK28" }, "Redis": { "Configuration": "redis-11477.c282.east-us-mz.azure.redns.redis-cloud.com:11477,password=dxQrHqkjDYmNiLXL2CgvR2PviA2DijWc" } }

HttpApiHost:

{ "App": { "SelfUrl": "https://alfa9httpapihost.pipali.com.br", "MVCPublicUrl": "https://localhost:44345", "CorsOrigins": "https://*.Alfa09.com", "DisablePII": false, "HealthCheckUrl": "https://alfa9httpapihost.pipali.com.br/health-status" }, "ConnectionStrings": { "Default": "Server=(LocalDb)\MSSQLLocalDB;Database=Alfa09-Quality;Trusted_Connection=True;TrustServerCertificate=true" }, "Redis": { "Configuration": "redis-11477.c282.east-us-mz.azure.redns.redis-cloud.com:11477,password=dxQrHqkjDYmNiLXL2CgvR2PviA2DijWc" }, "RabbitMQ": { "Connections": { "Default": { "HostName": "localhost" } }, "EventBus": { "ClientName": "HttpApiHost", "ExchangeName": "Alfa09" } }, "AuthServer": { "Authority": "https://alfa9authserver.pipali.com.br", "RequireHttpsMetadata": true, "MetaAddress": "https://alfa9authserver.pipali.com.br", "SwaggerClientId": "Alfa09_Swagger" }, "StringEncryption": { "DefaultPassPhrase": "z56ynL51bR7WsK28" } }

Blazor:

{ "App": { "SelfUrl": "https://alfa9blazor.pipali.com.br", "DisablePII": false }, "RemoteServices": { "Default": { "BaseUrl": "https://alfa9httpapihost.pipali.com.br" }, "AbpAccountPublic": { "BaseUrl": "https://alfa9authserver.pipali.com.br" } }, "Redis": { "Configuration": "redis-11477.c282.east-us-mz.azure.redns.redis-cloud.com:11477,password=dxQrHqkjDYmNiLXL2CgvR2PviA2DijWc" }, "RabbitMQ": { "Connections": { "Default": { "HostName": "localhost", "Port": 5672, "Username": "guest", "Password": "guest", } }, "EventBus": { "ClientName": "BlazorServer", "ExchangeName": "Alfa09" } }, "AuthServer": { "Authority": "https://alfa9authserver.pipali.com.br", "RequireHttpsMetadata": true, "ClientId": "Alfa09_BlazorServer", "ClientSecret": "1q2w3e*" }, "StringEncryption": { "DefaultPassPhrase": "z56ynL51bR7WsK28" } }

  • ABP Framework version: v0.9.20
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:

Logs from blazor:

[15:59:07 INF] Initialized all ABP modules. [15:59:07 INF] Application started. Press Ctrl+C to shut down. [15:59:07 INF] Hosting environment: Quality [15:59:07 INF] Content root path: C:\inetpub\apps\alfa9\alfa9blazor [15:59:07 INF] Request starting HTTP/2 GET https://alfa9blazor.pipali.com.br/ - null null [15:59:09 INF] Executing endpoint '/ (/)' [15:59:09 INF] Bundling __bundles/Blazor.LeptonXTheme.Global.8825C25A46067E659DE2294C6AF67F1C.css (17 files) [15:59:09 INF] > Minified /libs/@fortawesome/fontawesome-free/css/all.css (106394 bytes -> 72264 bytes) [15:59:09 INF] > Minified /libs/@fortawesome/fontawesome-free/css/v4-shims.css (38514 bytes -> 30407 bytes) [15:59:09 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/css/abp.css (1342 bytes -> 878 bytes) [15:59:09 INF] > Minified /_content/Volo.Abp.BlazoriseUI/volo.abp.blazoriseui.css (1274 bytes -> 939 bytes) [15:59:09 INF] > Minified /_content/Volo.Abp.AuditLogging.Blazor/css/audit-logging.css (84 bytes -> 59 bytes) [15:59:09 INF] > Minified /_content/Volo.FileManagement.Blazor/filemanagement/css/filemanagement.css (2703 bytes -> 2144 bytes) [15:59:09 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/libs/bootstrap-icons/font/bootstrap-icons.css (74827 bytes -> 57858 bytes) [15:59:09 INF] > Minified /blazor-global-styles.css (847 bytes -> 574 bytes) [15:59:09 INF] > Minified /Alfa09.Blazor.styles.css (867 bytes -> 607 bytes) [15:59:09 INF] Bundled __bundles/Blazor.LeptonXTheme.Global.8825C25A46067E659DE2294C6AF67F1C.css (619780 bytes) [15:59:09 INF] Bundling __bundles/Blazor.LeptonXTheme.Global.08DDBD1A43C345973039B06AD8A11F66.js (13 files) [15:59:09 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/abp.js (8553 bytes -> 3582 bytes) [15:59:09 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/authentication-state-listener.js (453 bytes -> 234 bytes) [15:59:09 INF] > Minified /_content/Volo.Chat.Blazor/libs/AvatarManager.js (2123 bytes -> 1086 bytes) [15:59:09 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Server.LeptonXTheme/scripts/leptonx-blazor-compatibility.js (4501 bytes -> 2011 bytes) [15:59:09 INF] > Minified /_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/scripts/global.js (798 bytes -> 269 bytes) [15:59:09 INF] Bundled __bundles/Blazor.LeptonXTheme.Global.08DDBD1A43C345973039B06AD8A11F66.js (1044243 bytes) [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: SettingManagement.Emailing [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: AuditLogging.AuditLogs.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: FeatureManagement.ManageHostFeatures [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: Chat.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: CmsKit.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: SettingManagement.Emailing [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: AuditLogging.AuditLogs.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: FeatureManagement.ManageHostFeatures [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: Chat.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: CmsKit.SettingManagement [15:59:10 WRN] Could not find the localization resource LeptonX on the remote server! [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: SettingManagement.Emailing [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpAccount.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: AbpIdentity.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: AuditLogging.AuditLogs.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: FeatureManagement.ManageHostFeatures [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: Chat.SettingManagement [15:59:10 INF] Authorization failed. These requirements were not met: PermissionRequirement: CmsKit.SettingManagement [15:59:10 WRN] Could not find the localization resource LeptonX on the remote server! [15:59:10 WRN] Could not find the localization resource LeptonX on the remote server!

Logs from authserver:

[15:59:16 INF] Client validation failed because 'https://alfa9blazor.pipali.com.br/signin-oidc' was not a valid redirect_uri for Alfa09_BlazorServer. [15:59:16 INF] The authorization request was rejected because the redirect_uri was invalid: 'https://alfa9blazor.pipali.com.br/signin-oidc'. [15:59:16 INF] Request finished HTTP/2 GET https://alfa9authserver.pipali.com.br/connect/authorize?client_id=Alfa09_BlazorServer&redirect_uri=https%3A%2F%2Falfa9blazor.pipali.com.br%2Fsignin-oidc&response_type=code%20id_token&scope=openid%20profile%20roles%20email%20phone%20Alfa09&response_mode=form_post&nonce=638724671559100420.NTdhMTNkMmEtNDVjNC00N2U1LTlkOTAtYzVlNzg2MGJhMzkwZTU0NmJhY2YtNDJjYy00OGYzLTk2MzMtYzQ5NzViMzY2OThh&state=CfDJ8DClCOtfvdVOknIgtKcPoeh6I1YMlzFeYAAuNf_BerK63LuVAZEg47FYaCxSSibZqBup8GmcPNmTX3h9OT4YksFEOcCvyTE6cVeVVBS58DG0PjC8tf5XbIrKtiYz4cwqJdNPzt0HchAOaBom7m-IiJIQqmuSuehKSUWbE8ZExjFOqrqbGTYWm-tZ0x0PxtbDg8Nfb_ady-h0K5gAfQjT2pRt95mOCRC1yenO576LwFEnLRJeitVsxpD4E3V5j9lvnF9qVqgSeRVgr8H3Xzy3LLKS2S71sYOuX2X--0NLWE_W3VYUHqkFDuu3ByiJf-vaKA&x-client-SKU=ID_NET9_0&x-client-ver=8.1.0.0 - 302 null null 130.6717ms [15:59:16 INF] Request starting HTTP/2 GET https://alfa9authserver.pipali.com.br/Error?httpStatusCode=400 - null null [15:59:16 INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController.Index (Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared)' [15:59:16 INF] Route matched with {action = "Index", controller = "Error", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Index(Int32) on controller Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Controllers.ErrorController

  • Steps to reproduce the issue:
  • Publish the projects on windows server
  • Configure the iis and the websites
  • Configure the appsettings of each site
  • Try to login

Please help, if you need more info i'll send :)

The previous version 0.9.19 created the solution including CRUD sample and did run with success on Solution Runner.

Hi!

Here is the explorer view from the application created using Studio 0.9.20 that is hanging (Http.Api.Host is not starting).

Here is the screenshot related to endless restarting of the HttpApi.Host

<br> <br>

Here is the screenshot of the solution runner showing the endless restarting project

And here is the possible cause, when tried to run on the terminal mode. The sample CRUD on Studio 0.9.20 is missing something when the CRUD sample is included in the solution creation process.

Helo!! I noticed about the new version 0.9.20 and just updated my ABP Studio version to this current, that is a great news!

Using the new version, I tried to create a new solution with same steps of the previous one (created when I opened this ticket) and the CMS is being always mandatory (even having a checkbox, it always has its box checked when going to next button).

The solution was created with success but the solution is hanging to run, the project API.HOST is restarting endless and I believe that there is anything related to this release generating bug on Http.Api.Host because this project is hanging and doesn´t start on ABP Studio, in a endless process, having "exit code: 1" endless.

I´m not able to create a solution without CMS Kit to test if the problem is related to the new ABP Studio release or if it is related to the inclusion of CMS in the solution.

The previous solution created just before open this ticket still working fine and starts very quick without restarting any project.

Can you help on that?

Hi Sr. Please take a look at the email below, I believe there is a misunderstand about the which version should apply these restrictions. As you will see, Tarik mentioned that Personal Licenses bought before July 23rd, 2024 should not have the restrictions, the restrictions apply only for new subscribers.

Can you please review internally based on the email below?

Many thanks!

Check the docs before asking a question: https://abp.io/docs/latest Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info: 🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.

  • ABP Framework version: v0.9.15
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: When creating a new solution using ABP Studio, the option to add CMS Kit is not available and there is a message restricting this feature is only available for Team Edition. But it was working fine in December before updating Abp Studio.

Hi,

Appreciate your answer, helped a lot.

Now i am facing another problem, my workflow doesn't work as I expected in the deploy step, the runner accuse an error that the site was not found, but I checked a lot of times and the name was correct, I already added it in the iis manager and in the hosts file but didn't work.

I already checked iis, web management service and the firewall, all of them are ok.

my actual workflow is:

name: Deploy Entire App using Web Deploy

on:
  push:
    branches:
      - main

jobs:
  build-and-deploy:
    runs-on: windows-latest

    steps:
    - name: Checkout code
      uses: actions/checkout@v3

    - name: Setup .NET
      uses: actions/setup-dotnet@v3
      with:
        dotnet-version: '9.0'
    
    - name: Restore dependencies
      run: dotnet restore

    - name: Build project
      run: dotnet build --configuration Release 

    - name: Publish AuthServer
      run: dotnet publish ./src/Alfa5.AuthServer/Alfa5.AuthServer.csproj -c Release -o ./publish/AuthServer

    - name: List published files #debug
      run: dir ./publish/AuthServer

    - name: Deploy AuthServer using Web Deploy
      run: |
        & "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
        -verb:sync `
        -source:contentPath=./publish/AuthServer `
        -dest:iisApp=webdepauthserveralfa5,wmsvc=https://52.168.74.165:8172/msdeploy.axd ,username=***,password=***,authType=Basic `
        -allowUntrusted

    - name: Publish Blazor
      run: dotnet publish ./src/Alfa5.Blazor/Alfa5.Blazor.csproj -c Release -o ./publish/Blazor

    - name: Deploy Blazor using Web Deploy
      run: |
        & "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
        -verb:sync `
        -source:contentPath=./publish/Blazor `
        -dest:iisApp=webdepblazoralfa5,wmsvc=https://52.168.74.165:8172/msdeploy.axd,username=***,password=***,authType=Basic `
        -allowUntrusted

    - name: Publish HttpApiHost
      run: dotnet publish ./src/Alfa5.HttpApi.Host/Alfa5.HttpApi.Host.csproj -c Release -o ./publish/HttpApi.Host

    - name: Deploy HttpApiHost using Web Deploy
      run: |
        & "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
        -verb:sync `
        -source:contentPath=./publish/HttpApi.Host `
        -dest:iisApp=webdephttpapihostalfa5,wmsvc=https://52.168.74.165:8172/msdeploy.axd,username=***,password=***,authType=Basic `
        -allowUntrusted

The error message is:

Run & "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
  & "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
  -verb:sync `
  -source:contentPath=./publish/AuthServer `
  -dest:iisApp=webdepauthserveralfa5,wmsvc=https://52.168.74.165:8172/msdeploy.axd,username=sdtweb01\opsadmin,*** `
  -allowUntrusted
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
  env:
    DOTNET_ROOT: C:\Program Files\dotnet
  
Error Code: ERROR_SITE_DOES_NOT_EXIST
More Information: Site '.' does not exist.  Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SITE_DOES_NOT_EXIST.
Error: Object of type 'contentPath' and path './publish/AuthServer' cannot be created.
Error count: 1.
Error: Process completed with exit code 1.

The steps are the same as the first question that I made, thanks :)

Hi,

I am deploying a tiered blazor server app in iis on a virtual machine hosted in azure using github actions and a pipeline to execute the webdeploy when a push was done, but i am having trouble with an specific project (maui project) that misses the android sdk to finish the build and followingly the webdeploy.

I'll share my workflow first:

name: Deploy Entire App using Web Deploy

on:
  push:
    branches:
      - main

jobs:
  build-and-deploy:
    runs-on: self-hosted

    steps:
    - name: Checkout code
      uses: actions/checkout@v3

    - name: Setup .NET
      uses: actions/setup-dotnet@v3
      with:
        dotnet-version: '9.0'
    
    - name: Install MAUI Workloads
      run: dotnet workload restore
    
    - name: Restore dependencies
      run: dotnet restore

    - name: Build project
      run: dotnet build --configuration Release 

    # Publicar e Deploy do AuthServer
    - name: Publish AuthServer
      run: dotnet publish ./src/Alfa5.AuthServer/Alfa5.AuthServer.csproj -c Release -o ./publish/AuthServer

    - name: Deploy using Web Deploy
      run: |
        "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
        -verb:sync `
        -source:contentPath="./publish/AuthServer" `
        -dest:iisApp="webdepauthserveralfa5",wmsvc=***,username=***,password=***,authType=Basic `
        -allowUntrusted

    # Publicar e Deploy do Blazor
    - name: Publish Blazor
      run: dotnet publish ./src/Alfa5.Blazor/Alfa5.Blazor.csproj -c Release -o ./publish/Blazor

    - name: Deploy using Web Deploy
      run: |
        "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
        -verb:sync `
        -source:contentPath="./publish/Blazor" `
        -dest:iisApp="webdepblazoralfa5",wmsvc=***,username=***,password=***,authType=Basic `
        -allowUntrusted

    # Publicar e Deploy do HttpApiHost
    - name: Publish Blazor
      run: dotnet publish ./src/Alfa5.HttpApi.Host/Alfa5.HttpApi.Host.csproj -c Release -o ./publish/HttpApi.Host

    - name: Deploy using Web Deploy
      run: |
        "C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" `
        -verb:sync `
        -source:contentPath="./publish/HttpApi.Host" `
        -dest:iisApp="webdephttpapihostalfa5",wmsvc=***,username=***,password=***,authType=Basic `
        -allowUntrusted

Iam confused cause I did the webdeploy manually and dont needed to manage these android dependencies, cause I dont even need them, my plans don't involve mobile apps for now. But I wonder if that are solutions for this instead of simply removing that project, because in long terms I will need to solve this.

I already tried to install the sdk from android studio on the virtual machine. Already tried to add the chocolatey command to install the sdk on the workflows. None of them worked.

  • ABP Framework version: v0.9.15
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
Run dotnet build --configuration Release
  Determining projects to restore...
Error: C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.24\tools\Xamarin.Android.Tooling.targets(62,5): error XA5300: The Android SDK directory could not be found. Install the Android SDK by following the instructions at: https://aka.ms/dotnet-android-install-sdk [C:\Users\opsadmin\actions-runner-2\_work\alfa5webdeploytest\alfa5webdeploytest\src\Alfa5.Maui\Alfa5.Maui.csproj::TargetFramework=net9.0-android]
Error: C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.24\tools\Xamarin.Android.Tooling.targets(62,5): error XA5300: To use a custom SDK path for a command line build, set the 'AndroidSdkDirectory' MSBuild property to the custom path. [C:\Users\opsadmin\actions-runner-2\_work\alfa5webdeploytest\alfa5webdeploytest\src\Alfa5.Maui\Alfa5.Maui.csproj::TargetFramework=net9.0-android]
  • Steps to reproduce the issue: Configure the webdeploy, IIS and the website correctly; Configure the workflow; Make a change, and do a push on the project;

I would like to know if I am doing this correctly, because i am trying to deploy it this way its been a while, there are some documentation of webdeploying tiered apps using github actions?

Thanks :)

Showing 1 to 10 of 32 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 16, 2025, 11:47