I reinstalled Windows 7 this weekend. This time I have decided not to install iTunes or QuickTime or any software from Apple on my main Windows machine. That said, I do want to access the pictures on my iPhone through Windows. After the reinstall, my iPhone wasnt recognized by the OS and it gave me an error about “Unable to install MTP USB device”. The fix is to go into the Device Manager, Uninstall the “Unknown MTP device” and scan for hardware changes. Windows 7 enumerated the devices and recognized the iPhone without any issues. A day without iTunes is a good computing day!
Getting Ready for SharePoint 2010
November 2, 2009Last month at the SharePoint conference in Las Vegas, Microsoft unveiled the feature set and hardware requirements for SharePoint 2010. 2010 requires 64 bit hardware and that might mean a significant re-platforming of your existing developer machines. With MOSS 2007 developers were free to run a test environment on their 32 bit machines using Virtual PC. Bamboo Solutions even came up with an innovative solution to run MOSS 2007 locally on Vista machines
However, If you are a SharePoint developer and you currently have a 32 bit machine, there are some significant changes coming down the road.
First, if you can, move on to a 64 bit platform. Irrespective of whatever OS you run(Windows 7 , Vista or Windows Server 2008) moving to a 64 bit platform provides you the flexibility to run 64-bit 2010 Virtual machines natively using Hyper-V or VMWare Server or Virtual Box
If you are running Windows 7 and do not want to deal with VMs, there is an interesting option called “Boot from VHD” in Windows 7. With this option, you could boot directly into a Windows 7 or Windows Server 2008 test environment VHD and hence leverage all of your system resources within the VHD. Here is a great post that talks about the steps to prepare a VHD and boot from it.
If you are stuck with a 32 bit machine and you are not part of a hardware refresh cycle, you have one option. If your machine has a Intel/AMD chipset that supports virtualization, make sure to update your BIOS by visiting the manufacturer’s website. Once your BIOS is updated, you should see an option to turn on Virtualization within your BIOS setup. After turning on virtualization within the BIOS, you can run your 2010 VMs. Currently, VMWare Server 2.0 and Sun’s VirtualBox support running 64 bit guests on 32 bit hosts. The performance of these VMs on 32 bit hosts leave a lot to be desired and is definitely not recommended for hard core SharePoint development. You will be better off developing off of a Hyper-V or VMware Server hosting your VMs remotely.
SharePoint 2010 New Features
August 24, 2009Microsoft has released a couple of sneak peek videos about SharePoint 2010 at http://www.microsoft.com/sharepoint
Here are some of my notes from these videos
Business Value
The SharePoint pie from MOSS 2007 has been changed for 2010. Instead of focusing on generic portal topics, the focus is more on the business value of SharePoint. Here is the new pie
Sites
Sites are all about sharing info with employees/partners/customers – empowering customers across all mediums
Team Sites, Internet Facing sites, extranets for customers and partners
Communities
Ad-Hoc Communities
Communities in terms of hierarchy (comes from AD)
Communities now include Business Partners. You could search for users who are non-employees
Content
Collaboration Content
Line of Business Content
People Centric Content
Search
FAST Search is integrated into SharePoint
Highly scalable Search engine
Emphasis on getting the right results on the first page
Enhanced People Search
Enhanced Business Data Search
Insights
Combination of all the above
Microsoft’s vision is a decision engine that brings other tools into unison
Composites
Help rapidly create dynamic business solutions
End user applications
Business Processes
Tools and integration with SharePoint Designer, Visual Studio
New Features
- Ribbon inside SharePoint
- Customizable Ribbon
- Contextual
- Removable and users have the option to go back to the MOSS 2007 interface
- Asynchronous user interface – minimal postbacks
- Dialogs employ DHTML effects to gray the background and provide user dialogs
Functionality previously available under the Content and Structure pages are now available in the main library
Multi select documents to checkout /check -in/delete etc.
Customization Capabilities
- Page edits are called Web-Edits – This replaces the Site Text and font etc.
- Live Preview of fonts/colors etc, similar to Office 2007
- Upload and modify Images directly instead of uploading first to a image library
- Picture Tools provide Resizing of pictures directly using the picture
- Changing styles like having borders etc. for images
SilverLight
- Add SilverLight web parts without additional configuration
- Just point the web part to a XAP file in a document library
Interactive zoom is available on SilverLight web parts
Theming
- You can theme SharePoint using the same theme as PowerPoint
- e.g Upload a Powerpoint theme
Choose the theme and apply it to the site
Now the site looks like the Powerpoint slide
You can preview a theme on the site before applying it - Firefox is fully supported and can do the same things as IE
- Completely redesigned Sharepoint Designer with Ribbon
Visio Services
- Visio can connect to backend and visualize the data
- Can publish visio into SharePoint and can render them without the need for visio on the client (similar to Excel Services)
- This functionality is called Visio Services
- Can zoom in and zoom out of diagrams
- Needs a good Visio design first for Business processes
BDC is now Business Connectivity Services
- Can take LOB data offline using SharePoint workspace Manager(previously Groove)
- Tools in SPD and VS for modeling LOB entities
- External data are called Entities – they live in BCS and you can work with them in SPD
- External Content types based on these LOB entities can be created within SPD
- There is a browser within SPD which can browse SQL Databases and provide views/stored procs etc.
- You can right click on an entity and create CRUD operations on it using a simple wizard and publish from SPD
- External data gets converted to a list like view
- Users can filter and sort BCS data and work with it like they would with a SharePoint list
- Users can seamlessly update data in 2010, which will automatically update the LOB system
- You can create a Word template with BDC elements and publish to a library. When the user creates a new document they can pick those BCS entities within Office
- To take items offline use Groove – SharePoint workspace manager – Click on Sync to Computer
- Lists/Libraries are all synced
- LOB data flows offline in Groove
- Can edit LOB data when offline and sync back when connected
Whats New for Developers
- Visual Studio 2010 has Visual Web part Designer. No more building tables for layout. You can drag and drop and create controls within web parts, similar to ASP.NET forms
- Developer Dashboard – can allow any page to provide debug info
- LINQ for SharePoint has been released and allows developers to use LINQ objects to query SharePoint lists
- Client Object Model – can run code on the client using JS/.NET. This is especially useful when building Silverlight applications
- Supports TFS , automated builds
- New Project Templates are available in Visual Studio 2010
- Comes with a SharePoint Server Explorer within VS
- Can lookup Sites/Lists etc. as just like SQL Explorer in visual studio
- Can automate post deployment tasks – no more post deploy batch files required, UI to specify deployment steps
- There is a BDC explorer within VS to explore LOB data from within VS
- Visual Web part project comes with Features and Packages automatically. Complete drag and drop functionality to visually build a web part
- SilverLight can use Client Object Model to access list data using Microsoft.SharePoint.Client namespace
- Runs CAML queries asynch and provides a rich client side object model to access data
Whats New for Administrators
- New SharePoint best practices analyzer – Comes with a set of pre-built rules , You can build your own rule if you need. It can automatically correct issues provided you set it up to do so
- New Central Admin Console look and feel. Items are grouped differently compared to the 2007 version
- New Backup and Restore Tools in the UI
- Visual Upgrade option – Can upgrade 2007 to 2010 and keep the old layout and customizations
- New SQL Logging Database – Developers can write code to log to this SQL database , Can write your own events into the logging database, Whole bunch of out of the box reports for logging
- Scalable List infrastructure - Can control how many items get returned from a list , Can set happy hour deadlines to filter the number of items in a list based on time of day
- Unattached Content DB recovery – If you need to recover sites/lists from a DB backup you can do so without restoring it onto a temporary site. You can also – Browse content, Backup the site , Export site and all of this without restoring it onto a site
- Upgrade looks and feels like 2007 – Can preview the new look and feel and revert back to the old version
All Microsoft Blogs in place
May 5, 2009This is an excellent blog post aggregating all Microsoft Blogs and broken down by technology
http://blogs.technet.com/blogms/pages/directory-of-microsoft-team-blogs.aspx
6 Things that you think will work in SharePoint but doesnt
May 1, 2009- When you have a Gantt view of the Task List, Web part connections are unavailable. Hence you cant filter a Gantt View using the Filter Web Parts
- DateTime columns cannot be used for Grouping in the Content Query Web Part out of the box
- You cannot use the PortalSiteMapProvider to retrieve Navigation items from another site collection
- If you have a Date Column in a List, it cannot be used as a Lookup Column on another List
- If you activate a Feature on a site and then save it as a Site template and create a new site from this template, the FeatureActivated code doesnt fire
- You cannot write back to a List from Excel 2007. This was available in Excel 2003. You will need Access for writing back to a List from Office (Update: Refer to WorkerThread’s link below for an add-in)
If you have any more of these oddities, please post in the comments and I will update this list
Edit: When you use the Content Migration APIs to copy lists and libraries from one farm to another, person fields do not copy over correctly
Create Publishing Pages on custom Document Libraries in SharePoint
May 1, 2009Have you ever wanted to create pages in your custom document libraries in MOSS 2007 ?
When you click on Create Page under Site Actions, it always defaults to the Pages library. Well not any more.
Here is a great post on how to work around that limitation.
Some things to note after making these changes
- Import the Microsoft.SharePoint.Publishing namespace in your custom page
- Enable the Page Content Type for the document library for it to show up in the dropdown list
Office 2007 Integration with SharePoint
April 30, 2009One of the frequent questions we encounter from our customers is
“Why do I need Office 2007 and how does it integrate with MOSS 2007”
Here is a great post on the integration of the different Office applications with SharePoint
http://blogs.msdn.com/brittog/archive/2007/02/16/wht-you-get-with-office-2007.aspx
HTTP 404 Not Found Error in SSRS SharePoint Integrated Mode
April 24, 2009
When you are working with a pre-built VPC, there are some things that you just dont end up noticing. I kept seeing a HTTP 404 error when configuring SQL Reporting Services in Integrated Mode. It turns out that the pre-built image had ASP.NET v1.1 installed and the default ASP.NET version was set to 1.1 when creating the Report Server directory. Once I changed this to ASP.NET 2.0 , the SSRS integration started working!
I need to get my 4 hours back!!
MOSS 2007 ULS Logs Folder in 12 Hive is Empty!
April 20, 2009
The Microsoft VHD for MOSS 2007 is a great time saver. You can download the VHD from here
I am working on a demo for BDC and ran into some issues. As usual when I looked at the 12 hive folder there were no logs. Not a single log file. I logged into the Central Admin Console and setup the Logging parameters and still nothing.
I thought this might be related to the Timer service being corrupted and hence restarted the timer as well to no avail.
Poking through the services, I noticed that the Windows SharePoint Services Tracing service was disabled. I set the service to Automatic start and the logs started to fill up. It makes sense to disable this in a VHD by default, but a valuable lesson was learned. When some one else builds an MOSS 2007 image, do not assume all the services are on!
I saw an amazing thing happen in Brussels airport
August 22, 2008Let me begin by saying that I am impressed with the Brussels airport staff. The airport has a completely confusing layout but the TSA equivalents there are so much friendlier and eager to help passengers get on their way. The pinnacle of it all was , I saw a 5′5″ airline attendant run about 150 yards on 3 inch high heel shoes to tell a passenger that there has been a gate change.
Apparently, this passenger was directed to a different terminal by the same attendant. Shortly, she received a gate change announcement and she literally ran to inform the passenger about this gate change.
I learnt something about customer service in that moment! If this is not going above and beyond I don’t know what is
Bravo!
Posted by techdhaan
Posted by techdhaan
Posted by techdhaan 