Need to Resolve the Error In Window Scheduler
-
Dear friends, I have a window scheduler which pionts an exe. This schduler failes while starting automatically where as if i run maunally, it is executed successfully. Front End: DotNet 2.0 Back end: Oracle 9i The error message which i get is OCIEnvCreate failed with return code -1 I'm cluless. Thanks & regards SWARAN
-
Dear friends, I have a window scheduler which pionts an exe. This schduler failes while starting automatically where as if i run maunally, it is executed successfully. Front End: DotNet 2.0 Back end: Oracle 9i The error message which i get is OCIEnvCreate failed with return code -1 I'm cluless. Thanks & regards SWARAN
Swaranjeet Singh wrote:
OCIEnvCreate failed with return code -1
I'm cluless.The first thing to do is to find the documentation for this function and see if you can determine what a status of -1 indicates. If it follows the usual patterns then there should be some more data somewhere that will give you a more specific reason.
I must get a clever new signature for 2011.
-
Swaranjeet Singh wrote:
OCIEnvCreate failed with return code -1
I'm cluless.The first thing to do is to find the documentation for this function and see if you can determine what a status of -1 indicates. If it follows the usual patterns then there should be some more data somewhere that will give you a more specific reason.
I must get a clever new signature for 2011.
thanks for your response. The error which i got is OCIEnvCreate failed with return code -1 but error message text was not available. This error captured at the time of establishing connection to the database.
-
Dear friends, I have a window scheduler which pionts an exe. This schduler failes while starting automatically where as if i run maunally, it is executed successfully. Front End: DotNet 2.0 Back end: Oracle 9i The error message which i get is OCIEnvCreate failed with return code -1 I'm cluless. Thanks & regards SWARAN
Did you ask Google? Here[^] is the first hit, I suggest you read it. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
Dear friends, I have a window scheduler which pionts an exe. This schduler failes while starting automatically where as if i run maunally, it is executed successfully. Front End: DotNet 2.0 Back end: Oracle 9i The error message which i get is OCIEnvCreate failed with return code -1 I'm cluless. Thanks & regards SWARAN
-
Dear friends, I have a window scheduler which pionts an exe. This schduler failes while starting automatically where as if i run maunally, it is executed successfully. Front End: DotNet 2.0 Back end: Oracle 9i The error message which i get is OCIEnvCreate failed with return code -1 I'm cluless. Thanks & regards SWARAN
It's probably a permissions issue as your windows service will be running under its own identity as opposed to your user identity. To resolve this, take a look at these threads 1[^] and 2[^].
I'm not a stalker, I just know things. Oh by the way, you're out of milk.
Forgive your enemies - it messes with their heads
-
It's probably a permissions issue as your windows service will be running under its own identity as opposed to your user identity. To resolve this, take a look at these threads 1[^] and 2[^].
I'm not a stalker, I just know things. Oh by the way, you're out of milk.
Forgive your enemies - it messes with their heads
I'm also facing the same issue.I tried the ways you suggested. I'm not getting this error regularly.its fluctuating.