Microsoft KB Archive/923173

= Error message when you try to retrieve data from an XML Web service in SharePoint Designer 2007: &quot;Server returned a non-specific error when trying to get data from the data source&quot; =

Article ID: 923173

Article Last Modified on 11/3/2006

-

APPLIES TO


 * Microsoft Office SharePoint Designer 2007, when used with:
 * Microsoft Windows SharePoint Services 3.0

-



SYMPTOMS
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.



CAUSE
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.



RESOLUTION
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  , 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.</li>  Copy the following lines to the   section of the Web.config file. <system.net> <defaultProxy> <proxy proxyaddress=&quot;http://ProxyServer:PortNumber&quot; bypassonlocal=&quot;true&quot; /> </defaultProxy> </system.net> Note Replace  with the name of the proxy server and   with the port number. </li> Save the file, and then close the file.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
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.

Additional query words: spd 2007 SharePointDesign2007 data source library view

Keywords: kbtshoot kberrmsg kbexpertiseinter kbprb KB923173

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.