Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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:
  1. Click Start, right-click My Computer, and then click Explore.
  2. In the Folders pane, expand the following folders: %PROGRAM FILES%\Common Files\Microsoft Shared\Web Server Extensions\60\config.
  3. In the right pane, right-click the Web.config file, and then click Open.
  4. In the Windows dialog box, click Select the program from a list, and then click OK.
  5. In the Open With dialog box, in the Program list, click Notepad, and then click OK.
  6. Type the following text in the Web.config file under the <configuration> section:
      
    <system.net>
    
        <defaultProxy>
    
          <proxy proxyaddress="Insert_Proxy_Address_Here" bypassonlocal="true" />
    
        </defaultProxy>
    
      </system.net>
    where Insert_Proxy_Address_Here is the proxy address that you want to use.
  7. Click File, and then click Save.
  8. Click File, and then click Exit.

↑ Back to the top


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:

↑ Back to the top


Keywords: KB830976, kbprb, kberrmsg

↑ Back to the top

Article Info
Article ID : 830976
Revision : 11
Created on : 5/8/2007
Published on : 5/8/2007
Exists online : False
Views : 302