Weird Database/Web Problem

Andy Smith andy at ictibroker.com
Mon May 22 19:48:38 EDT 2000


You haven't specified how you're kicking the script off, but one thing that
might cause it is if your ODBC connection is a 'user' connection, and the
webserver isn't running as you. If this is the case then delete the 'user'
connection and create an identical Machine or system connection and
everything should be hunky-dory.

Cheers,

A.

Shengquan Liang <sliang at oregon-lnx.cc.gatech.edu> wrote in message
news:8gbkfa$4c3$1 at solaria.cc.gatech.edu...
> under Windows 2000
>
> I wrote a python script which runs fine
> in my local directory.
>
>  when i tried to invoke it in a
>  html file by
>
> <FORM METHOD="POST" ACTION="scripts/sample1.py">
>
>  it generates an error saying
>
> dbc = odbc.odbc(     # open a database connection
> dbi.operation-error: [Microsoft][ODBC Driver Manager] Data source name not
found and no default driver specified in LOGIN
>
>
>
>
>
>
>
>
>
>
>
>
>
> how comes that happened?
>
>
>
> --
> Shengquan Liang
> ________________________________________
> gt2558b at prism.gatech.edu
> 332558 GA TECH STATION
> Atlanta,GA 30332-1450





More information about the Python-list mailing list