I have a small Console application where I create a .dat file as a report on a daily basis pointing a task scheduler to the executable.
It runs fine on my machine(and creates the file) but on the client;s the server something seems to be blocking the creating of the file....no errors occur, and I was told to use specified service account details in order for the exe to run successfully (userName, password).
How would I add the service Account details to my code or does it happen in the App config file?
static void Start()
{
ConvertDataToText();
}
static void ConvertDataToText()
{
//my code
}