Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 2008 > Visual Basic 2008 Essentials
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 17th, 2015, 11:58 AM
Registered User
Points: 27, Level: 1
Points: 27, Level: 1 Points: 27, Level: 1 Points: 27, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2008
Location: , , .
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 01: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 3rd, 2009 11:52 PM
Error after moving to new SQL server jackchua BOOK: ASP.NET Website Programming Problem-Design-Solution 1 May 29th, 2005 07:47 PM



All times are GMT -4. The time now is 10:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.