Sunday, July 03, 2005

This .NET error message is misleading (although in the long run, it is still correct) and brings up nothing at all in Google, so I am going to put it here again: "The row doesn't belong to the same DataSet as this relation". Miseleading because I was focused on the row.

This is the System.ArgumentException error that will be thrown when you attempt to either XMLWrite a DataSet with tables that are related through a DataRelation, or when you attempt to GetChildRows on one of the rows of the parent table.

The error will happen if you have forgotten a key line of code in setting up a DataRelation  -- that is to attach the DataRelation that you have just created to the DataSet.

Dim ds As DataSet = GetSomeData()
Dim rel As DataRelation = New DataRelation("sitestodocs", ds.Tables(0).Columns("ID"), ds.Tables(1).Columns("ParentID"))
rel.Nested =
True
ds.Relations.Add(rel)   <-- this is the likely missing code!
Dim dr as DataRow=ds.Tables(0).Rows(0)
dim tbl as DataTable=dr.GetChildRows(rel)

This is for VS2003. The documentation says that the exception's message is ""The relation and row do not belong to the same table". I wonder if that would have shortened the time that it took me to figure out my really stoooopid mistake. So hopefully, this little bit of google text will help the next person who is having a similar brainf*rt.



www.acehaid.org
Sunday, July 03, 2005 6:40:18 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I was just cruising around Leon's blog to get a link to one of my favorite posts ("You are not Inadequate") and started realizing something. I started reading his blog because it was (and still is) hilarious. But there are also so many really deep, thoughtful, interesting posts on there. For example, one where he analyzed the famous Spolsky API Wars article. I also noticed he had grouped his archives in a way that reflects what he was writing about. It would be interesting to look at our own blogs that way. I definitely go thorugh periods for example, where I was working on ADO.NET 2.0 heavily, making so many interesting discoveries. I was writing gobs of technical posts. Right now, the focus of my work is a little different and my blog is a little less technical and probably a little boring (sorry). I consider about Scott Hanselman's blog and how heavily it is read and why.

In a time of blog overload, it's that much more important to think about what you are writing about - but on the other hand, by doing that, I worry that I am losing the sponteneity that I think has made my blog stand out in the past. With hundreds of posts pouring into my feed every day, I am very selective about which I actually read. Generally I check out the post titles and anything that interests me I'll look at, maybe read, maybe not. Then I go by who wrote the posts (a big chore in the msdn feed or weblogs.asp.net feed) and pick out ones by people who I definitely want to "check in with". But I'm not reading as much. And I know for sure that not as many people are reading my own blog - for the same reason. Just too much to read overall and a post has got to be really worth anyone's time to be read.

Then it gets back to the most important thing. Why are we blogging? To be read? To get lots of comments or referrals? To get famous? No. I don't think any one of these should be the driving force (though I know a few people who do blog for that reason...and now you are all twitching in your boots wondering if I am referring to YOU heh heh). I think just saying what's on your mind and what you feel like when it strikes you (with some reservations obviously - like not ranting every time GWB opens his mouth because he makes me crazy - yes, I've learned NOT to do that Andrew, James and Avonelle! :-) ) is what the whole point of blogging is. So if I am so excited about a new discovery in .NET that I just had to tell SOMEONE (and my dog just isn't interested), I'll blog it. If I'm looking out the window at the tree that makes my heart skip a beat every time I look at it,  and I just want to share it with the world, I'll blog it.

Anyway, I should be outside getting my kayak on the car roof rather than rambling away. But Leon's blog is really great and I decided that thought was worthy of mention.



www.acehaid.org
Sunday, July 03, 2005 9:50:45 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Quite often, when coding, I'll have to do something in .NET that I haven't done in two or three years. For example, today I have to write out an xml file from a DataSet that contains two DataTables that are related to ... [read more]

[A DevLife post]



www.acehaid.org
Sunday, July 03, 2005 9:18:57 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Saturday, July 02, 2005

This is a side benefit of having blogger friends from around the world. Once in a blue moon, Malek Kemmou, writes his blog posts in his own language and I get this beautiful artwork in my feedreader:

