in

Platinum Bay

Peace, Love and Visual Studio Team System

.NETicated

Site Upgrade – Update 1

So I finally got Community Server 2007 installed, well upgraded from version 2. Seeing how I just spent the better part of 9 hours doing it, I thought I'd recap for anyone who might run across the issues I did.

The main issue I encountered occurred when I uploaded the new content files, and installed the database update script. When I tried to access the site, I got an exception "Specified cast is not valid." No matter how much kanoodling I did with tracing, compilation debug and turning off custom errors, I could not find a real answer as to the source of the problem. The only real clue was that the stack trace ended at "CommunityServer.Components.CommonDataProvider.PopulateUserFromIDataReader." I check out the method in Reflector, and sure enough it is unboxing values from the database, which must mean that the problem is at the database level.

To back up a sec, I host with GoDaddy. They don't allow remote access to their databases, and their web UI tool is pretty bad, so I've been using the Database Publishing Wizard and Service. I couldn't use either of the two methods listed for deployment, so I used the alternative option. Unfortunately, I didn't realize that somehow the .SQL file was blocked to requests, and the updates never happened to the database. Ultimately, I ended up changing the extension to .TXT, and the script ran.

So now Phase 1 is done, and we're onward and upward to Phase 2 – the fun part. I need to slice up my Photoshop files and integrate them into a CS theme. Oh, look at the hour! I guess I'll be doing this stuff tomorrow.

Napte buna!

Comments

No Comments

Leave a Comment

(required )  
(optional )
(required )  
Add

About Steve

Steve Andrews has been working as a developer for more than 8 years. During this time, he has designed and developed applications in such widely varying areas as trust accounting, medical information management, supply chain management, and retail systems. He has firsthand developer experience with a variety of languages, including Java, VB, and .NET. Most recently, he has been immersed in SharePoint. He is currently employed at RDA Corporation in Philadelphia, PA, as a Software Engineer and a team member in the Architectural Guidance evangelism team. Steve is also an MTCS (x2), ICSOO, and .NET fanatic.
Powered by Community Server (Commercial Edition), by Telligent Systems
© Platinum Bay | Some Rights Reserved Creative Commons License

Disclaimer: The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever (abusive, profane, rude, or annonymous comments) - so keep it polite, please.