The WebBrowser is working on IISExpress from Visual Studio, but it is not working on Windows ISS.
I run this code after creating the Thread SetApartmentState(ApartmentState.STA)
try
{
//BrowserValidate.FixBrowserVersion();
webBet = new WebBrowser();
webBet.DocumentCompleted += webBet_DocumentCompleted;
webBet.Navigate("https://www.site.com");
Application.Run();
}
catch (Exception)
{
}