Re: Disk or network error
- From: "John Bell" <jbellnewsposts@xxxxxxxxxxx>
- Date: Sun, 9 Apr 2006 11:59:22 +0100
Hi
You don't say of you can open the DBASE file from DBASE on the remote
machine? Are you using a mapped drive or UNC name? Have you checked that the
permissions are correct for the SQL Server service account?
John
"Shwetabh" <shwetabhgoel@xxxxxxxxx> wrote in message
news:1144529567.672831.5960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi
I have written an application in VB through which I can convert DBASE
IV database to MS SQL Server database. Also, the application provides
database manipulation features to the user like addition, deletion etc
of records.
I am using OPENROWSET for conversion purposes. Also the server is MS
SQL Server 2000.
Now this application workks fine when I have installed the instance of
MS SQL Server on my local machine. It converts the database and stores
it on the server perfectly and there are no isues.
However, when I try to use the application to connect with MS SQL
Server on another machine, there are a few problems. I connect to the
other MS SQL Server on other machine through named pipes. My
application successfully accesses the database and allows user to
modify it according to his needs.
For this I created the user account of that user on the machine.
But when I try to convert the database, I get the following error
message:
[Microsoft ODBC Dbase driver]Disk or Network Error
Here is the line in VB code which is causing all the trouble:
con.Execute "select * into " & UCase(X) & " from
OPENROWSET('MSDASQL','Driver={Microsoft dBASE Driver
(*.dbf)};DEFAULTDIR=" & BaseData & ";SourceType=DBF','select * from " &
UCase(X) & "')"
Here, X is the dbf file name, BaseData is the path name of file.
I gave the user full rights but i am still getting this error message.
Now, what am I doing wrong here?
Regards,
Shwetabh
.
- Follow-Ups:
- Re: Disk or network error
- From: Shwetabh
- Re: Disk or network error
- References:
- Disk or network error
- From: Shwetabh
- Disk or network error
- Prev by Date: Re: Re-display result set without re-running query in Query Analyzer?
- Next by Date: Re: Re-display result set without re-running query in Query Analyzer?
- Previous by thread: Disk or network error
- Next by thread: Re: Disk or network error
- Index(es):
Relevant Pages
|