Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1251
  • Last Modified:

Create External Content Type in SharePoint Designer 2013 to DB2 server linked to SQL 2012

I'm attempting to connect SharePoint 2013 Enterprise to some backend data on our IBM iSeries.

I linked the iSeries DB2 database to the SQL 2012 instance successfully and I can query data just fine from a SQL query prompt.

When I attempt to add a connection in SP Designer 2013 to the SQL 2012 server I've tried a database local to the server which works fine when I impersonate the user.  However when I enter [LinkedServer].[Catalog].[Database] in the Database field I get a login error.

When I look at the event logs I see that it's trying to connect to the master.db which tells me it doesn't know what to do with the that particular name string.

From what I've read this is possible but every example of connecting to a linked server always ends up showing how to connect to a local db not the linked server's db.

Is it possible or am I going to have to end up purchasing some additional software to make this work?
0
apa-IT
Asked:
apa-IT
1 Solution
 
apa-ITAuthor Commented:
I found a solution to this which caused me to go another route.

The 'free' solution is to create a local database with the data you need from the linked server.  However this duplicates data, duplicates storage costs and overall isn't a great solution.

There are other ways to do this via code but I opted to go with Layer2's Business Data List Connector.

It just works and I can call data on the fly in a list or create a custom list from a table if needed.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now