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
 General SQL Server Forums
 New to SQL Server Programming
 linked server frustrations
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

WATERKID
Starting Member

6 Posts

Posted - 03/14/2007 :  18:17:55  Show Profile  Reply with Quote
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

Sweden
30213 Posts

Posted - 03/14/2007 :  18:33:49  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Permissions on the remote server?


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

WATERKID
Starting Member

6 Posts

Posted - 03/14/2007 :  19:53:02  Show Profile  Reply with Quote
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

USA
36845 Posts

Posted - 03/14/2007 :  20:12:14  Show Profile  Visit tkizer's Homepage  Reply with Quote
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 - 03/15/2007 :  14:31:10  Show Profile  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000