Archive for the ‘SharePoint 2010’ category

InfoPath 2010 cannot connect to SharePoint 2010

March 15th, 2010

You have installed Office 2010 beta and you are trying to connect to SharePoint 2010 from InfoPath but you get an error.

The internet address is not valid

Figure 1: The Internet address is not valid.

You click OK and you get another error “The operation could not be completed”. Click Show Details >> and you will see error “Unable to connect to the SharePoint site”.

The operation could not be completed.

Figure 2: The operation could not be completed.

You try a little harder to connect to the SharePoint but this time you get yet another error “Network is down or you may not be connected to the network”. What do you do next? You check if the enterprise features are enabled or not. They are enabled. You check DNS settings. Settings are fine. Now what?

It happens if you have not created a top level site collection. Create a top level site collection and then try to connect and it should work. If you are not sure whether you have created a top level site collection or not, try to open the main site URL in the browser. If the site does not open then you have not created a top level site collection.  For example, http://sp2010/sites/spsite opens fine and you can access all areas of the site but http://sp2010 does not open, then you have not created a top level site collection and  in this case if you try to connect to http://sp2010/sites/spsite from InfoPath you will get an error.

To create a top level site collection, go to central admin site and follow these steps:

  1. Under Site Collections, click Create site collections link.
  2. Select web application where you want to create site collection from the drop down.
  3. Give title and description and select “/” from the URL drop down. Front slash stands for a top level site. You will not see it listed in the drop down if you have already created a top level site collection because you can only create one top level site collection per web application. You can create multiple sub site collections by selecting “/sites/” from the drop down and then entering the name of your site in the text box provided.
Root level site collection

Figure 3: Select top level for your site collection

 4. Select a template for your site and enter primary site collection administrator and click OK.

You are done. Now go and try to access the top level site link in InfoPath. It will work.

sp 2010 warmup script

February 6th, 2010

http://www.paulswider.com/2010/02/tip-for-sharepoint-2010-presentations.html

SP2010 Tip: Content Query Web Part missing in SharePoint 2010

February 6th, 2010

If you don’t see content query web part listed in the web parts list, this is because you have not enabled “Search Server Web Parts” feature in site collection features. Enable this feature and content query web part will show in the list of web parts.

content query web part

content query web part

Download 2010 Information Worker Demo VM

January 26th, 2010

http://www.microsoft.com/downloads/details.aspx?FamilyID=0c51819b-3d40-435c-a103-a5481fe0a0d2&displaylang=en

Download contains two virtual machines for evaluating and demonstrating Office 2010 and SharePoint 2010.

SharePoint Template IDs for creating lists, etc using Powershell scripts

January 23rd, 2010
Taken from Steve Smith’s session @ SPSEMEA:
Template IDs

Template IDs

Sandboxed Solutions Via @jthake

January 23rd, 2010

http://www.sharepointdevwiki.com/display/sp2010/SharePoint+Sandboxed+Solutions

Create content db and web application with PS script

January 23rd, 2010

#spsemea #sp2010 @ssmith

$db=new-contentdatabase -name “sps_evolution” -webapplication http:///corp.trainsbydave.com; new-spsite-url http://bit.ly/6eeXcT  -name “e site” -description “description here” -owneralias “domain\user” -contentdatabase $db -template “STS#0″

Taken from Steve Smith’s session @ SPSEMEA

SharePoint 2010 and Powershell

January 23rd, 2010

Slides/photos taken from Claudio Brotto’s session  @ SPSEMEA:

Developing custom cmdlets:
http://tweetphoto.com/9357859

Administering SP2010 2ith PS:
http://tweetphoto.com/9358120

SharePoint cmdlets:
http://tweetphoto.com/9358201

SharePoint cmdlets gotchas:
http://tweetphoto.com/9358256

Cmdlets for reporting in SharePoint:
http://tweetphoto.com/9358594

Installing and configuring SharePoint 2010

January 15th, 2010

Download complete user guide “Installing and Configuring SharePoint 2010″:http://sharepoint2007tips.com/sharepoint2010book.aspx

 

Installing and configuring SharePoint 2010

Installing and configuring SharePoint 2010

The following steps show how to install SharePoint 2010 on VMware workstation 7.0. Host computer used during the preparation of this walk-through was a Vista (32-bit)  machine and guest machine used was VMware workstation 7.0 with Windows Server 2008 Service Pack 2 (64-bit).

Preparing your machine

Is your machine 64-bit compatible? Download following standalone utility from vmware.com that will check if your processor is 64-bit compatible or not:

http://download3.vmware.com/software/wkst/VMware-guest64check-6.0.0-45731.exe

If your machine is 64-bit compatible then second step is to confirm whether Virtualization Technology (VT) is enabled or not. To enable 64-bit support for virtual machines in VMware, you must enable Virtualization Technology (VT). VT provides greater flexibility and maximum system utilization. With VT, your machine will make the most of its underlying hardware. You can enable VT in the BIOS by going to advanced processor features and enabling Intel Virtualization Technology. The VT setting is locked at power on. After enabling VT in BIOS, save changes to the BIOS settings and then turn off power to the system. Your changes take effect when the system is turned on again. Simply rebooting the system without turning it off will not enable VT. This is called as power cycling the system.

