foxpro odbc driver in windows server 2008

  • hello all.

    I work with sql server 2008 and windows server 2008.I configure target in odbc properties to %SystemRoot%\SysWOW64\odbcad32.exe and add microsoft visual foxpro driver in UserDSN and select free table directory and select c:\temp for this driver.now run this query:

    insert into openrowset ('MSDASQL','Driver={Microsoft Visual FoxPro Driver}; SourceDB=C:\Temp;SourceType=DBF','select * from dskwor00')

    select * from test

    dskwor00 is located to c:\temp.this get error:

    OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".

    Msg 7303, Level 16, State 1, Line 2

    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".

    What else should I do that does not make this error?pleas help me.

  • elham_azizi_62 (11/2/2011)


    hello all.

    I work with sql server 2008 and windows server 2008.I configure target in odbc properties to %SystemRoot%\SysWOW64\odbcad32.exe and add microsoft visual foxpro driver in UserDSN and select free table directory and select c:\temp for this driver.now run this query:

    insert into openrowset ('MSDASQL','Driver={Microsoft Visual FoxPro Driver}; SourceDB=C:\Temp;SourceType=DBF','select * from dskwor00')

    select * from test

    dskwor00 is located to c:\temp.this get error:

    OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".

    Msg 7303, Level 16, State 1, Line 2

    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".

    What else should I do that does not make this error?pleas help me.

    This will help.

    “Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

    For fast, accurate and documented assistance in answering your questions, please read this article.
    Understanding and using APPLY, (I) and (II) Paul White
    Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply