Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 923173 - Last Review: November 3, 2006 - Revision: 1.3
Error message when you try to retrieve data from an XML Web service in SharePoint Designer 2007: "Server returned a non-specific error when trying to get data from the data source"
You open a Microsoft Windows SharePoint Services 3.0 Web site in Microsoft Office SharePoint Designer 2007. Then, you connect to an XML Web service. However, when you click
Show Data to retrieve data from the XML Web service, you receive the following 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.
This issue occurs if the following conditions are true:
- You connect to an XML Web service that is outside your firewall.
- You do not specify the proxy server.
To resolve this issue, add the proxy server information to the global Web.config file on the computer that is running Windows SharePoint Services 3.0. To do this, follow these steps:
- Start Internet Information Services (IIS) Manager.
- Expand ServerName, and then expand Web Sites.
- Right-click the SharePoint Web site that is the content Web site, and then click Properties.
- Click the Home Directory tab, right-click the path that is displayed in the Local Path box, and then click Copy.
- Click Start, click Run, right-click the Open box, and then click Paste. Then, click OK.
- Right-click the Web.config file, point to Open With, and then click Choose Program.
- In the Open With dialog box, click Notepad in the Programs list, and then click OK.
- Copy the following lines to the <configuration> section of the Web.config file.
<system.net>
<defaultProxy>
<proxy proxyaddress="http://ProxyServer:PortNumber" bypassonlocal="true" />
</defaultProxy>
</system.net>
Note Replace ProxyServer with the name of the proxy server and PortNumber with the port number. - Save the file, and then close the file.
For more information about how to connect to and work with an XML Web service in SharePoint Designer 2007, click
Microsoft Office SharePoint Designer Help on the
Help menu, type
XML Web service, and then click
Search to view a list of relevant topics.
APPLIES TO
- Microsoft Office SharePoint Designer 2007, when used with:
- Microsoft Windows SharePoint Services 3.0
| kbtshoot kberrmsg kbexpertiseinter kbprb KB923173 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate