Solved

Error when trying to use a text file with two columns as a data source

Posted on 2011-02-28
10
143 Views
Last Modified: 2013-01-25
Hi!

I'm getting errors when I try to use a text file of 2.99 GB as data source. I get an error message telling me the file contains no data, even though I can open the file in other applications.

Looking forward to any hints on what may be causing this.
0
Comment
Question by:EvertJor
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 34995217
Try splitting that big file in some smaller chunks and import/attach one by one.

/gustav
0
 
LVL 6

Expert Comment

by:JVWC
ID: 34995678
Some discussion here may assist:
http://www.experts-exchange.com/Databases/MS_Access/Q_21306710.html

Are you trying to import the data, or as your question suggests, using this as a data source?
As Cactus data suggests, splitting this into smaller chunks may reveal your problem.

Cheers
JC
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 34999934
Yes, please clearly describe specifically what you me when you say: " I try to use a text file..."
"*Use* a file"?
Use a file how? in what application, ...etc
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:EvertJor
ID: 35006032
Hi boag2000. The information you request regarding details of which application I use is listed beneath the question, as well as above. Data source can mean numerous things. In this case it is simply a plain text file with two columns containing data.
0
 

Author Comment

by:EvertJor
ID: 38750180
Hi, sorry for the delay.

It is a 2.99 GB text file containing data. When I'm trying to use the "Connect to datasource" I get the error. I'm not trying to import the data into access since there is a maximum limitation on the number of records in Access.

I will try it in the 64 bit version of Access instead to see if that works.
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 38750212
I believe my original comment is still valid.

Copy a small portion of the file - some hundred KB - and import/attach that.
If it works, your issue is a too large file for Access.
If it doesn't, you will have to adjust the file somehow, no matter the size/length of it, until success. At that point, try with the full file (modified). If that fails, you are back to my original comment.

/gustav
0
 
LVL 6

Expert Comment

by:JVWC
ID: 38750399
I tend to agree with CD, file size is most likely the issue.
Is your data file csv or txt, or some other format?
Can you also elaborate on "Two columns of data"

Cheers
JC
0
 

Accepted Solution

by:
EvertJor earned 0 total points
ID: 38798455
Hi Cactus_data.

The number of records is to large for MS Access. The number of maximum records is approx. 255 000 (or a bit less). If you use blobs to store data this will make it possible to store more than 2.99 GB. My problem is to many records. That is why it's not possible to import it in chunks either.

Connecting to an external database with higher capacity will often solve it. Did you get that?

The problem now is that that doesn't work either.
0
 
LVL 49

Expert Comment

by:Gustav Brock
ID: 38798508
> The number of records is to large for MS Access.
> The number of maximum records is approx. 255 000 ..

No. Access can easily handle that count of records. Problem is the total file size which - as you have seen - Access can't grasp.

You still haven't told if the simplest solution - to split the file into smaller chunks - works for you.
Of course, importing/attaching the file to, say, SQL Server may present a work-around but that was not your original question.

/gustav
0
 

Author Closing Comment

by:EvertJor
ID: 38817998
Experience.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question