January 2007 - Posts

Installing SQLce 2005 Tools for VS2005 SP1
Filed under: ,
PostedMonday, January 22, 2007 12:08 AM by Nino

Last week, I attempted to install the SQL Server 2005 Compact Edition Tools for Visual Studio 2005 Service Pack 1 and received the following error message:

The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch.

How did I work through this issue?  I did a repair on my Visual Studio 2005 [Team Suite] installation and then re-installed Visual Studio 2005 Service Pack 1.  After this, I attempted the SQLce VS tools install (SSCE31VSTools-ENU.exe) again.  Success!

Of course, performing a repair install on Visual Studio is something we would all rather avoid (and the SP1 re-install).  By the time I went to perform the install on a second dev box, I found a better way:

From the original Visual Studio installation media, locate the \WCU folder and install SQL Mobile from there.  After that is complete, retry the SQLce 2005 VS tools install. (credit to Amit Chopra from the Visual Studio for Devices team for the tip).  For more, check out this thread from the sqlce newsgroup in which fellow MVP Ginny Caughey answers questions.

If you want the download links for all the SQL Server Compact Edition 2005 bits, check out my prior blog post where I list all the downloads.

Accessing Slingbox through Microsoft ISA Server
Filed under:
PostedSunday, January 21, 2007 6:39 PM by Nino

I recently had a reader of my SlingBox review from last spring inquire about my ISA Server configuration to allow me to remotely access it the Slingbox. Here's what I did:

On the ISA Server:

Note: I am running Microsoft ISA Server 2006; these instructions should also work on Microsoft ISA Server 2004.  I am also assuming that you are comfortable with creating new protocols and firewall access rules.

  1. Create a new protocol (I called it 'Sling') with:
    1. Protocol type of TCP
    2. Direction of Inbound
    3. Port range of 5001.
  2. Create a new access rule (called it 'Remote Slingbox') with:
    1. Action of 'Allow'
    2. Traffic using the previously created 'Sling' protocol
    3. From External
    4. Tto your Slingbox's IP (I also have 'requests appear to come from the original client' selected, but the use of this option somewhat depends on how you have things set up) 
    5. Networks for the listener of 'External'
    6. Schedule set to your preferences (I'm using 'Always').
  3. Apply the access rule and ensure it is enabled.

On the Slingbox:

  1. Connect to your SlingBox via SlingPlayer on your PC, then navigate to Slingbox > Properties in the menu.
  2. Select the Slingbox Configuration tab.
  3. Location the 'Network Settings' section. Click the Change button, this will launch the Slingbox Setup Wizard.
  4. Enter in the administrator password as prompted, hit next.
  5. Check the "I'm ready to setup remote viewing for my Slingbox" box.  Also check the "A do-it-yourself kind of person?" box (since we won't be using UPnP to configure ISA) Click Next.
  6. Enter in the IP Address of your Slingbox, the subnet mask, and the default gateway (which, if it is your gateway, is the internal IP address of your ISA Server).  Also enter in the port number you want your Slingbox to listen on (I'm using the default of 5001). Click Next.
  7. Select the 'Manually configure your router' radio button (again, as we're using ISA Server...). Click Next.
  8. Click Next on the 'Manual setup' dialog without making any selections.
  9. If you have your ISA Server already configured (see above), you might want to test your connection now, otherwise, select 'I want to skip this for now'. Click Next.
  10. Click Finish, which returns you back to the Slingbox Configuration tab. Click OK.

At this point, you're ready to test. Fire up your Slingbox client (I tested using my Windows Mobile Smartphone).

Something else that may be useful here is a dynamic DNS service to make it easier to find access your system remotely (which, if you're running ISA Server at home, you very well already have).  I'd like to toss out a recommendation for DynDNS (http://www.dyndns.com).

SQL Server 2005 Compact Edition Official Release!
Filed under: ,
PostedSunday, January 14, 2007 11:44 AM by Nino

Microsoft has now RTW'd (release[d] to the web) the final bits for SQL Server Compact Edition (SQLce) 2005 (aka SQLce 3.1):

Go get the bits and be certain to read the associated KB articles.

Doug Reilly - you will be missed
Filed under:
PostedMonday, January 01, 2007 9:20 PM by Nino

Catching up on blogs I just saw Ryan's post about fellow MVP Doug Reilly.  Doug lost his battle with cancer on December 23 (Here's Jean's post).  Scott Watermasysk posts, too.

As both Scott and Ryan noted, Doug was a great guy. Admittedly, I didn't know him well (mostly virtually), but I can say that he was one of the nicest, most helpful guys out there.

Why not spare a few dollars and make a donation to the LiveStrong foundation?

CS 2.1 SP2 - upgrade successful!
Filed under:
PostedMonday, January 01, 2007 8:55 PM by Nino

I upgraded nino.net tonight to Community Server 2.1, SP2  from CS 2.0.  I was already running on ASP.NET 2.0, so that saved me a few steps.

I did my upgrade something like this:

  1. Download and unpack CS 2.1 SP2 (ASP.NET 2.0) bits.
  2. Get my host to back up my database. 
  3. FTP down my database backup.
  4. FTP down my web bits and diff against what I have under version control in TFS.
  5. Update my web.config and CommunityServer.config files.
  6. Take a large drink of water (really, water) and a deep breath.
  7. Uploaded my App_Offline.htm file.
  8. Connect to my hosted SQL Server 2005 database via SQL Management Studio
  9. Ran cs_2.x_to_2.1_upgrade.sql via SQL MS. 
  10. Waited (for disaster).
  11. Saw the [happy] green circle with the white checkmark and the words "Query completed successfuly".  </gasp> 
  12. Ran through the output in the message window. Hot damn! It really worked.
  13. Connected to my website with FileZilla and deleted all the CS 2.0 bits.
  14. Uploaded the CS 2.1 SP2 bits.
  15. Uploaded the assemblies for Scott Watermasysk's CS Modules
  16. (feeling optimistic at this point) Renamed App_Offline.htm to App_Offline.htm.foo
  17. Fired up IE and hit the site.
  18. w00t!

My first CS upgrade that has been completely painless. Nice. :-)