dbTalk Databases Forums  

DTS Import Error when importing DBASE file

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS Import Error when importing DBASE file in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Shwetabh
 
Posts: n/a

Default DTS Import Error when importing DBASE file - 03-03-2006 , 02:39 AM






Hi,

I am using MS SQL SERVER 2000 and its Data Transformation Service(DTS)
to import my DBASE IV database to MS SQL server database. I can import
most of the files without any trouble, but with some files, I get the
following error
message:

Error Source: Microsoft JET Database Engine

Error Description: The Microsoft Jet database engine could not find the
object
'LowesRetailDB'. Make Sure the object exists and that you spell its
name and the
path name correctly.

Context: Error calling OpenRowset on the provider



Here LowesRetailDB is a DBASE IV file.
At first I thought the file name violated some rules about the table
name length but I
have imported some files having even longer names.

Does anyone have any idea what might be the problem?


Reply With Quote
  #2  
Old   
Raul
 
Posts: n/a

Default Re: DTS Import Error when importing DBASE file - 03-06-2006 , 02:29 PM






Hi Shwetabh

I believe this is an error due to the file name of your DBASE
being longer than 8 characters. Try renaming to something shorter
and re-import it.

It's strange how Microsoft still has these silly restrictions on certain
applications.

Regards,

Raul


"Shwetabh" <shwetabhgoel (AT) gmail (DOT) com> wrote

Quote:
Hi,

I am using MS SQL SERVER 2000 and its Data Transformation Service(DTS)
to import my DBASE IV database to MS SQL server database. I can import
most of the files without any trouble, but with some files, I get the
following error
message:

Error Source: Microsoft JET Database Engine

Error Description: The Microsoft Jet database engine could not find the
object
'LowesRetailDB'. Make Sure the object exists and that you spell its
name and the
path name correctly.

Context: Error calling OpenRowset on the provider



Here LowesRetailDB is a DBASE IV file.
At first I thought the file name violated some rules about the table
name length but I
have imported some files having even longer names.

Does anyone have any idea what might be the problem?




Reply With Quote
  #3  
Old   
Shwetabh
 
Posts: n/a

Default Re: DTS Import Error when importing DBASE file - 03-06-2006 , 10:45 PM



Hi Raul,

I renamed all my files to less than 8 characters and it worked.
But the surprising thing is that when I used a dbase file having name
of 18
characters, it worked perfectly fine and got imported without any
problem.

So, I think it has nothing to do with the length of file names.
Any other ideas where the problem might be?

Regards,
Shwetabh


Reply With Quote
  #4  
Old   
Raul
 
Posts: n/a

Default Re: DTS Import Error when importing DBASE file - 03-07-2006 , 03:03 PM



Hi Shwetabh,

Quote:
But the surprising thing is that when I used a dbase file having name
of 18
I cannot re-create this. I have never been able to import a dbase file
with a name of more than 8 characters in length, which leads me to believe
that this has something to do with file naming convention.
This dbase file with a long name you're talking about, what version is it?
How was it created?

As this is a Jet error you're getting, you could try looking at some
registry keys like:
SupportsLongNames under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\ISAM Formats\dBase IV
or Jet 3.5
By default these are set to OFF.

Regards,
Raul

"Shwetabh" <shwetabhgoel (AT) gmail (DOT) com> wrote

Quote:
Hi Raul,

I renamed all my files to less than 8 characters and it worked.
But the surprising thing is that when I used a dbase file having name
of 18
characters, it worked perfectly fine and got imported without any
problem.

So, I think it has nothing to do with the length of file names.
Any other ideas where the problem might be?

Regards,
Shwetabh




Reply With Quote
  #5  
Old   
Shwetabh
 
Posts: n/a

Default Re: DTS Import Error when importing DBASE file - 03-08-2006 , 04:54 AM



Hi,
I created this DBASE file from a labelling software called EasyLabel.
It creates the
files in DBASE IV format. The name of the file which despite having a
long name got
converted easily is bwfcover_semco-mmg.dbf. I had to use square
brackets [] to
import the records in a table with same name.

I checked the registry. As you said, the key was set to OFF. I set it
to ON ie 1 but
it didnt help.
Any other ideas?

Regards,
Shwetabh


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.