Upgrading Code from 2007 to 2010
Posted
by MOSSLover
on Geeks with Blogs
See other posts from Geeks with Blogs
or by MOSSLover
Published on Sun, 06 Feb 2011 16:34:05 GMT
Indexed on
2011/02/06
23:26 UTC
Read the original article
Hit count: 383
So I’ve been doing some upgrades just to see if things will work from 2007 to 2010. So far most of the stuff I want works, but obviously there are some things that break.
Did you guys know that in 2007 you could add a webpart to the view pages for lists and libraries without losing the toolbar? In 2010 the ribbon disappears every time you add a webpart. So if you are using Scot Hillier’s Codeplex project to hide buttons it will not work the same way, because the ribbon is going to disappear altogether.
I have also learned another reason why standalone installations are the bane of my existence. Nine times out of ten the installation is done using Network Service as the application pool account. You are wondering why is this bad? Well, let’s just say the site collection administrator with local admin rights wants to attach the IIS Worker process and debug say a webpart. Visual Studio 2010 will throw a nasty error that tells you that you are not an administrator. You will say, but I am an administrator? I have all the correct group permissions on the server and on SQL and in SharePoint. Then you will go in and decide let’s add my own admin account just to see if I can attach the debugger and you will notice that works properly. So the morale of the story is create a separate account on your development environment to run all the SharePoint Services and such. You don’t need to go all out and create the best practices amount of accounts if it’s just your dev environment. I would at least create one single account to run all your SharePoint process (Services, SQL, and App Pool). Also, don’t run a standalone install unless you want to kill kittens (this is a quote from Todd Klindt). We love kittens they are cute and awesome. Besides you learn more if you click Complete and just skip standalone. You will learn how to setup SQL Server 2008 and you will learn how to configure your environment. It will help you in the long run.
So I have ranted enough for today I figure these are enough tidbits for you this time around. The two of you who read my blog and I know some of you are friends who don’t understand SharePoint. I might as well have just done “wahwahwahwah” in Charlie Brown adult speak. Thanks for reading as usual. I’ll catch you all when I complain more about the upgrade process and share more tidbits, which will inevitably become a presentation at a conference or two.
© Geeks with Blogs or respective owner