Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 5th, 2004, 05:54 AM
x23 x23 is offline
Registered User
Join Date: Nov 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Microsoft Text Driver ???


<script language="vbs">
Dim Conn, rs
Set Conn = CreateObject("ADODB.Connection")
Conn.Open "Driver={Microsoft Text Driver (*.txt; *.csv)};" & _
"Dbq=;" & _
"Extensions=asc,csv,tab,txt;" & _
"Persist Security Info=False"
Dim sql
sql = "SELECT * from foobar.txt"
set rs = conn.execute(sql)
set rs =CreateObject("ADODB.recordset")
rs.Open "SELECT * from foobar.txt", conn
I have code like this I want to run.

Idea is for the CLIENT to connect to SERVER page
and begins download from foobar.txt into
a file locally.

My current test machine is Windows with SERV-U for ftp server
and Apache 1.3.29 for the webserver with PHP.

I get the following error: "[Microsoft][ODBC Text Driver] Internal internet failure"

Does this mean I need to actually install ADODB for this to work ?
Do I need to install Microsoft SQL server ?
Do I need to add ADODB support to PHP ? How cna I check if I have
support for it already if this is the case ?
Is all this possible from a Unix machine ?

I realize this is the "ASP" section but I wrote this here
as I hoped ASP people would have experience with this.

I heard that you need an 'anon' user to have access rights
to read the foobar.txt file. I know there has to be an anonymous FTP user - which exists. But what other 'anon' user is there meant to be, this is where I am confused.

Please help.

Thank you.

Similar Threads
Thread Thread Starter Forum Replies Last Post
ODBC Microsoft Access Driver Issue mat41 Classic ASP Professional 5 June 30th, 2008 10:37 AM
Microsoft Excel Driver Error cancer10 Classic ASP Databases 0 January 23rd, 2007 06:42 AM
Microsoft Text Driver Use ronhawker SQL Server ASP 15 December 20th, 2005 06:12 PM
Microsoft Text Driver and ADODB ? x23 MySQL 3 February 15th, 2005 05:27 PM
[Microsoft][ODBC Microsoft Access Driver] Syntax e chinedu Classic ASP Databases 3 November 18th, 2004 03:48 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.