Microsoft KB Archive/830976

= &quot;The data source does not contain valid XML data&quot; error message when you insert a Data View Web Part in FrontPage 2003 =

Article ID: 830976

Article Last Modified on 5/8/2007

-

APPLIES TO


 * Microsoft Windows SharePoint Services
 * Microsoft Office FrontPage 2003

-





SYMPTOMS
When you use Microsoft Office FrontPage 2003 to insert a Data View Web Part while you are authoring against a Microsoft Windows SharePoint Services Web site, you may receive an error message that is similar to one of the following:

The Data Source does not contain valid XML data.

The Web server cannot connect to the specified data source because the query may contain errors, the data source may be unavailable or configured improperly, or your Web site is behind a proxy server or firewall.

If your Web site is behind a proxy server or firewall, verify that your server administrator has configured the Data Retrieval Services HTTP proxy server setting for Microsoft Windows SharePoint Services.

An error occurred while processing the data for this request. Contact the server administrator for more information.



CAUSE
This behavior may occur if you try to connect to a data source outside your firewall. If you do not specify the proxy server, the default proxy that is provided by Microsoft .NET Framework is used.



RESOLUTION
To resolve this behavior, you must edit the global Web.config file on the WSS server to specify the proxy server address. To do this, follow these steps:  Click Start, right-click My Computer, and then click Explore. In the Folders pane, expand the following folders: %PROGRAM FILES%\Common Files\Microsoft Shared\Web Server Extensions\60\config. In the right pane, right-click the Web.config file, and then click Open. In the Windows dialog box, click Select the program from a list, and then click OK. In the Open With dialog box, in the Program list, click Notepad, and then click OK.  Type the following text in the Web.config file under the   section: <pre class="fixed_text"> <system.net>

<defaultProxy>

<proxy proxyaddress=&quot;Insert_Proxy_Address_Here&quot; bypassonlocal=&quot;true&quot; />

</defaultProxy>

</system.net> where Insert_Proxy_Address_Here is the proxy address that you want to use. </li> Click File, and then click Save.</li> Click File, and then click Exit.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For more information about the format of the ASP.NET configuration files, visit the Format of ASP.NET Configuration Files Web page on the MSDN Web site:

http://msdn2.microsoft.com/en-us/library/ackhksh7(vs.71).aspx

Keywords: kberrmsg kbprb KB830976

-

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

© Microsoft Corporation. All rights reserved.