Gil
Thu Jul 20 02:46:02 CDT 2006
"Matt Noonan" wrote:
> Gil wrote:
> > I have installed the instrumentation services on the client machine,
> > but still see the same problem. (It has stopped an instrumentation
> > error which was appearing in the event log, thanks)
>
> Good, I guess we can call that progress. :)
>
> >
> > I have manged to replicate the issue on an internal machine now which
> > does make life easier on the debugging front. Basically I have a
> > clean XP machine, with the Oracle 9i client installed, TNS setup to
> > the database, tested using tnsping. The installed application, with
> > the 3 enterprise library dll's listed above installed, and this is
> > also showing the error.
>
> I seem to recall having to set account access permissions on one of the
> Oracle directories, but that was for a web application (the ASPNET account).
> Can you give me more information on the error? What does it say, exactly?
Matt,
I'm writing the errors out to the event log, I have listed them in the order
they appear, the second two are from within my code, at the same point, the
first is is the exception message the second is the stack trace, they are as
follows
Event Type: Warning
Event Source: Enterprise Library Data Service
Event Category: None
Event ID: 10
Date: 18/07/2006
Time: 13:09:40
User: N/A
Computer: QSI-PROG-VC8
Description:
Data connection failed to open: server=qfda.qsiuk.localdomain;
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Event Type: Error
Event Source: QSI CSVReader
Event Category: None
Event ID: 1002
Date: 18/07/2006
Time: 13:09:40
User: N/A
Computer: QSI-PROG-VC8
Description:
ORA-12154: TNS:could not resolve service name
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Event Type: Error
Event Source: QSI CSVReader
Event Category: None
Event ID: 1002
Date: 18/07/2006
Time: 13:09:40
User: N/A
Computer: QSI-PROG-VC8
Description:
at System.Data.OracleClient.DBObjectPool.GetObject(Object owningObject,
Boolean& isInTransaction)
at
System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String
encryptedConnectionString, OracleConnectionString options, OracleConnection
owningObject, Boolean& isInTransaction)
at
System.Data.OracleClient.OracleConnection.OpenInternal(OracleConnectionString
parsedConnectionString, Object transact)
at System.Data.OracleClient.OracleConnection.Open()
at Microsoft.Practices.EnterpriseLibrary.Data.Database.OpenConnection()
at
Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteScalar(DBCommandWrapper command)
at
Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteScalar(String
storedProcedureName, Object[] parameterValues)
at
Qsiuk.com.DataAccessLayer.SampleGeneration.UpdateQuestFoodsExternalResult(String sampleId, String methodName, String result)
at
Qsiuk.com.ProcessData.ProcessQuestFoods.ProcessExternalLabResults(DataTable
externalLabResults)
at
QSICSVReaderService.QSICSVReaderService.externalLabResultWatcher_Created(Object source, FileSystemEventArgs e)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
thanks for your continued help
Gil