Before deploying any web application, it is always a good idea to test the installation. For testing purposes, feeds.xml contains only one feed: Yahoo! News.
Open your browser and navigate to http://localhost/fooreader/xml.aspx?xml=yahoo_topstories.
This tests to make sure that the server-side component is able to retrieve an external news feed properly. If everything is working correctly, you should see the XML feed displayed in your browser (see Figure 5-7).
If for some reason you see an ASP.NET error, the error message will tell you what you should do. The most common error is an Access Denied error, in which case the proper modify rights should be given to the ASP.NET user account (or NETWORK SERVICE for Windows 2003).
If you do not have access to set permissions for the web server, such as when you rent web space from a provider, you may be able to solve Access Denied errors by turning on impersonation. The impersonation settings are located in the web.config file.
The web.config file is an XML-based configuration file for a web application. The root element of web.config is <configuration/>, which is usually followed by the <system.web/> element. You can add the following line to the <system.web/> element:
<identity impersonate=" true"/>
Bear in mind that this solution is highly situational and depends on the web server's settings. However, it may solve unauthorized access errors you may encounter in a rented server environment.
Once the application is tested and is confirmed to work, you can edit feeds.xml to contain whatever feeds you desire.