I have no idea what it says, but that's okay. Another thing I love about his blog (besides all the usual stuff) is that he has an entire category called: "don't read if you're not Stephen Forte". If you know Stephen, you can only imagine the content of those posts! :-)



www.acehaid.org
Saturday, July 02, 2005 5:52:49 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Jeff Schoolcraft asks some good questions about growing a User Group (he is one of the leaders of WinProTeamVienna) - how to increase awareness, why do people go, why do people NOT go?

I have heard these questions before.

Sounds like a perfect survey for INETA!



www.acehaid.org
Saturday, July 02, 2005 1:51:11 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

After fiddling with Sharepoint WSS for most of this week, getting advice from some Sharepoint geeks, reading the documentation,googling a lot and hanging out in the newsgroups, I have finally worked out that what I want to do is use a combination of all of the methods of working with WSS.

My plan at this point (and don't hold me to it) is to use [...read more...]

[A DevLife post]



www.acehaid.org
Saturday, July 02, 2005 10:57:02 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Friday, July 01, 2005
Hey, cool. That was a good idea on the part of the MVP program. A perfect fit for Don Kiely, Anil John, Robert Hurlbut and as Don says "Keith Brown (of course!)".

www.acehaid.org
Friday, July 01, 2005 8:53:59 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I just took a look at the WSE newsgroup and noticed that there are gobs of unanswered questions up there. Hey, WSE gurus, come help out! :-)

I will go take a crack at ones I am confident on over the weekend, but many are out of my scope. There are much more knowledgeable people out there than me.

(microsoft.public.dotnet.framework.webservices.enhancements)

 



www.acehaid.org
WSE
Friday, July 01, 2005 4:55:32 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

You *know* I'm focused on something when I'm not blogging a lot. Though I'm not making any great new discoveries that would be revelations - just learning stuff that lots of people know.

I spent most of yesterday struggling with Sharepoint and getting frustrated with the limitations of the WSS U.I. even with a lot of customization.

I hit up the three sharepoint gurus that I know (Dave Burke, Eli Robillard and Amanda Murphy) who basically all encouraged me in believing that I could just write my own front end with sharepoint driving the backend.

Dave is the best for this because he hates Sharepoint but has written a lot of major stuff with it. That, to me, is an advantage, because he has found his way around it pretty darn well. He gave me lots of pointers. I have a lot to learn in a short period of time. We'll see how it goes. :-)

There are a lot of great sharepoint resources out there, but I'm really lucky to have a few I can lean on when I have spent too much time researching or trying to figure out one little thing.

At least Dave has been blogging up a storm, so I'm happy someone's keeping the geek blog level up high in Vermont!

I definitely will have to write about the problems I have had (still unsolved, but found a workaround) with installing WSS on my webserver!



www.acehaid.org
Friday, July 01, 2005 7:48:23 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Wednesday, June 29, 2005

http://www.unix-girl.com/blog/archives/2005/06/the_good_the_ba.html

She should have come to TechEd and attended the Women in I.T. luncheon. There are more and more women attending at every conference I go to. Even the ladies room isn't always empty!

www.acehaid.org

Wednesday, June 29, 2005 4:35:58 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

There is nothing more fun than having a new project to work on and new things to learn. Yesterday I got involved with a project for my client where I am going to get to work with Sharepoint Windows Services for the first time. I have been a ... [read more]

[A DevLife Post]



www.acehaid.org
Wednesday, June 29, 2005 7:56:50 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Tuesday, June 28, 2005

"The Scoop on Wi-Fi" article in Fortune Small Business this month is all about how businesses are levering wi-fi and becoming REALLY mobile. Tablet PC's are a highlight of every one of the businesses that were featured in the article. The issues (July/August) isn't online yet, but last month's issue with the cover story about Microsoft's anthropoligists who learn how businesses work is. Just before I received that issue, Rich and I watched a film named Kitchen Stories, about Swedish researchers who were sent to Norway in the 50's to watch the patterns of single men in their kitchens. They had to be silent observers in the homes of their studies. Wonderful movie. Strange occupation. It seems that Microsoft's do the same: sit quietly in an office and watch someone work. Hard to pretend they aren't there.



