Prerequisites:
Internet Information Services (IIS) Hosting installed and turned on.
ASP.Net Core Hosting Bundle (https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-aspnetcore-6.0.8-windows-hosting-bundle-installer )
Major Steps
Create ACMMobilePortal Database using the ACM_Mobile_Portal.sql file provided in the Install package.
In the ACMMobilePortal folder, edit the appsettings.jason file; ConnectionString "PortalDataBase" to the correct SQL server host name. The default is setup for Windows Authentication using the App pool account as: Server=localhost\\SQLEXPRESS;Database=ACMMobilePortal;Trusted_Connection=yes;Persist Security Info=False; See Configuration for details.
Add one or more entries to the Configuration Administrators table so that those users can have access to Administrator functions on the Portal.
Copy Portal Code to desired folder location
Option 1 (IIS Local Folder): C:\inetpub\wwwroot\MobilePortal
Option 2 (IIS Linked): C:\Program Files\AutoSol\Communication Manager\MobilePortal
Configure IIS or preferred Hosting option. See section below on IIS Setup steps.
Access site as a ConfigurationAdministrator role and verify License settings are correct and working.
Access site as a ConfigurationAdministrator role and configure Server settings to your organizational needs.
Verify ACM security (if used) is configured for your users accessing the Portal.
Configuring IIS to Host the Mobile Portal
Open IIS and right-click on Sites >> Add Web Site.
An “Add Website” pop up box will open. Here we need to furnish details in three fields
Site name: Put any name of your choice. Example "ACM Mobile Portal"
Physical Path: The path to the folder where you have published your application. This needs to be the root folder of the portal application with all of the DLLs, etc.
Host name: This is the name we put in the browser to access the application.
Click on OK to create the website.
Next step is to configure the “Application Pool” for the site. The application pool name will be the same as the “Site name” provided in the last step
Click to “Application Pools” from the left panel and double click on the default pool listed. It will open an “edit application pool” window. Select “No Managed Code” from the .NET CLR version drop-down.
Application Process Pool for App needs to run under an account that can access the DB and Execute .Net code.
As Required:
Grant Read And Execute, List folder contents and Read permission to the IIS_IUSRS group on the ACM Mobile Application folder so that it can access the Web.config file.
Configure the DNS host as needed.
Make Inbound Firewall rule if needed.
Set up Certificates for https as required by your organization.
0 Comments