SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Old Forums
 CLOSED - General SQL Server
 probelms using excel as linked server
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

senilssonli
Starting Member

7 Posts

Posted - 09/21/2005 :  02:44:53  Show Profile
I get an error when I
-----------------------------------------
EXEC sp_dropserver 'ExcelSource'

EXEC sp_addlinkedserver 'ExcelSource',
'Jet 4.0',
'Microsoft.Jet.OLEDB.4.0',
'C:\Local Data\Data\Geography\GSMORGOPERLIST fixad.xls',
NULL,
'Excel 5.0'

select *
from ExcelSource...[Blad1$] xls
--------------------------------------------
It works fine on one PC but not on the other. Can anyone give me a hint. (the excel file is not open in other application, it is a proper xls-file without filers turned on.
brgds/Lasse

MuadDBA
Aged Yak Warrior

USA
628 Posts

Posted - 09/21/2005 :  15:50:43  Show Profile
do both PCs have access to the excel document?

are both PCs using the same windows account to run SQL server?
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000