iis-7

pyodbc connection to MSSQL 2005 server via IIS7

安稳与你 提交于 2020-12-23 12:12:04
问题 I have IIS7 installed and configured on my laptop and with a python cgi interface. I can run the python script from within Eclipse and get the results I am looking for from the database. But when I run the script from the webpage I get an authentication error. It seems that the connection string is not passing the credentials to the SQL server. Any thoughts? import pyodbc import cgi import cgitb; cgitb.enable() cnxn = pyodbc.connect(driver='{SQL Server}', server='SERVER\INSTANCE', Trusted

pyodbc connection to MSSQL 2005 server via IIS7

孤街浪徒 提交于 2020-12-23 11:41:30
问题 I have IIS7 installed and configured on my laptop and with a python cgi interface. I can run the python script from within Eclipse and get the results I am looking for from the database. But when I run the script from the webpage I get an authentication error. It seems that the connection string is not passing the credentials to the SQL server. Any thoughts? import pyodbc import cgi import cgitb; cgitb.enable() cnxn = pyodbc.connect(driver='{SQL Server}', server='SERVER\INSTANCE', Trusted

pyodbc connection to MSSQL 2005 server via IIS7

你说的曾经没有我的故事 提交于 2020-12-23 11:37:27
问题 I have IIS7 installed and configured on my laptop and with a python cgi interface. I can run the python script from within Eclipse and get the results I am looking for from the database. But when I run the script from the webpage I get an authentication error. It seems that the connection string is not passing the credentials to the SQL server. Any thoughts? import pyodbc import cgi import cgitb; cgitb.enable() cnxn = pyodbc.connect(driver='{SQL Server}', server='SERVER\INSTANCE', Trusted