|
Does the user your using have access to the table etc.i. I
On Wed, Mar 2, 2011 at 3:04 PM, <Dean.Eshleman@xxxxxxxxxxxx> wrote:
Hi,
I'm trying to setup a linked server in SQL Server to access my System
thecreated the linked server and the test connection option is successful.
The error occurs when I try to expand the "Tables" folder underneath
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476linked server. The error I receive is:
Failed to retrieve data for this request.
(Microsoft.SqlServer.Management.Sdk.Sfc)
------------------------------
For help, click:
Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItemWithQuery(IList`1
------------------------------
Program Location:
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object
connectionInfo, Request request)
at
Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItem(IList`1nodes, INodeInformation source, INavigableItem sourceItem, String
urnQuery, Boolean registerBuilder, Boolean registerBuiltItems)
at
IFilterProvidernodes, INodeInformation source, INavigableItem sourceItem,
Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.Build(IList`1filter)
at
IFilterProvidernodes, INodeInformation source, INavigableItem sourceItem,
Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.GetChildren(IGetChildrenRequestfilter)
at
Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandlerequest)
at
batch.quitEvent)
===================================
An exception occurred while executing a Transact-SQL statement or
Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteReader(String(Microsoft.SqlServer.ConnectionInfo)
------------------------------
Program Location:
at
Microsoft.SqlServer.Management.Smo.DataProvider.SetConnectionAndQuery(ExecuteSqlsqlCommand)
at Microsoft.SqlServer.Management.Smo.ExecuteSql.GetDataReader(String
query)
at
Microsoft.SqlServer.Management.Smo.ExecuteSql.GetDataProvider(StringCollectionexecSql, String query)
at
Microsoft.SqlServer.Management.Smo.SqlObjectBase.FillData(ResultTypequery, Object con, StatementBuilder sb, RetriveMode rm)
at
StatementBuilderresultType, StringCollection sql, Object connectionInfo,
Microsoft.SqlServer.Management.Smo.SqlObjectBase.FillDataWithUseFailure(SqlEnumResultsb)
at
Microsoft.SqlServer.Management.Smo.SqlObjectBase.GetData(EnumResultsqlresult, ResultType resultType)
at
Microsoft.SqlServer.Management.Smo.SqlObjectBase.BuildResult(EnumResult
result)
at
****************************************************************************************************erParent)
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request
req, Object ci)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object
connectionInfo, Request request)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object
connectionInfo, Request request)
===================================
The OLE DB provider "SQL Server" for linked server "(null)" reported an
error. The provider did not give any information about the error.
Cannot fetch a row from OLE DB provider "SQL Server" for linked server
"(null)". (.Net SqlClient Data Provider)
******************************End of error message
not
The other thing I noticed is that it isn't picking up the Relational
Database Directory Entry as the "Catalog" name. It shows "default".
MyLinkedServer
Catalogs
System catalogs
default <--- I would expect this to be the RDDE entry
Tables
We are using the IBM DB2 UDB for iSeries IBMDA400 OLE DB provider. The
version of iSeries Access for Windows is V6R1 and SQL Server 2008.
Dean Eshleman,
Everence Financial
______________________________________________________________________
Please note my e-mail address has changed
Confidentiality Notice: This information is intended only for the
individual or entity named. If you are not the intended recipient, do
error,use or disclose this information. If you received this e-mail in
so weplease delete or otherwise destroy it and contact us at (800) 348-7468
you.can take steps to avoid such transmission errors in the future. Thank
list--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.