Archive for the '.net' Category

The server committed an HTTP protocol violation

Thursday, October 28th, 2004

Thanks to Communication WEB for pointing out a fix to this error which started springing up after .NET Framework 1.1 SP1 was released. To enhance security, this error will be raised on fetching from a web site if the server’s HTTP headers obey certain rules e.g. there cannot be a space in the header name. [...]

altering controls with dynamic data sources in dreamweaver

Tuesday, September 21st, 2004

If I’m binding a web control to database values, I generally set it’s properties at run time in the page_load or page_prerender events.
However, since Dreamweaver has its own databinding event going on at page load, you can’t refer to controls that have dynamic data sources populated by Dreamweaver there as they will still be [...]

looking for isnumeric in vb.net?

Sunday, July 4th, 2004

i was wondering why a vb.net class file was throwing up errors when i called the isnumeric function the other day. after some googling i found out from roy osherove’s blog that you now need to import the microsoft.visualbasic namespace to use this and a bunch of other once standard functions.
as an aside, if you [...]

mm:dataset not well formed errors

Wednesday, May 19th, 2004

if you are using dreamweaver mx to code asp.net applications you will probably be using a lot of mm:dataset tags. if you ever need to edit the commandtext attribute of the mm:dataset tag, you may well see the charming error message “The server tag is not well formed”.
one possible reason for this error is the [...]