New Post: TaskSchedulerWizard crashes w. NullReferenceException
Thanks, looking forward to the next release. /M
View ArticleNew Post: Checking "Run with highest privileges" option raises access denied...
Is UAC turned on and are you running the executable "as Administrator"?
View ArticleNew Post: Checking "Run with highest privileges" option raises access denied...
David -- you're the man!!! Yes UAC is turned on, and running our executable "as Administrator" did the trick!Thank you so much for your help! I really appreciate it.Audi :-)
View ArticleNew Post: Querying remote servers with various OS
HI, I thought that the library could detect the version of the target server but it rather checks the machine that's running the program with Library. Imagine that from a Win7 PC I want to query a...
View ArticleNew Post: IIS integration?
Hello I'm trying to integrate it in a web application but I get a com exception. Is it possible to use it in a web application in IIS? I tried the example on the home page and the code throws an...
View ArticleNew Post: Querying remote servers with various OS
There are a number of methods to determine the version of a remote OS. The library version on them is easy to determine: If Windows 2003 or earlier, it will only support V1.
View ArticleNew Post: IIS integration?
Please search for discussions around IIS and ASP.NET and the permissions required to run in that environment.
View ArticleNew Post: IIS integration?
I have already searched the forum and I didn't find anything useful:Error Scheduling Task on 2008 R2: "The process must have appropriate permissions to connect to the TaskService"? Where in MSDN, i...
View ArticleNew Post: IIS integration?
I have also tried to add IUSER to the Administrators but it didn't work.
View ArticleNew Post: IIS integration?
Error 0x80041318 indicates that something in the definition violates either the permissions of what can be registered using the current credentials or violates something that can be registered under...
View ArticleNew Post: IIS integration?
Yes. In fact, I would recommend connecting to the TaskService using the LocalService account and then registering the task using the "LocalService" user, no password, and TaskLogonType.ServiceAccount....
View ArticleNew Post: IIS integration?
Ok so it is working, I post it there in case that somebody has the same problemusing (TaskService ts = new TaskService()) { // Create a new task definition and assign properties TaskDefinition td =...
View ArticleNew Post: IIS integration?
Ah, now it works in IIS on Windows 7 but not on Windows Server 2008, it throws the following exception: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) If I switch the...
View ArticleNew Post: IIS integration?
I would think you have an account privilege issue and that those privileges for the LocalService account are different across the two machines. You should check out the article at...
View ArticleNew Post: How to enable a task in task scheduler using C#?
HI all , I am facing a problem, I have a process which is running in task scheduler for some reasons this task STATUS is getting disabled often, so I had to write a program to check this task is...
View ArticleNew Post: How to enable a task in task scheduler using C#?
You are almost there:using (TaskService ts = new TaskService()) { Task t = ts.GetTask(taskName); if (t != null) { if (!t.Enabled) { t.Enabled = true; t.RegisterChanges(); } } }
View ArticleNew Post: How to enable a task in task scheduler using C#?
dahall wrote: You are almost there:using (TaskService ts = new TaskService()) { Task t = ts.GetTask(taskName); if (t != null) { if (!t.Enabled) { t.Enabled = true; t.RegisterChanges(); } } } AMAZING...
View ArticleNew Post: I want to create a schedule that will run every 1 hour in a day.
Hi, I want to create a schedule that will run every 1 hour in a day, but I am not able to figure out how to do that. Thanks, -Prashant
View ArticleNew Post: I want to create a schedule that will run every 1 hour in a day.
Assuming the task begins triggering immediately, runs indefinitely and executes a program:new TaskService().AddTask(taskName, new DailyTrigger { Repetition.Duration = TimeSpan.FromHours(23),...
View ArticleNew Post: I want to create a schedule that will run every 1 hour in a day.
I m getting error "Invalid initializer member declarator" on these source code lines Repetition.Duration = TimeSpan.FromHours(23), Repetition.Interval = TimeSpan.FromHours(1)
View Article