Windows 7 Task Scheduler - not working when in "Run whether user logged in or not" mode - windows-task-scheduler

I am trying to use a Windows Task Scheduler task. This is working when I have the following settings:
But, when I change it to the following,
Then nothing happens. I tried to debug this issue, but I could not find any way to find why this issue happened.

Related

Task Scheduler Last Run Result (0x8000808C)

What is the last run (0x8000808c) code mean in the windows task scheduler?
I checked all the references here but this code doesn't exist.
I have no idea if the task was successful or not. The event history shows it was successfully executed but the data related to it doesn't reflect to it.
This code (0x8000808C) is because the program or script that the task calls did not run correctly, the suggestion not only for this error code but for all others is to use the Event Viewer.
Open the Event Viewer, in my case the task ran an application so I opened Event Viewer, expanded Windows Logs -> Application, searched for the application name and there was the error, in my case the problem was with the ASP.NET version Core Runtime.

Mouse not clicking the intended image using sikuli library for robot framework on virtual machine (azure)

i am currently running robot tests using sikuli library(for a desktop application) on a virtual machine in azure.
I have problems with mouse not clicking intended image. and i get the error below.
[error] RobotDesktop: checkMousePosition: should be L(209,150)#S(0)[0,0 2049x1152]
but after move is `L(210,150)#S(0)[0,0 2049x1152]`
Possible cause in case you did not touch the mouse while script was running:
Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.
[log] CLICK on L(209,150)#S(0)[0,0 2049x1152] (562 msec)
Could someone help me how to solve this issue. i tried running the script as an admin and also checked resolution but still doesnt work.
Any help would be appreciated. thanks.
That message is thrown usually because lack of privileges. If you tried running the program vía command line, try to create a new user with Administrative privileges. Later, execute the program with Shift + Left Click --> Run as ... and enter the new credentials. That should work.

First ASP.NET webpage launches without debugging, doesn't launch with debugging

Did anyone encounter an error with ASP.NET debugging? I've made a really simple, empty MVC page, I've tried returning /Home/Index.cshtml and a string, and each time I get a windows jingle and the browser can't find the server. It doesn't happen when I run it without debugging though, then the website runs just fine.
I've also tried the default MVC template, with Bootstrap etc, and it's the same - runs without debugging, doesn't run with debugging.
It's probably important: I'm running Visual Studio 2017 on up-to-date Windows 10. I've reinstalled the system several weeks ago, really wouldn't want to do that again :/
Generally we could debug an app with the normal user, but sometimes we need to use the admin, for example, as far as I know, if we want to use the attach to process tool for remote debugging, we often run the VS as the admin or others.
This document share us the tasks we need administrator permissions to complete:
https://msdn.microsoft.com/en-us/library/jj662724.aspx?f=255&MSPPError=-2147217396
If possible, you could refer to it especially "Debugging" area in above link.
Hope it could help you:)

Lock and Edit Button is Weblogic 12C admin console is not responding ,

Lock and Edit Button is Weblogic 12C admin console is not responding , when I click it it just keeps loading and nothing happens , I have tried Different Browsers with different cache settings nothing works. I want to make changes to the console . Is there any resolution?
This is a strange issue I could not find answers for this anywhere
Take a thread dump at the AdminServer JVM at the time it "hangs". To see what hangs exactly. If you are running inside an virtual Linux VM adding Java Option -Djava.security.egd=file:/dev/./urandom might be worth to try.

c# windows app OK in debug mode, faulty in release mode

I've written a c# windows app, that performs some DB intensive operations. (MySQL connector v6).
When running the project in Debug mode, everything works fine. However, when I run the prject in release mode, it sometimes quits operation midway - with no error message, nothing in the event logs etc.
What would be the best way to debug release mode - when everything works in debug mode?
Thanks for any help,
Bob
You can create a log file and have the application write lines to it with information of your choice, similarly to how the console may be used for debug purposes in a windows form application. You can write values of certain variables to this file, or even just write distinct phrases in select places of the code that will help you detect where the program is in execution when it fails.
Bobby is correct in asking about Application Event Log. If it is bombing on a .NET error, it will likely be logged.
If that doesn't give you anything, wrap the entire app in a try/catch block. On your exception handling, log the error (application log, file, etc...). Make sure when you log it to capture the call stack.
I've got exactly the same problem - application running in debug mode and fail in release. Try the following:
Wrap everything in Program.cs in try{}..catch{} block and it will show a reason
I don't know why but my application failed on Program.SetCompatibleTextRenderingDefault() function with message that it should be called before any instances on IWin32Window or something like that
It is very strange errors for me cuz i didn't have any code before this function. But you can try - maybe it will show something useful for you

Resources