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



The information in this article 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:
  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.

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:

Modification Type:MinorLast Reviewed:1/6/2006
Keywords:kberrmsg kbprb KB830976 kbAudEndUser