<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-19907912</id><updated>2011-04-21T20:47:03.407-04:00</updated><title type='text'>Work and Play</title><subtitle type='html'>Mixture of thoughts about work, computers/programming, and personal stuff.  I may seperate them if I post frequently enough :).
Unless I say otherwise, most of my programming is still in ASP.NET / C# 1.1 and SQL Server 2000.  I am beginning to use ASP.NET 2.0 but will specifiy anything pertaining to that.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-19907912.post-1296104443147674406</id><published>2008-03-06T11:54:00.002-05:00</published><updated>2008-03-06T11:56:21.919-05:00</updated><title type='text'>Fail!</title><content type='html'>Ok, this blog is obviously beyond dead.  Not sure I'm much for keeping up a random thought blog.  I just started one for my new house though, to keep track of projects there.  Being a little more focused I should be more motivated to update it.  Plus, it will be nice to have a record of the work I've done (or had other people do :)).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://seminole-remodel.blogspot.com"&gt;See the new blog!&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-1296104443147674406?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/1296104443147674406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=1296104443147674406' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/1296104443147674406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/1296104443147674406'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2008/03/fail.html' title='Fail!'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-115343610032454907</id><published>2006-07-20T18:44:00.000-04:00</published><updated>2006-07-20T18:55:00.340-04:00</updated><title type='text'>Accessing File Shares Without A Domain</title><content type='html'>[This applies to ASP.NET 2.0, Windows Server 2003]&lt;br /&gt;We have a load balancing setup for our web site, with two machines sharing the load equally.  Any supporting files are stored on a third app server which the two web servers access.  We didn't want the overhead of a domain, but initially had some trouble getting this to work.&lt;br /&gt;We set up a virtual directory on each web server, pointing to the share on the app server.  The virtual directory used an account name and password which was duplicated on the app server.  This worked fine, until we tried to write files and directories.  Since we had to resolve the virtual path to an absolute one, we were trying to write not with the special account we had set up, but the default Network Service account.  This did not have permission, and since the account is managed by Windows it had a different password on each machine, so it could not be used to access the share.&lt;br /&gt;What we ended up needing to do was have the user with permission on the share run the app pool (instead of the default network service).  To ensure it had the permission needed to run ASP.NET we added it to the IIS_WPG group.  We had to ensure the passwords were the same across machines so this would work.&lt;br /&gt;Watch out here though.  The Network Service account has permissions on WINDOWS\TEMP, but IIS_WPG does not.  This cause problems with a web service call we had.  Once we added IIS_WPG to the permission list, duplicating Network Service's permissions, we were fine.  There may be other situations like this, but it's the only one we've come across so far.  The next time we see a strange, unexplicable error though, this will probably be the first thing we check.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-115343610032454907?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/115343610032454907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=115343610032454907' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/115343610032454907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/115343610032454907'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2006/07/accessing-file-shares-without-domain.html' title='Accessing File Shares Without A Domain'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-114601617424429312</id><published>2006-04-25T21:42:00.000-04:00</published><updated>2006-04-25T21:49:34.263-04:00</updated><title type='text'>Why Didn't I Think of That?!?</title><content type='html'>I'm starting a new section of links for good ideas that I didn't come up with.  Some things that seem so simple once they're out there :-P.&lt;br /&gt;&lt;br /&gt;I heard about &lt;a href="http://www.prosper.com"&gt;prosper.com&lt;/a&gt; the other day, which is what prompted this post.  It's a very good idea that seems to be well thought out and implemented.  This is a person-to-person loan site.  You enter a loan request, and the maximum interest you're willing to pay.  Prosper runs your credit, and other people can bid in an ebay-style system up to your maximum rate.&lt;br /&gt;&lt;br /&gt;It won't save you a ton of money borrowing, but you can probably shave a couple % off the interest rate at least.  And for lenders, although it's a higher risk (people can default, although it hurts their credit just as much as if they defaulted on a bank loan) it's also much higher interest than you get in a bank right now.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Not too much else interesting going on in my life right now, as you can probably see from the lack of posts.  I'll be going to the Daily SHow on 5/8, so I'll definitely have something to report again then, if not sooner!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-114601617424429312?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/114601617424429312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=114601617424429312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/114601617424429312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/114601617424429312'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2006/04/why-didnt-i-think-of-that.html' title='Why Didn&apos;t I Think of That?!?'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-114108113595695589</id><published>2006-02-27T17:51:00.000-05:00</published><updated>2006-02-27T18:00:01.146-05:00</updated><title type='text'>Conversions and Global.asax</title><content type='html'>We had an interesting situation pop up last week.  Some of our pages use &lt;a href="http://www.peterblum.com"&gt;Peter Blum's&lt;/a&gt; &lt;acronym title="Validation and More"&gt;VAM&lt;/acronym&gt;  and/or Date controls.  These require the licenses to be initialized in global.asax &lt;code&gt;Application_Start&lt;/code&gt; (or other locations, but this option was best for us).  On our development machines this worked fine, but when attempting a deploy last week any pages using these controls broke.&lt;br /&gt;What we found was that this event was never firing, so the licenses were never initialized.  The global.asax file was not in the deployed project folder, so we added it.  The resulting error told us that the code was already in the compiled dll.  Apparently, the issue here is that the conversion tool took the global.asax's codebehind file and put it into the &lt;code&gt;App_Code&lt;/code&gt; folder.  This is a "Bad Thing," as ASP.NET 2.0 gets rid of codebehind for global.asax - everything is in one file now.&lt;br /&gt;Deleting the code file and incorporating everything into global.asax, then re-deploying, fixed the issue.  I have seen some other posts with people having difficulty with Session events - hopefully this will help someone! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-114108113595695589?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/114108113595695589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=114108113595695589' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/114108113595695589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/114108113595695589'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2006/02/conversions-and-globalasax.html' title='Conversions and Global.asax'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-114101318701635200</id><published>2006-02-26T23:01:00.000-05:00</published><updated>2006-02-26T23:06:27.030-05:00</updated><title type='text'>Seasons....</title><content type='html'>Pretty standard thing you'd think.  Winter, Spring, Summer, Fall.&lt;br /&gt;I even accept that "The Holidays" or "Christmas" is another season now.  It's annoying that unlike the others, this one gets more time added to it every year, but so be it.&lt;br /&gt;However, there I have to draw the line.  "Valentine's Day" is, unfortunately, trying real hard to get to the season status.  I'm not a fan.  That isn't what prompted this though.  No, what prompted this is that apparently the other saints are starting to get greedy too.  Why am I hearing about "St. Patrick's Day" season on TV now?  IT'S NOT A SEASON!  Like Valentine's, it is a DAY, as put forth in the name of the holiday.  And a day is more than enough for the card companies and pubs, since the saints themselves don't seem to get too much attention on these days ;).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-114101318701635200?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/114101318701635200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=114101318701635200' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/114101318701635200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/114101318701635200'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2006/02/seasons.html' title='Seasons....'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-113807045318351636</id><published>2006-01-23T21:40:00.000-05:00</published><updated>2006-01-23T21:40:53.196-05:00</updated><title type='text'>Yyama!</title><content type='html'>Not much interesting in my life, but Donna found something funny for those of us who like llamas :).&lt;br /&gt;&lt;span style="font-size:+1;"&gt;&lt;a href="http://tafmaster-v.focalex.com/t/f/1796/1796/251597/aHR0cDovL3d3dy5hbGJpbm9ibGFja3NoZWVwLmNvbS9mbGFzaC9sbGFtYS5waHA_/aHR0cDovL3d3dy5hbGJpbm9ibGFja3NoZWVwLmNvbS9mbGFzaC9sbGFtYS5waHA_/RG9ubmEg/U3Rhcms_/ZGVzdGFya0BnbWFpbC5jb20_/c3JpcXVpZXJAZ21haWwuY29t/n/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"&gt;http://www.albinoblacksheep&lt;wbr&gt;.com/flash/llama.php&lt;/a&gt;                &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-113807045318351636?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/113807045318351636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=113807045318351636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113807045318351636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113807045318351636'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2006/01/yyama.html' title='Yyama!'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-113643383504826935</id><published>2006-01-04T22:51:00.000-05:00</published><updated>2006-01-04T23:03:57.633-05:00</updated><title type='text'>Merry New Year!</title><content type='html'>Well, it took me a while to get around to this one, but here it is :).  Hope everyone's 2006 is off to a great start.  Despite how long it took me to post, I really don't have too much news.&lt;br /&gt;&lt;br /&gt;We're finally making the transition to .NET 2.0 at work.  The new conversion tool seemed to work very well for us.  We'll be hitting the errors tomorrow though, so I can't say for sure yet.  The only errors we have so far are with third party controls, which we were expecting.&lt;br /&gt;&lt;br /&gt;On the Linux front, things are not too good :(.  I haven't really felt like putting the energy into it, hopefully now that the holidays are past that will change.  Last time I used it I was trying to upgrade Firefox, wth the result that I now have no working browser.  And this is the easy release :).  It will definitely take getting used to.&lt;br /&gt;&lt;br /&gt;Mostly I wanted to make this blog to throw out my thoughts leftover from work, and anything in my own life that might be worth mentioning to noone in particular.  I've been kind of off the mark on it so far, in that any code stuff I've posted has really been too vague to be helpful (the idea was to put some solutions out there for others, as I have found many in other people's blogs).  This comes from the fact that I really like to move my mind to other topics once I get home from work (such as hardware, troubleshooting, Linux, or - God forbid - something else entirely).  I do want to start working on a site and playing with CSS design however - and at that point I'm hoping this will have a lot more detail as it will be my personal work, and as such I would be allowed to post it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-113643383504826935?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/113643383504826935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=113643383504826935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113643383504826935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113643383504826935'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2006/01/merry-new-year.html' title='Merry New Year!'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-113580887435592214</id><published>2005-12-28T17:24:00.000-05:00</published><updated>2005-12-28T17:27:54.356-05:00</updated><title type='text'>Gone In 60 Seconds</title><content type='html'>Awesome movie, I highly recommend it (the most recent one with Nicolas Cage) :). However, don't get the director's cut. I watched this last night, and it sucks.  They replaced a couple of good scenes with mediocre ones, changed some dialog for the worse, and added bits of conversation that served no purpose but to prolong the movie.  I didn't catch the end, but I'm hoping they didn't mess that up too.&lt;br /&gt;That's about all that's new in my world :).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-113580887435592214?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/113580887435592214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=113580887435592214' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113580887435592214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113580887435592214'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2005/12/gone-in-60-seconds.html' title='Gone In 60 Seconds'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-113565629431483971</id><published>2005-12-26T23:00:00.000-05:00</published><updated>2005-12-26T23:04:54.333-05:00</updated><title type='text'>Linuxant!</title><content type='html'>Well, that was fun :).  This is my first post from Linux.  I was finally able to get my wireless lan card up and running.  It will cost me $20, but I suppose that's more worth it than dragging cable up here from two floors below, or continuing to throw money M$'s way.  &lt;a href="http://www.linuxant.com"&gt;Linuxant&lt;/a&gt; is an awesome tool for wireless drivers in Linux.  It was able to use my windows driver, no problems.  I tried a couple of free/open-source programs first, but they did not work :(.  Given more time I probably could have made them work, but for now I'd rather spend my time using Linux.  Anything else I might have put the time into, but an internet problem is 10x worse because whenever you run into a roadblock it's reboot into Windows to get online.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-113565629431483971?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/113565629431483971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=113565629431483971' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113565629431483971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113565629431483971'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2005/12/linuxant.html' title='Linuxant!'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-113521311915330043</id><published>2005-12-21T19:55:00.000-05:00</published><updated>2005-12-21T22:10:05.956-05:00</updated><title type='text'>Windows is dead...</title><content type='html'>and so is Linux :P.  Let's just say you shouldn't look for me online for while unless I hit a stroke of luck.  My Linux install died halfway in, and somehow took Windows with it :(.  I'm on my parents' computer now, trying to re-download and burn the install CD.  Hopefully the corrupt file was due to the CD I used, and not the ISO itself, or this party will get a lot more fun real fast!&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;Update:&lt;/span&gt; Luckily, it was just the CD that was bad.  I downloaded and burned another copy and it went in fine.  Unfortunately, I'm still posting this off WinXP because I need to find out how to get my wireless lan card to work in Linux :).  But at least it's there.  Thanks Monti, for the tip - Ubuntu is much easier than Gentoo to start with :-D.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-113521311915330043?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/113521311915330043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=113521311915330043' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113521311915330043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113521311915330043'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2005/12/windows-is-dead.html' title='Windows is dead...'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-113511975897524553</id><published>2005-12-20T17:47:00.000-05:00</published><updated>2005-12-20T19:57:31.910-05:00</updated><title type='text'>More Fun With Dynamic Controls</title><content type='html'>I thought I was done with this, but apparently not :).  I decided (after my earlier post) not to dynamically load user controls on the project I'm working on, simply because it's almost complete and it will take too much time to tear them apart and put them on dynamically.  Unfortunately, the only way I was able to correct the callbac lifecycle problem was by creating a flag, and only processing the prerender method on a callback after the callback event had been handled.&lt;br /&gt;&lt;br /&gt;Anyhow, here was the situation today: my dynamically stored server controls were not always being loaded correctly at postback.  I was doing testing today to make sure all of the components were working when I found this error.  In addition, this was on a page which was not using callbacks, just standard ASP.NET 1.1 controls.&lt;br /&gt;After some fun debugging, I found that the dynamic control had good values in it after the load method completed, but it was reverted to bad values again at &lt;span class="code"&gt;PreRender&lt;/span&gt;.  Part of the problem here is that I'm developing a wizard-style app, so on a postback I need to load the old control, populate the values, and then load the new control.  Depending on which page is using this user control, the reload can be either the same information or a completely different control.&lt;br /&gt;My first impression was to make sure I load the data first thing on &lt;span class="code"&gt;PreRender&lt;/span&gt;.  However, that is a very easy rule to forget, and difficult to debug later on if/when we reuse this user control.    Next idea was just to create an event, so that when the control contains the postback data the event is fired and anyone who needs that data can handle it.&lt;br /&gt;The event is what I went with, but unfortunately it was tricky.  The event would have to be created after &lt;span class="code"&gt;Load&lt;/span&gt; has completed (unfortunately overriding &lt;span class="code"&gt;OnLoad&lt;/span&gt; or &lt;span class="code"&gt;LoadViewState&lt;/span&gt; after they have processed events does not work).  I had to implement &lt;span class="code"&gt;IPostBackDataHandler&lt;/span&gt; and use &lt;span class="code"&gt;RaisePostBackDataChangedEvent&lt;/span&gt; to be able to fire my event at the correct time.  To get this to work you need to use &lt;span class="code"&gt;Page.RegisterRequiresPostBack(this);&lt;/span&gt; in your &lt;span class="code"&gt;OnInit&lt;/span&gt;.  Too bad this project isn't in 2.0 - the extra events supplied by the page would have been very useful in handling this situation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-113511975897524553?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/113511975897524553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=113511975897524553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113511975897524553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113511975897524553'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2005/12/more-fun-with-dynamic-controls.html' title='More Fun With Dynamic Controls'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-113477969689529860</id><published>2005-12-16T19:27:00.000-05:00</published><updated>2005-12-16T19:52:27.726-05:00</updated><title type='text'>Goblet of Fire</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1716/1980/1600/sft051118.1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger/1716/1980/400/sft051118.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;I got around to seeing the newest Harry Potter movie, finally :).  It was awesome and disappointing at the same time.  The disappointing part first - it was very rushed and impossible to follow without reading the book.  Luckily I have read it, but many people (or at least many I know) have not.  I think this spoiled it in a way, as the 4th book really picks up the pace for the series.  For those who have read the book though, you could follow it and the visuals were awesome.  As usual, they had to modify some things to fit them in, but this seemed to be done very well after the first portion of the movie.&lt;br /&gt;I'm not much of a movie reviewer, so that's all I have to say :).  If you've read the book, go see the movie!  If not, I don't recommend going to see this until you catch up.  (At about 730 pages, you better start reading now if you want to see it in the theaters!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-113477969689529860?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/113477969689529860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=113477969689529860' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113477969689529860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113477969689529860'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2005/12/goblet-of-fire.html' title='Goblet of Fire'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-113477854811011064</id><published>2005-12-16T18:26:00.000-05:00</published><updated>2005-12-16T23:26:53.270-05:00</updated><title type='text'>Dynamic Controls, Lifecycle, and AJAX</title><content type='html'>Well, today turned out to be a fun day too :).  For some reason, I haven't found the need to dynamically add controls to a page very often - but I certainly did today.&lt;br /&gt;Using web custom controls and server controls built into .NET, this is a lot easier than I had thought it would be.  So long as you recreate the control no later than the Page.Load event, it will participate in viewstate and postback events.  I had a small hurdle to get around, in that each pageload I needed to get the new value and then replace the control, but no big deal.  I originally thought I'd have to manually fetch the data from Request, so this made me happy.&lt;br /&gt;However, dynamically loading User Controls is not quite as fun if you don't know how.  Having never done this before at all, I thought I could instantiate the class and be done with it.  Oops!  I didn't entirely forget that the ascx side of the page is built into a class inheriting from the ascx.cs file, I was just hoping the environment could figure it out.  It can, but you need to give some hints - before adding the control, you need to place the &lt;span class="code"&gt;&amp;lt;%@ Reference Control = "MyUserControl.ascx" %&amp;gt;&lt;/span&gt; directive in the design side, and use the &lt;span class="code"&gt;Page.LoadControl("MyUserControl");&lt;/span&gt; method before adding it to a container code-side.  I didn't get a chance to play with this too much - the reference I found showed using this method only on the first load, but I'm hoping it needs to be done whenever you want to see the control - I don't want it in the page on every load or I wouldn't be adding it dynamically.&lt;br /&gt;The last bit of fun - and the one I left off on, is AJAX.  We have the &lt;a href="http://www.telerik.com/"&gt;Teleric r.a.d.&lt;/a&gt; controls suite, so I have been making use of their callback controls - having developed callback functionality before, I really appreciate that these work just by drag and drop, no other wiring needed.  However, many of my callbacks have begun to misbehave.  Some just don't update the appropriate controls anymore, even though I haven't changed those files in a while.  Others make the page lifecycle all whacky (I get two PreRender events, then my Click callback trigger event, then another PreRender event).  This means that the PreRender wipes out the information I needed to get on callback.  This problem is what led to the UserControl bit above - the project I'm working on has many nested UserControls, I'm hoping that if I dynamically load only the needed ones then any conflicts causing the weird callback behavior will be resolved.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-113477854811011064?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/113477854811011064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=113477854811011064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113477854811011064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113477854811011064'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2005/12/dynamic-controls-lifecycle-and-ajax.html' title='Dynamic Controls, Lifecycle, and AJAX'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-113469551700779302</id><published>2005-12-15T20:09:00.000-05:00</published><updated>2005-12-16T23:32:56.220-05:00</updated><title type='text'>Random Question</title><content type='html'>Wish they limited the text entry of the random question to 150 characters, I found out after I wrote a book :-P.  Nothing earth shattering, but I figured since I already bothered to type it all out I'll be darned if I don't post the full answer.&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;You're trapped in a well with a goat and a slinky.  Describe how you will escape.&lt;/span&gt;&lt;br /&gt;Sharpen the end of the slinky on the side of the well.  (This better be a metal slinky or I'll be eating goat steaks and shouting myself hoarse for help).  Shear off the goat's hair and braid a rope.  This rope with miraculously be long enough to escape, strong enough to support me carrying the poor naked creature, and catch on something outside the well so I can climb out.&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-113469551700779302?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/113469551700779302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=113469551700779302' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113469551700779302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113469551700779302'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2005/12/random-question.html' title='Random Question'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19907912.post-113469413946486019</id><published>2005-12-15T19:26:00.000-05:00</published><updated>2005-12-16T19:54:29.700-05:00</updated><title type='text'>Jumping on the Bandwagon...</title><content type='html'>Well, it took me long enough :).  Not sure if I'll end up doing this for long, or even if anyone will read it, but hey.  Since my personal life is boring, most stuff here will probably be problems I've dealt with at work.  Most of those will probably have pretty obvious solutions because my mind was toast :-P.  Hopefully some things may actually be helpful to other people though.&lt;br /&gt;&lt;br /&gt;Microsoft problem of the day was source control with Visual Studio 2003 :).  It suddenly decided to have anmesia about one of my projects, even though the other 6 in the solution were working fine.  To fix it, I ended up having to...&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Stop IIS&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Delete the project folder&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Delete WINDOWS\Microsoft.NET\...\Temporary ASP.NET Files&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Delete [User Profile Folder]\VSWebCache&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Delete the virtual directory in IIS&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Start IIS&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Start VS and download the project from source control - still gives errors here&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Close the solution&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Restart IIS&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Open the solution, click past about 5 warnings, and it works again&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:85%;"&gt;Ick!  And why did this happen?  Who knows!  Just hope it doesn't happen often.&lt;br /&gt;&lt;br /&gt;(I know I'm using the term CSS somewhat incorrectly here, but it's easier than saying "non-table layout" throughout.)&lt;br /&gt;Design problem of the day (and week, month, year) is CSS.  I've been doing a lot of reading over the last few years about CSS layout, but have always stuck to nested tables for the need to do things quickly.  However, &lt;a href="http://www.csszengarden.com"&gt;CSS Zen Garden&lt;/a&gt; has sold me on CSS- especially because we're facing a project where many clients use the same site with different skins.  However, it looks like we're still using nested tables, and using .NET 2.0 themes to handle the visuals instead :(.  Themes are a very nice addition, I'll admit, but I really like how clean the source of a page looks using CSS.&lt;br /&gt;I would definitely like to use themes with CSS to make the site work very well, but unfortunately I don't have the CSS experience yet to make a valid argument, and we are fighting a deadline.  This is actually one of my reasons for starting a blog; I hope to design my own site for it without tables (for layout) to get some general experience.&lt;br /&gt;The other side effect of using nested tables for layout is that it makes it much harder to use CSS layout components.  I've had to make a few user controls this week, and I've had to wrap them all in tables because of display issues when I only had a div container.  I can't seem to find information on exactly why, but floating divs did not play well with either firefox or IE and I had to float a table instead - which still doesn't display correctly in firefox, but luckily this particular component is only used in house where I know IE will be used.&lt;br /&gt;&lt;br /&gt;Lastly, I'm finally venturing again into open-source software territory.  Since my computer is not being used for gaming much anymore, I've decided to dual-boot with Linux and WinXP.  I still need to keep WinXP for VS.NET and gaming, otherwise I'd ditch it completely (I've gotten a little fed up having had to call to re-activate two computers this week because of minor hardware changes).  I have already switched to Firefox, and am using OpenOffice since I refuse to pay a couple hundred for another copy of MS Office (my mom needs my copy).  I haven't used it much yet, but Open Office looks very promising, and works with MS Office files.&lt;br /&gt;&lt;br /&gt;Let me say now that I doubt I will ever have another post this big :).  I've had a lot on my mind that I wanted to jot down, but didn't get around to doing it until tonight.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19907912-113469413946486019?l=sriquier.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sriquier.blogspot.com/feeds/113469413946486019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19907912&amp;postID=113469413946486019' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113469413946486019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19907912/posts/default/113469413946486019'/><link rel='alternate' type='text/html' href='http://sriquier.blogspot.com/2005/12/jumping-on-bandwagon.html' title='Jumping on the Bandwagon...'/><author><name>Scott</name><uri>http://www.blogger.com/profile/18379808041015422830</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry></feed>
