Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Can't connect to SQL Server via Java DLL


Message #1 by =?iso-8859-1?Q?Fl=E1vio_Rodrigues_Maciel?= <flaviorm@p...> on Mon, 16 Sep 2002 18:35:24 -0300
Hi,

I recently post a message to this list, but my message was sort of confusing
since I had just got the problem. Here is the problem:

My COM object, written in Java, connects to an SQLServer database using a
JDBC driver. The COM object is invoked from ASP application running on IIS.
My problem is that the DLL can't retrieve data from the database, because
the driver tries to write temporary files in the current directory that, in
this situation, is the winnt\system32 folder, where the dllhost.exe resides.
It simply isn't possible (and acceptable) to give write permission to this
directory.

I tried some other JDBC drivers, but these also presented the same problem
or weren't compatible with Microsoft's JVM version (java 1.1.8).

I need help, tips, whatever.

.
. Flávio Rodrigues Maciel
. +xx xxxx.5664
.
. Idea Tecnologia da Informação
. www.ideati.com.br
. +xx xxxx.4824
.
. Porto Alegre, RS
. Brazil
....


  Return to Index