TechEd Speakers Charity Auction http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5587400881
Tuesday, June 28, 2005 7:05:54 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Since February, the blogosphere has been abuzz with AJAX, which had been used by GoogleMaps and impressed the pants off of a lot of web developers. AJAX incorporates XMLHttp but is not limited to I.E. Now it is "hold the presses" at Microsoft who is planning [read more]

[A DevLife post]



TechEd Speakers Charity Auction http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5587400881
Tuesday, June 28, 2005 2:26:06 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Monday, June 27, 2005
I do, and I was sure to look to see if he created one for WSE3.0. Yes he did. Today , in fact. My hero!

TechEd Speakers Charity Auction http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5587400881
WSE
Monday, June 27, 2005 2:19:56 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
As many people know I have had 2 1/2 years of HELL with trying to update applications from the web server. Maybe if I just went back to my clients and told them I will only write HelloWorld applications from now on, I could get it to work.

TechEd Speakers Charity Auction http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5587400881
Monday, June 27, 2005 2:11:55 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Sunday, June 26, 2005
gotta love it!!

TechEd Speakers Charity Auction http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5587400881
Sunday, June 26, 2005 8:40:55 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Friday, June 24, 2005
Mark follows up his TechEd talk with an article on the Web Services Developer Center on MSDN. What's New in WSE 3.0. I'll be reading this one this weekend!

TechEd Speakers Charity Auction http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5587400881
WSE
Friday, June 24, 2005 8:36:50 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Okay - My name is Julie and I use FrontPage. I use FrontPage for the family websites: my parent's dog kennel, my sister's business and a few others. You know these sites, they are 95% static html and you are doing it for love (not money). Why not? My sister's business does use a little asp and we even use an asp.net site for her to maintain store lists which are served back to the FrontPage site via web services.

So don't be shy. I can admit it. And now the reason I brought this up was to preface the fact that Lisa Wollin, who is the content manager for the FrontPage Developer center is blogging some good FrontPage tips.



TechEd Speakers Charity Auction http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5587400881
Friday, June 24, 2005 6:54:28 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I have been playing with WSE3.0 this week and when stuffing some credentials into my web service proxy the other night, I discovered that the new wse3 namespace method for doing that makes use of generics. This *is* designed to integrate specifically with ...[more]...

[A DevLife post] 



TechEd Speakers Charity Auction http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5587400881
WSE
Friday, June 24, 2005 4:48:52 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

At the INETA NORAM User Group Leader Summit on June 5, a new board was announced. I am no longer on the INETA NORAM board. The original board members and founders of INETA (Bill Evjen, Brian Loesgen, Keith Franklin, Keith Pleas) as well as myself (I was not a founding board member) are now on the Advisory Board for INETA NORAM. It was actually the old board that voted in the new board.

I am also [finally] passing on the production of the monthly INETA Newsletter that I have been doing for the past three years. The first two years, I did this on my own and then I finally I had Sheri Nawrocki's phenomenal help (she did the design, artwork and physical production, which is why it has been looking so beautiful) as well as some great editing assistance from Scott Swigart 

If I had kids, I might liken this to watching your kids go off to college. 

INETA has come a long (enormously long) way and accomplished incredible things in the past 3 years. It has gotten to a point where it has outgrown its grassroots roots (sic) and needs to be run like a professional organization. That's just not somewhere that I shine (reports? concalls? plans? agendas? minutes? phew!), but it is a perfect role for the new President, Chris Pels (who is one of the most organized people I know) and the rest of the nine member board.

Watch the INETA website for further information about the changes to INETA. I am not leaving INETA (it would take a total blood transfusion as well as a heart replacement to do that!). I am still a liaison and my role on the Advisory board will keep me involved with what is going on.



TechEd Speakers Charity Auction http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=5587400881
Friday, June 24, 2005 11:27:32 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  |