Installation

 1. Install VMware
2. Install Windows Server 2008
3. Change computer name
4. Disable IE security
5. Install Active Directory Domain Services
6. Create an account for SQL
7. Install WCF Hotfix

http://go.microsoft.com/fwlink/?linkID=160770

8. Install .NET Framework 3.5 SP 1

http://www.microsoft.com/downloads/details.aspx?FamilyID=AB99342F-5D1A-413D-8319-81DA479AB0D7

9. Install hotfix (KB942288)
10. Install SQL Server 2008

http://www.microsoft.com/SQLserver/2008/en/us/trial-software.aspx

Download following setup package:

en_sql_server_2008_enterprise_x86_x64_ia64_dvd_x14-89207.iso (3,180,582 KB)

11. Install SQL Server 2008 SP 1

http://www.microsoft.com/downloads/details.aspx?familyid=66AB3DBB-BF3E-4F46-9559-CCC6A4F9DC19&displaylang=en

12. Install Cumulative update package 2 for SQL Server 2008 SP1

http://support.microsoft.com/kb/970315

 13. Install ADOMD.NET

http://go.microsoft.com/fwlink/?LinkId=130651&clcid=0×409

14. Install Geneva Framework 2 Beta

http://download.microsoft.com/download/F/3/D/F3D66A7E-C974-4A60-B7A5-382A61EB7BC6/MicrosoftGenevaFramework.amd64.msi

15. Install Microsoft Sync Framework v1.0

http://go.microsoft.com/fwlink/?LinkID=141237&clcid=0×409

16. Install Microsoft Filter Pack v2.0

http://go.microsoft.com/fwlink/?LinkId=166504

17. Install chart controls for .NET Framework 3.5

http://go.microsoft.com/fwlink/?LinkID=141512

18. Install Powershell v2.0 CTP3

http://go.microsoft.com/fwlink/?LinkId=165758

19. Install ADO.NET Data Services v1.5 CTP2

http://go.microsoft.com/fwlink/?LinkId=158354

20. Install Silverlight 3.0

http://go.microsoft.com/fwlink/?LinkId=166506

21. Install Application server and web server roles
22. Install SharePoint 2010

http://sharepoint2010.microsoft.com/try-it/Pages/Trial.aspx

It is not as easy as it seems. Finding correct links to download the pre-requisite software is the first hurdle. Then the ordering in which the software has to be installed is the second hurdle. What hotfixes are required and where to download them from is another issue. If you get stuck in any of the steps above, and need help, I would suggest you download the following user guide that explains each of the above steps in detail and has screenshots to help you complete the steps easily.

http://sharepoint2007tips.com/sharepoint2010book.aspx

The guide consists of 100+ pages and covers everything you need to know about the SharePoint 2010 installation.

 Look at the following questions to figure out if you need this guide or not:

1. How will you know if your machine is 64-bit compatible and ready for SharePoint 2010 installation?
2. If you are running 32 bit OS on your system, how will you install 64 bit SharePoint 2010 software?
3. If you don’t have hyper-V or don’t want to use hyper-V, what are your other options?
4. From where can you download VMware version that is required for SP 2010 installation?
5. How to prepare your machine for SharePoint 2010 installation? How to enable VT in BIOS? What to do if changes in BIOS do not take effect, etc?
6. What software pre-requisites to install and in what order?

http://sharepoint2007tips.com/sharepoint2010book.aspx

New Book: SharePoint 2007 tips, tricks and techniques

January 10th, 2010

I have published a new SharePoint book “SharePoint 2007 tips, tricks and techniques”. Its a 348 pages book and is available in paperback and ebook editions. Book shall be available in all major book stores in few weeks.

SharePoint 2007 tips, tricks and techniques

SharePoint 2007 tips, tricks and techniques

This book is a recipe book that gives you ready-to-use recipes to implement complex solutions in your organization. It contains full length articles as well as small tips that will come in handy at some point during your development cycle. SharePoint learning curve is steep; books like these enable you to learn SharePoint quickly. Book contains tons of information on InfoPath. Remember, using InfoPath with SharePoint gives you a powerful platform to create business applications. You can create electronic forms easily with InfoPath and publish them in SharePoint where users from across the organization can easily access them. Browser-enabled forms is another excellent feature that InfoPath 2007 provides. Not only InfoPath but SharePoint integrates well with the Office 2007 suite. The book shows you how you can use products like Groove and OneNote with SharePoint. It also gives you examples on how to use it with Access.

You will find lots of walkthrough exercises in this book that will help you get up to speed with topics like web services, web service deployment and consuming web services.

User level: Beginner – Intermediate
ISBN: 978-0-557-25089-9
Copyright: ©2009 Sadia Younas
Language: English
Country: United States
Publication Date: December 20, 2009

Page Count: 348 pages
Size: Crown Quarto (7.44 x 9.68 in)
Binding: Perfect Bound
Price (Paperback): $26.40
Price (ebook): $11.49

Book site: http://sharepoint2007tips.com