Archive for the ‘asp.net’ Category

Fixing the “circular file references are not allowed” Error in ASP.net

Thursday, December 3rd, 2009

If you get the "circular file references are not allowed" error in an ASP.net Website Project and you do not have any controls that have any obvious circular references, what does the error mean and how do you fix it? See this blog post from Siderite Zackwehdex as well as this ...

Repeater Failure and Disappearance on Row 28

Thursday, August 2nd, 2007

I was working on an ASP.net application (1.1) the other day, changing the UI display of a page. This page basically consisted of a Repeater being populated with data from the DB, and binding javascript actions and styling info to the different rows to be output (each overall it was ...

Porting .Net Assemblies to Mono using MoMA

Tuesday, November 28th, 2006

For those who have not heard about it, Mono is a platform designed to allow porting of .Net-based applications to nearly every computing platform available (including Linux and Mac). It is open-source (sponsored by Novell) and is an essential tool for any developer who wishes to run .Net code on ...

What would Raymond Chen say?

Thursday, September 28th, 2006

I just read a post from Karl Seguin on CodeBetter (quoting Frans, who quoted Soma) that Visual Studio 2002 and 2003 will not run on Windows Vista. Or to quote Soma directly: However, we will not support Visual Studio .NET 2002 or Visual Studio .NET 2003 as development environments on Windows ...

Error when sending Html Mail from ASP.net WebApp

Wednesday, September 27th, 2006

On an ASP.net site (1.1), I was trying to send an email message using good old SmtpMail.Send(MailMessage message). When I did so, I got the following message "could not access CDO.message object". After some Googling, I tried out all of the different security/smtp/relary/permissions related suggestions (most can be found on ...

Programatic access to the ConnectionStrings section of your Web.Config file in ASP.net 2.0

Tuesday, June 27th, 2006

Back with ASP.net 1.1, if you set a connection string in your Web.config file, you could set it with something like this: <appSettings> <add key="ConnectionStringName" value="ConnectionStringData" /> </appSettings> and get access to the string in your code with something like this: string connString = System.Configuration.ConfigurationSettings.AppSettings["ConnectionStringName"]; With ASP.net 2.0, while you can still use appsettings ...