Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 2008 > Visual Basic 2008 Essentials
Visual Basic 2008 Essentials If you are new to Visual Basic programming with version 2008, this is the place to start your questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2008 Essentials 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 June 17th, 2015, 11:58 AM
Registered User
Join Date: Aug 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error 3709 moving script to 2008 server

I have a script that has run fine on Windows server 2003, but when I moved it to 2008 I get error 3709 when trying to connect to the file. Any ideas on what changes between 2003 and 2008?

Thanks Chuck

Const adOpenStatic = 3
Const adLockOptimistic = 3
Const adCmdText = &H0001
'Open Loan input file
Set objLoanConnection = CreateObject("ADODB.Connection")
Set rsLoanFile = CreateObject("ADODB.Recordset")
rsLoanFile.Index = LoanNUM
On Error Resume Next
objLoanConnection.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & strInput_file_path & ";" & _
"Extended Properties=""text;HDR=YES;FMT=Delimited"""

rsLoanFile.Open "SELECT * FROM Loan.txt", _
objLoanConnection, adOpenStatic, adLockOptimistic, adCmdText

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when running a report in Crystal Reports Server 2008 Vilariño Crystal Reports 0 March 3rd, 2009 02:11 PM
Article: Script Task (.NET) in SQL Server 2008 Integration Services (SSIS) jminatel BOOK: Professional Microsoft SQL Server 2008 Integration Services ISBN: 978-0-470-24795-2 0 February 4th, 2009 12:52 AM
Error after moving to new SQL server jackchua BOOK: ASP.NET Website Programming Problem-Design-Solution 1 May 29th, 2005 07:47 PM

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