March 2006 - Posts

Day of .NET - It's coming. . .
Filed under:
PostedFriday, March 24, 2006 9:06 PM by Nino

Day of .NET   - Saturday, May 13, 2006 -  Ann Arbor, MI

 
I'll be there.  Will you?
The Mobile Minute 136
Filed under:
PostedFriday, March 24, 2006 6:27 PM by Nino

TGIF!

Software / Hardware

 Development

In Other News . . .

The Mobile Minute 135
Filed under:
PostedTuesday, March 21, 2006 6:06 AM by Nino

  TMM is publishing again... it was one of those "life gets in the way things"...

Software / Hardware 

 Development

In Other News . . .

  • Day of .NET - Ann Arbor, MI - May 13, 2006     Be there!

Now Listening: Nick Cave and The Bad Seeds - Bring It On

Good DevCare session this past Friday
Filed under:
PostedTuesday, March 21, 2006 2:39 AM by Nino

Friday's DevCare session went pretty well.  Drew did a cool 'Intro to Platform Builder' and put the Windows CE image he built onto his GumStix.  My 'Native/Managed Dev w/ VS2005' went pretty well and Josh did a good session on 'Connecting Mobile Applications' (in which he was kind enough to let me interject a few times).  I just wanted to thank Drew and Josh for asking to speak - a good time was had by all.

-Nino

UPDATE:   Grab the presentation materials from here

A CS2 trust error
Filed under: ,
PostedFriday, March 17, 2006 3:07 AM by Nino

So, my CS 2.0 setup is running just fine for the last four days and then I hit it from my hotel in Southfield tonight and <gasp>  it’s broken!  I was presented with this:

GAH!!!!    Two things are evident to me:  1) I was stoooopid and left custom errors as “Off” and 2) It’s trying to override the trust level (why didn’t this break before?  I saw this in my dev environment, but not production, so I didn’t apply the fix).

So, the fix for #1 is to change it to “RemoteOnly” (duh), and the fix for #2 is to change  <trust level="Medium" /> to <!--<trust level="Medium" />-->.  As a reminder, the reason that the trust override is failing is because my host has locked access to this section (as they rightly should).  Also, they are running a modified version of Medium trust, as will ‘standard’ Medium Trust, web services are not allowed.

Fix the web.config, FTP it up. All better.  Oh, and MikeWo has informed me that my gallery photos aren’t showing up… :(

-Nino

P.S. The Mobile Minute will be back this weekend :)

EDGE Icon Tweak
Filed under:
PostedThursday, March 16, 2006 12:02 AM by Nino

If you have one of the newer* ROMs for your HTC Wizard (aka Qtek 9100 / i-mate K-JAM) and your network supports EDGE, one tweak you can make is to change your network icon to indicate when you have an EDGE connection and when you have a GPRS connection.  In other words, the “G” icon will show when you have GPRS and a “E” icon will show when you have EDGE.  This should also work on the HTC Tornado (i-mate SP5 / Qtek 8310).

How?   Edit a registry key, specifically HKLM\Drivers\BuiltIn\RIL   Change EnableDifferGprsEdgeIcon to have a value of 1.

Don’t have a registry editor, or you don’t want to futz with the registry?  No problem!  Download this .cab file and run it on your device (or better yet, point Internet Explorer Mobile to the URL and pull it down directly on the device).  If you're wondering, I created the .cab file myself.  I plan on putting together additional tweaks in the weeks to come.

Now, there’s a slight catch (of course, eh?) – it won’t take effect immediately if you soft-reset due to the way the registry flushing works in Windows Mobile 5.0. So, what you can do is either 1) turn off  your PPC (hold the power button until you receive the “Device will be off… “ prompt – tap yes to the prompt), then turn it back on again   – or – 2) Wait a few minutes, then soft-reset your device.

When the device reboots, check your icon and, if you have EDGE, you can do the standard, “ooh, look .. shiny!”  :)

-Nino

*ROM 1.6.7.1 or higher on the Qtek 9100.

Speaking at Microsoft Developer Care Event - Mobile App Dev March 17
Filed under: ,
PostedWednesday, March 15, 2006 2:08 AM by Nino

