Hello @Mike Sachais ,
Azure App Service doesn't inherently support Crystal Reports, as it is primarily designed for web applications, while Crystal Reports typically requires a more traditional environment with specific dependencies like Windows Server or IIS. To use Crystal Reports, deploy your application on a Virtual Machine, which gives you full control over the environment, allowing you to install Crystal Reports and its dependencies.
Hosting your web application on a Virtual Machine can operate similarly to a physical server, as long as you configure networking, IIS, and SQL Server correctly. Ensure you have the appropriate licenses and set up your domain settings to ensure seamless access.
Key Considerations for Virtual Machine Hosting:
Public IP Address: When you create an Azure VM, it will typically be assigned a public IP address. Ensure this IP is configured properly in your DNS settings for domain forwarding, similar to how you configure it in Azure App Service.
Virtual Network (VNet): If your VM needs to communicate securely with other Azure resources (e.g., additional VMs or services), you may want to configure a Virtual Network (VNet) to manage internal traffic. For basic web hosting, the default setup with a public IP address may suffice.
Firewall and Ports: Verify that the required ports for your web application (typically port 80 for HTTP and 443 for HTTPS) are open in the VM's Network Security Group (NSG) settings.
Web Server (IIS): You’ll need to install and configure Internet Information Services (IIS) on your VM if your application requires IIS to serve HTTP requests.
Installation: On a Windows Server-based VM, IIS can be installed through Server Manager or PowerShell. While IIS is included with Windows Server, you may need to configure it based on your specific application needs.
Public IP: Make sure the public IP address assigned to your Azure VM is static or reserved to prevent it from changing after a restart.
DNS Records: Once your domain points to the VM's public IP, users should be able to access your web application hosted on IIS, just as they would with an Azure App Service.
By following these guidelines, you can ensure smooth operation of your web application hosted on an Azure Virtual Machine.