Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

New Post: OutOfMemoryException when creating a TaskService with wrong password

$
0
0
Well giving "server = null" has solved the problem, but not because it was empty. I have always provided a server name even if I am working with my local computer. Apparently I had to give "null" if the "server == computer_name". Maybe you should fix this in your code in this way:

if (server.equals(Environment.MachineName)){
server = null;
}

I must admit that I find the Execption I got because of this issue a weird one :/


Thanks anyway for your help! :)

Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>