Skip to main content

Posts

Showing posts with the label Blazor Server

ASP.NET Hosting Common Errors

  Troubleshooting common hosting issues In this section, we will look into some of the common problems that you can face while hosting a Blazor application. If you are unable to open the website and get a DNS not found error Check if the hostname is configured correctly in the host file. Make sure that your machine is not connected to any VPN server. Also, if you are using any Web proxy then disable it. HTTP Error 500.19 – Internal Server Error - The requested page cannot be accessed because the related configuration data for the page is invalid. This error message is clear. The publish folder is inaccessible because of insufficient permissions. Grant Read permission to the IIS_IUSRS group on the publish folder so that it can access Web.config file. If the website is loading but data is not getting populated and you get a 500 Internal server error Make sure that your connection string is in the correct format. The user id that you have specified in your connection string should hav...

Errors in Blazor Server App

Brief Contains all the errors occurred for me while working with .NET Core Web Application. The IDP.Generic Virus when running blazor server app. This is false positive while blazor server app so please put in to the exception list. This will be detected by the Anti-Virus running in Windows machine. The 'inherits` directive must appear at the start of the line. This happened with me because I copy pasted whole code of page or components in razor from the internet. Solution  - Simply manually write the inherits at the top of page and it will work.