I’ll be speaking at the Microsoft Developer Care event this Friday, March 17 in Southfield, MI. Registration is here.  Come up and see me, Drew Robbins and Josh Holmes at this event.

Location:

Microsoft Corporation

1000 Town Center, Suite 1930

Southfield, MI  48075

 

11:30 – 12:00

Lunch

 

12:00 – 1:15  Building a Windows Mobile Device

To kick things off, we’ll demonstrate how to build a Windows Mobile 5.0 device using Microsoft’s Platform Builder tools. You may never build your own device, but this session will help you better understand the Windows CE operating system and the components available to you for building applications. If you will be creating devices with the Windows Mobile operating system, this session is essential for understanding Platform Builder and the various components involved with creating a device.

 

1:30 – 2:45  Creating and Deploying Mobile Applications

Now that we have a Windows Mobile 5.0 device, we’ll discuss how to target that device with Visual Studio 2005. This session will cover the options for creating applications using unmanaged code as well as applications built on the .NET Compact Framework. We will use Visual Studio 2005 to build an application and deploy it to a Pocket PC.

 

3:00 – 4:15  Connecting Mobile Applications

The true power of mobile applications is realized when the device allows us to take our work with us and stay connected to the home office. In this session, we’ll demonstrate how to build applications that synchronize with the desktop, connect to services on the Internet and integrate with enterprise systems.

 

4:30 – 5:00  Question & Answer

Stick around to ask questions of the Developer Care speakers.

CS2 Upgrade - the details
Filed under: ,
PostedWednesday, March 15, 2006 2:01 AM by Nino

So I’ve upgraded to Community Server 2.0 – here’s my story:

Why?

I was looking for some issues (defects) to be addressed, podcasting support, and the redesigned control panel and management tools.  I was also looking for .NET 2.0 support.

How?

First, I did an upgrade in my dev environment.

1) I downloaded Community Server 2.0 (Web Install) – ASP.NET 2.0 and unpacked that .zip file.

2) I backed up my database and copied the web files

3) I restored my database and set up the web files locally so I could then hit the site as nino.mydomain.com

4) I (gasp) read all of the README files in CS 2.0

5) Since I was going straight from CS 1.1 to CS 2.0, I executed CS_1.1_to_2.0_upgrade.sql

6) Since my CS site is on a hosted web site, .NET 2.0 is remanded to running under medium trust, with no ability for me to override that, I need
to leverage the ASP.NET 2.0 Medmbership functionality, so I execute
CS2.0 Update Membership to ASPNET2.sql

7) Instead of overwriting my existing files with contents of the CS2 /Web directory, I deleted all the web files and replaced them with the contents of the /web directory.

8) I updated the database connection strings (yes, there are two) in the web.config.

9) I changed the machine-level web.config to medium trust

9) I hit the site –  it comes up.  I walk though a number of admin things and verify that all is well

Now that the dev site is working, I figured I’d have the same ease of upgrade on my production site (heh).  I proceded to execute the steps I just did on my dev site beginning with step 5.   I see errors. Some of them fairly benign, some not, and some just plain odd. *sigh*  Against my better judgement I decide to execute the script from step 6 as well. More errors.  At this point I’m a bit unclear as to why I’m getting errors that I did not get in my dev environment (which is a backup of the production environment).  Of course, also at this point, my blog is pretty much useless short of a db restore (which is no instant matter given that my db is hosted). So, what to do? 

I decide to take the impatient optimist approach (if you can call it that) – I decide to put the web files in place and see what is broken and move forward from there. I complete steps 7 and 8 (and I turned off custom errors in the web.config).  I start working through the errors and running individual bits from the db upgrade scripts. This is going to take awhile, so I think that a faster approach would be to diff the two databases and see what’s out of whack.  I grab a trial edition of Red-Gate’s SQL Data Compare (which, by the way, is really slick) to generate a difference script.   I gen’d a diff script - twice (just in case).  I applied the diff script.  Errors.  *sigh*  I hit the site again – more stuff works.  I actually run the diff script again (which fixes more stuff while additional errors are thrown).   

