Logo Background RSS

Report on data from your Database using the XSLT Data View web part

  • Retrieve data from your database directly into SharePoint using the XSLT Data View web part in SharePoint Designer. It is shown how to do just that. In addition, you will learn how you can create a parent-child relationship between data from the database and data in a SharePoint list using web part connections.

    VN:R_U [1.9.6_1107]
    Rating
    Rating: 4.3/5 (3 votes cast)
    Report on data from your Database using the XSLT Data View web part, 4.3 out of 5 based on 3 ratings
  1. #1 yang
    January 29, 2010 pm31 12:23 am

    when inserting data view from data source, always get the uninformative error message: “The server returned a non-specific error when trying to get data from the data source. Check the format and content of your query and try again. If the problem persists, contact the server administrator.”

    any idea what could be wrong?

    VA:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  2. #2 Asif Rehmani
    January 29, 2010 pm31 12:37 am

    yes, I have seen this error before. It’s usually because the data connection is not returning data that can be rendered in the Data View. Ping me offline, asif@sharepointelearning, and let me know what data are you trying to connect to.

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  3. #3 jlee
    March 14, 2011 pm31 11:10 pm

    Hi Asif

    I have the same problem. Can you post your solution for the problem?

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  4. #4 Asif Rehmani
    March 14, 2011 pm31 11:54 pm

    This is not a bug, it’s by design ;-) . DVWP can’t understand the parent schema that the AW database uses (ex: product.department) so it needs to be converted to be owned by dbo (ex: dbo.department).

    There is a script to do that. It’s called AlterSchemaToDbo.sql. Search for it and run it on the database to ‘fix’ this issue.

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  5. #5 jlee
    March 15, 2011 pm31 12:55 am

    Thank you so much. It does help to resolve the problem. Would you be so kind to share your wisdom on how you find out it was the database schema problem?

    Great video, I will encourage more people to subscribe your site to support your excellent work.

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply
  6. #6 Asif Rehmani
    March 15, 2011 pm31 11:37 am

    This epiphany happened a long time ago in my head… I can’t recall how anymore.

    Enjoy the videos!

    VN:F [1.9.6_1107]
    Rating: 0 (from 0 votes)
    Post ReplyPost Reply

Please do not use this form

Leave a Comment

For spam filtering purposes, please copy the number 1425 to the field below: