Oddur Magnusson

Object reference not set to an instance of a human being

Always Copy before clicking post !

I had just written a lengthy post describing how I had to override the HtmlForm class to expose the Action property to work with our asp.net url rewriting technique. I clicked post but the request didn't get through, I got a timeout screen. I pushed back hoping the while post would still be in the form, no good, the title was there, but the post body was gone :(

Lesson learned : always copy the post body text before posting, you can't be sure the request will go through, and the freetextbox control does not hold it's value if you click back.

If you are interested in how to override the server side HtmlForm to allow you to control to url it posts to, comment on this post and I just might write the while post again.

*ctrl-c*

Comments

G. Andrew Duthie said:

You could also use w.bloggar, which is a client-side blogging app that works with .TEXT. I use it all the time, and precisely for that reason. Blogging via a web page is just too unreliable.

Directions for using w.bloggar for .TEXT can be found at:

http://weblogs.asp.net/jalexander/posts/23953.aspx
# November 25, 2003 8:41 PM

Paul Wilson said:

Andy Smith has a free server form control that does this already at MetaBuilders.com. Mine isn't free, but it also supports multiple server forms.
# November 25, 2003 9:06 PM

Andrew said:

Beware of ctrl-W, it can accidentaly be pushed by a finger seeking "A" for the ctrl-A before ctrl-C
See? ;)
# November 25, 2003 9:19 PM

Edwin said:

Hey, I'm interested in the url rewriting thing. I've heard that ASP.NET provides limited support for url rewriting. I think that it would be good to use url rewriting, but I wonder if it would have some kind of performance penalty at runtime.
# November 26, 2003 3:52 AM

DavidM said:

I would certainly be interested in seeing that post
# November 26, 2003 7:31 AM

Josh Baltzell said:

I have had this happen to me a few times, usually I remember to copy though. w.bloggar is nice, I use it at work for quick things I want to post, but I can't seem to get it to let me post in multiple categories.
# November 26, 2003 3:35 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)