Showing posts with label moss. Show all posts
Showing posts with label moss. Show all posts

Monday, March 28, 2011

Migrating Sites to different Site Collections


There are three methods to exporting/backing up a site.
  1. Saving Site as Site Template
    • ​Click on site actions / site settings
    • Save Site as Site template
      • ​Click Include Site Content
    • Browse to Site Gallery
    • Save .tmp file
    • New Site Collection
    • Browse to New Site Gallery
    • Upload Site Template
    • Create New Site
    • Use Custom Site Templates

  2. Using SharePoint Designer
    • Open Site in SPD
    • Click Site > Administration > Back Up Site
      • Click Include Site Archives
    • New Site Collection
    • Create New Blank site
    • Open new Site in SPD
    • Click Site > Administration > Restore Site
    • Select the backedup site (.cmp)
    • Click Restore

  3. ​​Using STSADM CMD
    • On the SharePoint Server, Open CMD as Administrator
    • Browse to ​C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Bin
    • Backup: STSADM -o export -url http://spsite:80/Site -filename c:\export\Site -includeusersecurity
    • Create new blank site
      • STSADM -o createweb -url http://newspsite:70/Site1
    • Restore: STSADM -o import -url http://newspsite:70/Site -filename c:\export\Site.cmp -includeusersecurity
​All Three Methods should successfully move/migrate your SharePoint Site.

