I have a Console-Application to automate a webbrowser with selenium. On my local machine everything works fine, but executing the .exe throws an error on the server.
I created the program as Release in Visual Studio and copied the whole folder to the server. Starting the .exe throws a Null Reference Exception. Please watch the picture below.
The Program references to the program.cs, but i thought the release-folder is working for itself?!
I have already tried to comment out everything in the Main, because the exception throws there.
Maybe my usings could be a problem?
using OpenQA.Selenium;
using OpenQA.Selenium.IE;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium.Support.UI;
using System.Data.SqlClient;
using System.Data;
using AutoIt;
using System.Windows.Forms;
using OpenQA.Selenium.Interactions;
Do you know something about this Error?
The Real Error is the following, found by the comments below :)