Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 linked server frustrations

Author  Topic 

WATERKID
Starting Member

6 Posts

Posted - 2007-03-14 : 18:17:55
First of all I'm new to SQL Server... With that said:

I'm having problems using a Linked Server.

I can add one and see the views and tables but the fields are not accesable to view or use.

Any suggestions ?

Thank You in advance.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-03-14 : 18:33:49
Permissions on the remote server?


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

WATERKID
Starting Member

6 Posts

Posted - 2007-03-14 : 19:53:02
Thank You, I will try this. Our remote server is provided by our webhosting co and it looks like they may have limited my access.

If anyone else has other options to explore I'd be more than interested in hearing them.

Thank again
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-03-14 : 20:12:14
Have you tried running a query in Query Analyzer:

SELECT * FROM LinkedServerName.DatabaseName.ObjectOwner.ObjectName



Tara Kizer

http://weblogs.sqlteam.com/tarad/
Go to Top of Page

WATERKID
Starting Member

6 Posts

Posted - 2007-03-15 : 14:31:10
I finally got the tables to show and able to create a view with them.
I selected Other Source and filled out the data for Microsoft OLE DB Provider for SQL and it worked

NOW the problem is I'm unable to save the view (even though it executes within the Enterprise Manager Design View)
It states that there is an ODBC error....Operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction.

Now I really don't know where to go ?

(I'm sure this will get easier as I go, right ?)

Thanks
Go to Top of Page
   

- Advertisement -