At this point, most of the stuff in CS2.0 works, although I can’t create new blog posts (of primary concern to me) and a few other small details.  So, what to do? More debugging?  Nope. This is where is the “impatient” part comes in. I’ve sunk several hours in already, and well, decide to short-circuit the matter.   I take a backup of my dev db, FTP it up to my site and send an e-mail to the support alias to get it restored over my production db.  The swell folks at Server Intellect respond pretty promptly (better than the folks at my old host, but more on that later) and restore my dev db backup into production.  Sweet.    Oh yeah, I also got a backup of my futzed-up db for analysis later. 

Summary

So, outside of the snafu with updgrading the production database, it went pretty smooth. I’ll take a look at the futzed-up db this weekend.  I also realized tonight that I have another issue to address – URL redirects.  I previously solved this using a redirect handler which don’t work (out of the box) on ASP.NET 2.0, so I need to do some work.

I also have some work to do around re-skinning the blog, updating links (blogroll anyone?) and such.

Update:
I've gotten a few comments (well, not post comments, obviously) about my decision to do the restore vs sorting it out.  Here's the deal: I had sunk several hours into sorting the issues (more than I had expected) and needed to get it running ASAP so I could devote time to other things. You could make a parallel between my 'restore or debug' decision and the classic 'build vs buy' decision.  Could I have debugged it?  Yep.    Furthermore, I might have just taken the course to do a restore on my working dev db from the start and avoid attempting to upgrade my production db, but I, obviously, didn't think about going that route from the beginning.

Upgraded.
Filed under: ,
PostedTuesday, March 14, 2006 5:07 PM by Nino

Finally.  Upgraded to Community Server 2.0 - and it wasn't all easy-peasy. 

-Nino

Moving around
Filed under:
PostedSunday, March 05, 2006 8:00 PM by Nino

FYI: Over the next day or so I'm going to be moving web hosts (and of course, DNS records), so things might be a little whacked over the next forty-eight hours.

UPDATE (20060307:0140):  Looks like everything is in place.  So, um.. if you're reading this.. yeah.  I'm now running my CS 1.1 install on SQL Server 2005.  I may try to upgrade to CS 2.0 by the weekend, but I need to make sure that *everything* has settled in ok over here first.   If you're wondering, I am now hosting at Server Intellect  (Thanks, Ryan)


-Nino

RIM settles with NTP for $612.5M
Filed under:
PostedFriday, March 03, 2006 8:50 PM by Nino
Read:
http://www.computerworld.com/mobiletopics/mobile/story/0,10801,109216,00.html?source=NLT_BNA&nid=109216
http://money.cnn.com/2006/03/03/technology/rimm_ntp/index.htm?cnn=yes

-Nino
Four things meme
Filed under:
PostedFriday, March 03, 2006 2:53 PM by Nino

I see that James has tagged me with the four things meme, so here we go:

Four Jobs I’ve had…

  • Grocery Bagger
  • Grocery Stocker
  • Data center backup operator
  • Software Developer

Four movies I can watch over and over…

  • The Usual Suspects 
  • Clerks
  • It’s a Wonderful Life
  • Snatch

Four TV shows I love to watch…

  • CSI (Las Vegas)
  • Mythbusters
  • Battlestar Galactica
  • Good Eats

Four places I’ve been on vacation…

  • Honolulu, Hawai’i
  • Pawley’s Island, SC
  • Hilton Head, SC
  • Portland, OR

Four favorite dishes…

  • Buttermilk Pancakes (The Original Pancake House)
  • Seafood Broccoli wood-fired pizza (Pomidori’s)
  • Gnocchi
  • Zabaglione (ok, it’s a dessert…deal.)

Four websites I visit daily:

Four places I’d rather be…

  • O’ahu’s North Shore
  • Portland, OR
  • by an ocean
  • out to dinner anywhere with my wife

Four bloggers I’m tagging:

-Nino

The Mobile Minute 134
Filed under:
PostedFriday, March 03, 2006 12:52 AM by Nino

 

Software / Hardware 

 Development

In Other News . . .

The Mobile Minute 133
Filed under:
PostedWednesday, March 01, 2006 11:28 PM by Nino

 

Software / Hardware 

 Development

  • Handster – a solution to enable purchasing from your Pocket PC

In Other News . . .