This project has moved and is read-only. For the latest updates, please go here.

Not databinding with Windows Server 2003 x64?

Topics: Developer Forum
Sep 25, 2007 at 3:58 AM

I have a very simple test page that binds to a feed. It turns flawlessly on my dev box (athlon 64 windows xp sp2 .NET 2.0)

However when I push the code to production, it doesn't work. No error is thrown, I just get back no results (the gridview is empty)

Problem is, I can't debug my production server.... any ideas?

The server is a quad core xeon running Windows Server 2003 x64 Enterprise.

Here is the simple test page code:

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="RssLux2.aspx.cs" Inherits="RssLux2" Title="Untitled Page" %>
<%@ Register Assembly="RssToolkit" Namespace="RssToolkit.Web.WebControls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:TextBox ID="txtTestBlog" runat="server" Text="" Width="400"></asp:TextBox>
<asp:button ID="btnSubmit" runat="server" Text="Test" OnClick="btnSubmit_Click" />
<a href="rsslux2.aspx">Reset Page</a>
<div style="margin-top:40px;">
<asp:GridView ID="GridView1" runat="server" Font-Size="X-Small">
<cc1:RssDataSource ID="rssMain" runat="server" />


------------------------CODE BEHIND----------------

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class RssLux2 : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)


protected void btnSubmit_Click(object sender, EventArgs e)
string txt = txtTestBlog.Text;
GridView1.DataSourceID = rssMain.ID;
rssMain.Url = txt;

Sep 25, 2007 at 5:45 AM
I think it has something to do with the disk cache.

On my dev box (working) ..if I put <add key="rssTempDir" value="c:\temp"/> fails .. and I'm guessing its because there are no permissions on the directly that can write to.

The issue I have is that there is no error given to the user, it simply dies quietly and I have no idea why it's not working.

I modified the source in DownloadManager.cs

System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")
private static string PrepareTempDir()
return null;

to just return null and sure enough, it works fine..

However, it still doesnt' work on my 2003 machines ... they are running full trust too.

Can you investigate the disk cache permissions, or maybe, give us a public property on the datasource to turn off/on caching ?