**TIP**
If your new site uses a different Master Page, you may receive the error FILE NOT FOUND.  if so, do these following steps to fix the error

  • FILE NOT FOUND
    • Click on the new site that is erroring
    • Browse to the settings
      • /_layouts/settings.aspx
    • Click on Master Page
    • Click off inherit Master Page and select the current Master Page
      • Reset all Sites to Current Master Page.
    • Click Okay
  • ​Now the site should be back up.
    • ​​Afterwards you can go back and switch the Master Page to inherit.
    Hopes this helps someone in the future.
    ​

    Tuesday, December 7, 2010

    Upgrading to SharePoint 2010

    I was going to start typing up an upgrade blog then I stumbled onto this really nice set of articles by Anshul.  So instead of re-blogging I will just link to his blog and give him the credit for his work.  Enjoy.

    Here are the 4 Approaches Anshul took when upgrading from MOSS 2007 to SharePoint 2010.

    In-Place Upgrade
    The InPlace upgrade is the easiest way to upgrade from MOSS 2007 to SharePoint 2010. In this approach you will install SharePoint 2010 on the same machine where MOSS 2007 was installed and the Upgrade wizard will upgrade MOSS 2007 to SharePoint 2010.

    Database Attach Upgrade
    In database attach approach you install the SharePoint Server 2010 on a fresh Machine and you upgrade all the sites from your MOSS 2007 server by detaching the Content databases from MOSS Server and attaching them to the SharePoint 2010 server.

    Hybrid Approach 1
    In this approach you can make the databases of your MOSS 2007 farm read only and then Install SharePoint 2010 on a different machine. Upgrade your MOSS 2007 farm using the Database Attach approach. (On the new SharePoint 2010 farm) and the redirect your users to the new upgraded farm. This will allow you to give read only access to the users while the farm is being upgraded so it will help you in downtime mitigation.

    Hybrid Approach 2
    In this approach you can detach your content databases and then do an In-Place upgrade once that is done you can attach the databases using the Database Attach approach. The benefit of this approach is that you can have the speed of the DB Attach upgrade and you can also keep your farm wide settings as you are upgrading the farm by using the In-Place upgrade.


    Upgrade Methods in SharePoint 2010: Part 1

    Upgrade Methods in SharePoint 2010: Part 2

    How To Upgrade to SharePoint 2010 using Database Attach method: Part 1 

    How To Upgrade to SharePoint 2010 using Database Attach method: Part 2

    [courtesty of Anshul Sehgal - http://sharepoint2010blog.blogspot.com/]

    Monday, December 6, 2010

    Displaying a Holiday or Monthly Event in a Web Part

    I created several custom lists that display a specific Holiday, Pay Dates, Birthday, Etc...
    I now want this list to display as a web part and only display the "current month" activities.   After trying a few methods, I stumbled upon this calculated column to solve my issue.

    • First I created all the custom columns, including a Date Column (DateDisplay).  
    • Then I created a Calculated (calculation based on other columns) Column
    • Named it ItemDisplay
      • Made it a Content Type
      • Inserted the following formula: 
        • Calculated (calculation based on other columns)
          =IF(MONTH(Today)=MONTH(DateDisplay),"1","0")
        • Finally made the Data Type Return a Single Line of Text.
    • Next I added the web part, edited the current view
    • Place a filter on it so it shows only Items, "ItemDisplay" is Equal to 1
    What the calculated value means
    =IF the current Month of (Today) EQUALS the Month of (DateDisplay)
    Then set the value to 1, if not then set it to 0
    The Web Part filter will then display only items Equal to 1

    EDITED: I haven't been able to make this process automated, but at the beginning of each month, I just edit the current months items, don't make any changes, just save the item and the formula will kick in and display the month as a 1.  Hope this makes sense.

    Wednesday, December 1, 2010

    Proper path to upgrade your SharePoint 2007 to SP2

    Below are the steps and links to upgrade SharePoint 2007 to SP2, properly. You must perform these upgrades before you migrate to SharePoint 2010.

    1.Download the WSS 3.0 SP1 from the below link
    http://www.microsoft.com/downloads/details.aspx?FamilyID=4191a531-a2e9-45e4-b71e-5b0b17108bd2&displaylang=en

    • Download the WSS 3.0 SP1 and run the .exe file
    • Once installation is successful run the "SharePoint Products and Technologies Configuration Wizard" (This wizard should complete all the steps successfully)
    • Recommended Reboot


    2.Download the MOSS SP1 from the below link
    http://www.microsoft.com/downloads/details.aspx?FamilyId=AD59175C-AD6A-4027-8C2F-DB25322F791B&displaylang=en

    • Download the MOSS SP1 and run the .exe file
    • Once installation is successful run the "SharePoint Products and Technologies Configuration Wizard" (This wizard should complete all the steps successfully)
    • Reboot (This Reboot is necessary)


    3.Download the WSS 3.0 SP2 from the below link
    http://www.microsoft.com/downloads/details.aspx?FamilyID=79bada82-c13f-44c1-bdc1-d0447337051b&displaylang=en

    • Download the WSS 3.0 SP2 and run the .exe file
    • Once installation is successful run the "SharePoint Products and Technologies Configuration Wizard" (This wizard should complete all the steps successfully)
    • Recommended Reboot


    4.Download the MOSS SP2 from the below link
    http://www.microsoft.com/downloads/details.aspx?FamilyID=b7816d90-5fc6-4347-89b0-a80deb27a082&displaylang=en

    • Download the MOSS SP2 and run the .exe file
    • Once installation is successful run the "SharePoint Products and Technologies Configuration Wizard" (This wizard should complete all the steps successfully)
    • Reboot (This Reboot is necessary)


    **In order to upgrade to SharePoint 2010 YOUR MOSS2007
    MUST BE AT SERVICE PACK 2.

    SharePoint Users : Last Name Change

    This has come up twice now, So I figured I would address this for any future situations... But I received a call this morning, that a user changed her last name. Simple, I first figured, it was updated in Active Directory, so once the SPuser sync occurs everything should be updated... right?

    Not so right... I noticed this did not update properly, the account name was updated as well as the Name field. But the email, Last name, and User Name still showed the old last name.

    My next step was to delete the user out of the SharePoint group and re add the user. Well same result, right account name, wrong username...

    I figured there now has to be a way to delete a single user from the entire site collection then re add them back in as a brand new user, I clicked on the user, and it took me to their mysite, then I clicked on "View User Info" and it took me User Information, where I could edit the user or Delete User from Site Collection. Instead of manually editing the user, I went ahead and deleted them the site collection. Then once I re added them to the SharePoint group, it went out and pulled the new users from AD along with all the updated fields.

    I found this odd because one would think this should be an automatic syncing feature, but apparently not.

    If anyone has encountered this and AD automatically updated the user in SharePoint, give me a shout.

    Thursday, November 18, 2010

    My Personal Sharepoint Archives

    I am turning this blog into my own personal tricks section, I am constantly searching the web for tricks on sharepoint, when I find them I usually bookmark the site, well I have been noticing I got alot of bookmarks! So I have been thinking about a way to utilize my blog but give myself a reason to keep blogging, what I came up with is each time I find a tip or trick that worked for me, I will blog it and give the website credit. I figured if you come across my blog in a search engine and are able to use these tips or tricks, then maybe this blog is worth writing and keeping alive.

    Lets see how this works out.

    Wednesday, August 19, 2009

    SharePoint Tips and Tricks - 8/19/09

    Some great links I would like to share, These webcasts have helped me greatly in my domination over SharePoint, a lot of Technics I have discovered came from reading many SharePoint blogs, I have listed a few favorites below.

    Microsoft Office SharePoint Server (MOSS) is only growing, and Microsoft has seen what companies are doing with MOSS, so it will only get better. Along with the name change, Microsoft SharePoint 2010 will pull out all the stops, they are introducing several Microsoft technologies into SharePoint 2010; Business Intelligence, Performance Point, Groove... just to name a few... SharePoint 2010 will also have a slightly new look to match the MSOffice 07 Roll out. They will introduce the Ribbon and add Silver Light interaction web parts. Microsoft is planning on announcing all the features and will be providing a demo at the SharePoint Conference 09, which is in Las Vegas, NV in October. I will be viewing all the online webcasts during this event, so I will keep you posted.

    Enjoy the following MOSS Links:

    Microsoft Office System Webcast Level 100 Users

    SharePoint Designer 2007 Help and How-to

    SharePoint Tips And Tricks is Ishai Sagi's sharepoint blog

    SharePoint Bootcamp

    Advanced SharePoint Videos and Whitepapers

    Sneak Peek of SharePoint 2010