Non-specific error trying to get the data source – REST and SP2010.
This post has already been read 304 times!
I’ve been playing with the REST protocol in SP2010 to bring in data from external lists (external to the site collection) and using it to display the result in the data view web part (DVWP).
Creating the data source went smoothly but when I tried to use it in the DVWP it threw the following unhelpful error.
“The server returned a non-specific error when frying 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.”
I checked the service in the browser and it was working fine – so a quick investigation identified authentication as the problem. I went back to the data source and forced the service to use my domain account instead of the default windows authentication provider.
As soon as the authentication was forced and I refreshed my data connection – the DVWP pulled everything through perfectly.
This issue seems to be with SP Designer not recognising your domain account when using windows authentication. This work-around will do the job – although it must be pointed out this method sends your credentials unencrypted in the call. Not the type of thing you would put into a production environment but will at the very least get you up and running with REST services inside SharePoint 2010.
More to come on this topic soon, specifically around potential uses of the service and a detailed walk through (time permitting as always!)
5 Responses to Non-specific error trying to get the data source – REST and SP2010.
Leave a Reply Cancel reply
Recent Comments
- Auto-Suggest on Creating AJAX-style auto complete functionality within Axure prototypes – UPDATED
- Joe Natoli on Axure specification templates explored
- Hamish on Using Visio Shape Reports to export detail from your diagrams
- Natalie on Using Visio Shape Reports to export detail from your diagrams
- Homepage on SP2010 Workflow Template Validation Rules and limitations of the Visio-driven workflow model
Twitter Feed
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
Archives
- January 2012 (1)
- December 2011 (1)
- August 2010 (1)
- July 2010 (11)
- June 2010 (1)
- May 2010 (3)
- April 2010 (1)
- February 2010 (2)
- January 2010 (7)
- December 2009 (2)
Categories
- Axure RP (11)
- Business Analysis (5)
- Prototyping (2)
- Quick Tips (4)
- SharePoint 2010 (10)
- Uncategorized (1)
- Visio 2010 (8)










[...] An issue I encountered when playing around is that windows authentication didn’t seem to work when trying to build a data view web part – so if you encounter this then I suggest specify your domain account in the ‘Login’ tab. See my brief post on this here. [...]
Great idea, but will this work over the long run?
i would tend to a fix will be released soon enough – or someone will realize the cause of the error and point out what we did wrong.. i shall keep a look out for any news on the issue and keep you updated.
Hi
Thanks for the tip. This worked fine for one day but today I receive the error again. I tried to change the authentication but none of the options seem to work.
None of the data source connections seem to work
Any idea what might be the problem?
I found that occasionally the authentication reset itself back to default (or someone else did for me). This might be a silly question, but is it the correct data source? In SharePoint designer the data-sources are relative to the current site and I often found myself editing the wrong data-source and wondering why it wouldn’t work – only to find it was a sub-site’s connection with a similar setup.
Failing that – are you still able to open the service in a web browser – if you can authenticate through the browser perhaps its another issue in SPDesigner.
Hope that helps