"karl.ettinger@energieag.at" 'in aktiviteleri

Hello,

here are some more findings on the attempt to get my BookStore application to run in IIS in an application.

Initial situation:

  • Create the new pool BookStore in IIS under *Application Pools
    • Domain name tbfs001wvv.powerentity.com and certificates are stored under Default Web Site as well as the application pool DefaultAppPool; bindings https*.443;http:*.80
    • Create a new application with the name BookStore under Default Web Site and assign the application pool *BookStore
    • The folder waiver of Default Web Site is C:\inetpub\wwwroot
    • Create an Acme.BookStore folder under C:\inetpub\wwwroot.
      • Assign permissions IIS_IUSERS and IIS AppPool\BookStore to Acme.BookStore.
      • Copy the deployment files from the Acme.BookStore application in the Acme.BookStore folder
      • The Acme.BookStore application has the base href=“/BookStore/” entry in /Pages/_Host.cshtml and app.UsePathBase(“/BookStore”); is entered in BookStoreBlazorModule.cs/OnApplicationInitialization
  • Database BookStore is created and ready to use
  • In the Edge browser, retrieve the website https://tbfs001wvv.powerentity.com/BookStore
  • Result: Page https://tbfs001wvv.powerentity.com/BookStore does not work

  • Second BookStore application with base href=“~/” in /Pages/_Host.cshtml and without app.UsePathBase(“/BookStore”); in BookStoreBlazorModule.cs/OnApplicationInitialization
  • Deployment files of the second BookStore application copied to the C:\inetpub\wwwroot folder
  • In the Edge browser, retrieve the website https://tbfs001wvv.powerentity.com
  • Result: Page at https://tbfs001wvv.powerentity.com works

  • In the Edge browser, retrieve the website https://tbfs001wvv.powerentity.com/BookStore
  • Result: Page https://tbfs001wvv.powerentity.com/BookStore now also works

  • Delete only the deployment files under C:\inetpub\wwwroot (folder C:\inetpub\wwwroot\Acme.BookStore is retained)
  • In the Edge browser, retrieve the website https://tbfs001wvv.powerentity.com/BookStore
  • Result: Page https://tbfs001wvv.powerentity.com/BookStore does not work

Summary: If the same deploment files are stored in the folder C:\inetpub\wwwroot as under C:\inetpub\wwwroot\Acme.BookStore, the page https://tbfs001wvv.powerentity.com/BookStore works. If the folder C:\inetpub\wwwroot does not contain the deployment files, the page https://tbfs001wvv.powerentity.com/BookStore does not work.

Hello,

does my test application “BookStore” work on your IIS as a virtual application?

Hello,

Thanks for the information, but I had already read this article before I contacted you. All the settings mentioned in this article are the same for my IIS.

For your information: If I configure the test project I sent you without a virtual application and copy the deployment in IIS to “Default Web Site”, the test application works. It just does not work as a virtual application.

Thanks for the tip. I proceeded in the same way, except that I use a virtual application.

The virtual application “BookStore” is created in the IIS under “Default Web Site” and I have also created an application pool “BookStore”. The system uses real domain names.

When it is called: https://tbfs001wvv.powerentity.com/BookStore the following is displayed in the browser:

Ok, and thanks for the info

Hallo

I use a Blazor server project.

  • ABP Framework version: v8.0.3
  • UI Type: Blazor Server
  • Database System: EF Core - SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

I have followed the article https://learn.microsoft.com/en-us/aspnet/core/blazor/host-and-deploy/?view=aspnetcore-7.0&tabs=visual-studio#app-base-path but still the ABP program does not run on the IIS server as a virtual application.

Under VS 2022 it works with IIS Express (except when registering a new user. There it returns to the wrong URL).

Do you have any idea why it does not work on the IIS server?

You can find the test program “BookStore” at: https://powershare.energieag.at/s/CHnNYKdBeNy7Ybo

Password: FKTwN)1bq@=_\3G

Screenshots are in the Screenshot folder.

Great, thank you! The solution works really well!

hi,

As we pay for the support of ABP.IO Commercial, where Blazorise is included, I expect ABP.IO to clarify the error with Blazorise.

Kind regards Karl

hi,

thanks for trying to find solutions, but I am not willing to reprogram all pages of my project because of a Blazorise error, as all "FieldDisplay.GetDisplay..." methods return an "IFluentDisplay". An If alone is not enough! It can be different on a smartphone than on a desktop or tablet and that's what the Display property is for!

As a licensee of ABP, I ask you to report the error to Blazorise so that they can correct it.

24 kayıttan 1 ile 10 arası gösteriliyor.
Made with ❤️ on ABP v8.2.0-preview Updated on Mart 25, 2024, 15:11