Monday, March 15, 2010

InfoPath 2010 cannot connect to SharePoint 2010

You have installed Office 2010 beta and you are trying to connect to SharePoint 2010 from InfoPath but you get an error. [caption id="attachment_452" align="alignnone" width="603" caption="The internet address is not valid"][/caption] 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”. [caption id="attachment_453" align="alignnone" width="654" caption="The operation could not be completed."][/caption] 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.

Activating Office 2010 Beta

Are you sure you have activated your Office 2010 beta? No, just downloading and installing it will not activate your copy. You have to activate it yourself. To activate Office, open Word. Click on File tab and select Help. Click "Change Product Key" link and enter the key that you downloaded with the program. Office configuration will take some time. Close all Office programs and restart any of the Office program. You will be prompted to activate the copy. Activate your copy and enjoy Office programs!

Excellent SharePoint Chat

The SharePoint chat session held today was very useful. 207 users joined the chat. If you did not attend the chat, the transcript of the chat will be available in a week's time. http://msdn.microsoft.com/en-us/chats/default.aspx

Thursday, March 4, 2010

Extend VM's hard disk (in Windows) - Part 2

Extend VM's hard disk: Here is link to part 1: http://vspug.com/ssa/2010/02/19/expanding-vmware-hard-disk/ After you have extended VM's disk space using VM utility, second step is use that extended space in Windows. Here are the steps to do that: 1. Open Server Manager and expand "Storage" node. 2. Select "Disk Management". 3. You will see two partitions against Disk 0. The second partition will be "Unallocated". 4. Right-click first partition and select "Extend Volume". 5. In the wizard that opens up, click "Next" and then click "Finish". That's it. Now your space has been extended.