8
Answers

app not getting called

mickey bowles

mickey bowles

20y
1.7k
1
Was not sure where to post this. Anyway, I have a c# console app that accepts 3 params. It then does a file copy, calls a stored proc, then updates a log file. We are calling this app 300 times in succession(sometimes as fast as once a second). I am getting intermittant failures. By this I mean it just doesnt fire at all. Our goal is for the sql agent/job to build a pdf form data, then call this exe, which moves the file and publishes it to a portal. Any thoughts on a better way to do this or what may be happening?
Answers (8)
0
bilnaad

bilnaad

NA 686 0 20y
I can't find anything either. Even the VS tool C++ Error Lookup can't find the corresponding message.
0
mickey bowles

mickey bowles

NA 12 0 20y
ok, it seems that I can substitute notepad.exe for my app when call by rcmd thru a bat file and never fail. But my app fails intermittanty, never even getting to the first line of code and returns an error code: -10737418919 Any idea what that means? Google returned nothing for it.
0
mickey bowles

mickey bowles

NA 12 0 20y
You know that crossed my mind, but not sure how to test for it since the app never makes it to line 1(or even gets called).
0
Mykonine

Mykonine

NA 520 0 20y
Could it have anything to do with connection problems? If anything, the bottleneck is in querying the data. Maybe a time-out exception? etc.
0
bilnaad

bilnaad

NA 686 0 20y
I can't think of any other issue. Sorry :(
0
mickey bowles

mickey bowles

NA 12 0 20y
Nope, pulled all of the logging out and still randomly fails. All 350 files are unique. very strange.
0
mickey bowles

mickey bowles

NA 12 0 20y
You know that could be possible. I do write to a log file from the app during the process. I will turn off loggin and see if we can get it to fail... thanks
0
bilnaad

bilnaad

NA 686 0 20y
When you execute the app for 300 times. Could it be that 2 instances are running and trying to access a 'already in use' file or log?