Hi, <br><br>I'm trying to connect to database from ASP. I reduced my source to the following snippet:<br><br><%@ LANGUAGE = Python%><br><HTML><br><head></head><br><body><br><br><%<br><br>
import sys<br><br>for s in sys.path:<br> Response.Write(s)<br> Response.Write("<br>")<br><br>import cx_Oracle<br><br>%><br></body><br></html><br><br>After invoking the asp page I get the following result:<br>
<br>
C:\ActivePython25\lib\site-packages\setuptools-0.6c8-py2.5.egg<br>C:\ActivePython25\lib\site-packages\cx_oracle-4.3.3-py2.5-win32.egg<br>C:\ActivePython25\lib\site-packages\owslib-0.3-py2.5.egg<br>C:\ActivePython25\lib\site-packages\tilecache-2.02-py2.5.egg<br>
C:\ActivePython25\lib\site-packages\paste-1.6-py2.5.egg<br>C:\ActivePython25\lib\site-packages\pysqlite-2.4.1-py2.5-win32.egg<br>C:\ActivePython25\lib\site-packages\pil-1.1.6-py2.5-win32.egg<br>C:\WINDOWS\system32\python25.zip<br>
C:\ActivePython25\Lib<br>C:\ActivePython25\DLLs<br>C:\ActivePython25\Lib\lib-tk<br>c:\windows\system32\inetsrv<br>C:\ActivePython25<br>C:\ActivePython25\lib\site-packages<br>C:\ActivePython25\lib\site-packages\win32<br>C:\ActivePython25\lib\site-packages\win32\lib<br>
C:\ActivePython25\lib\site-packages\Pythonwin<br> <font face="Arial" size="2">
</font><p><font face="Arial" size="2">Python ActiveX Scripting Engine</font> <font face="Arial" size="2">error '80020009'</font>
</p><p>
<font face="Arial" size="2">Traceback (most recent call last):
File "<Script Block >", line 7, in <module>
import cx_Oracle
ImportError: No module named cx_Oracle
</font>
</p><p>
<font face="Arial" size="2">/pyasp/a.asp</font><font face="Arial" size="2">, line 15</font>
</p><pre>import cx_Oracle</pre><br>-------------------------<br><br>Can anybody advice please how to fix this?<br><br>Tibor<br>