Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 February 28th, 2007, 05:16 AM
4x4 4x4 is offline
Registered User
 
Join Date: Nov 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem installing application on user machine

Hi,

I have an application that fetches data from a .csv file. Following is the connection string that i have used

 Dim connString As String = String.Format("Provider=Microsoft.Jet.OLEDB.4.0;Da ta Source={0};Extended Properties=Text", Path.GetDirectoryName(fileName))

where fileName is the name of .csv file.

The exe works fine on my system or on any system that has Visual Studio .Net installed. On all other systems though I am able to install the exe but it fails to fetch data. This happens despite installing .Net framework 2.0 and MDAC on the user machine.

Could somebody help me with this.

Many thanks in advance.
 
Old February 28th, 2007, 06:50 AM
4x4 4x4 is offline
Registered User
 
Join Date: Nov 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The error message thrown on the client machine is "Syntax error in from clause".
But works fine on my Computer on any computer with VS.Net installed
 
Old March 2nd, 2007, 09:14 AM
4x4 4x4 is offline
Registered User
 
Join Date: Nov 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi everyone I have found the solution. Thanx for viewing my query.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing windows service in remote machine dotnetprogrammer VS.NET 2002/2003 1 July 13th, 2007 01:17 PM
User can connect on one machine but not another cdbackslash SQL Server 2000 0 August 21st, 2006 01:26 PM
installing an application over Network problem Matthew Access VBA 2 November 29th, 2005 03:29 AM
Problem Facing while installing application rajib14 Crystal Reports 0 March 7th, 2005 04:07 AM





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