Feeds:
Posts
Comments

Posts Tagged ‘Windows Server 2008 R2’

Dear all,

With LightSwitch, currently you can consume different data source types:

 

  • Database
  • SharePoint
  • WCF RIA Service

So far, so good. Upon a fresh installation, I set up a custom list. The goal was to consume the SP2010 list in a LightSwitch Application, as a data source. Using the Add Data Source wizard, I came until I entered the server address and my credentials on the server. Then, the Choose Your SharePoint Items window issued a message like:

 

image

 

With the small but all-telling message that what we need is a running SP2010 with the WCF Data Services installed. Obviously, I didn’t have this installed, so I went to install (as recommended) the CTP2 of the ADO.NET Data Services v1.5. In the good hope that it would work now, I tried again – but not a chance. I tried also to access the data services via browser, but this way it would issue only the following message:

 

image

 

Again, not a chance. So, I went for installing the following:

 

ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 7 and Windows Server 2008 R2

 

Since I am running Windows Server 2008 R2 on my VM, I took the choice above. If however you are running a different OS than the ones mentioned above, you might want to have a look at the following link:

 

ADO.NET Data Services Update for .NET Framework 3.5 SP1 for Windows 2000, Windows Server 2003, Windows XP, Windows Vista and Windows Server 2008

 

And here we went! Adding a datasource using LightSwitch, I got the a list of all available SP lists, as expected, and could add them as a datasource. One more thing that was bothering: When defining a custom list, specifying a column of type

 

Number

 

Then LightSwitch Beta1 will import this list as a table where the column of type Number is always of type Double. Also, changing the list column type to number with 0 decimals won’t change this behaviour. Obviously, if then we try to create relationships in LightSwitch with tables from other data sources, we have a problem. I hope there exists a workaround for this not-so-much-desirable behavior.

Important notice: Before installing the above mentioned ADO.NET Data Services Update, please consider that the server will need to be restarted for the changes to take effect!

If you install the data services AFTER your SP2010 installation, then you might also to run the iisreset command. Of course, running all the installations and commands mentioned require attention and contain potential harms that are to be carried out at your own risk.

 

I wish you happy Lightswitching and SharePointing till the next time! 😉

 

Best regards,

Martin

Advertisements

Read Full Post »

Dear all,

Just a short one on how to install language packs for SharePoint 2010. First of all, you need to install the appropriate language packs on Windows Server 2008 x64 (R2). You can obtain these from the Microsoft Download Center, specifically here:

Windows Server 2008 R2 Multilingual User Interface Language Packs

Just change to the language you need to install, and click “Change”. Afterwards, you can proceed with the download (~60MByte). For this example, I chose “French”

 

After the download, you can install the language pack using a doubleclick, and the rest goes automatically.

 

image

 

As a result, under Region and Language | Keyboards and Languages, you should see your newly added language (in this case, French):

 

image

 

This is enough as of prerequisites fulfillment on Windows Server 2008. Now, let’s step on to the installation of the corresponding language pack of SharePoint 2010:

Download the language pack from here:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=046f16a9-4bce-4149-8679-223755560d54&displaylang=en

After downloading the ~160 MByte executable file, just run it by doubleclicking – the rest of the installation goes without any interaction.

 

image

 

At the end of the installation, we’ll be prompted to run the SharePoint 2010 Products Configuration Wizard. This is crucial, since otherwise the installation of the language cannot be completed. So, we must execute this step.

 

Important: The Products Configuration Wizard will ask you whether to remove the server or not from the server farm. It is not recommended to remove it, if you are running SP 2010 on a server farm.

 

Caution: The wizard will restart several services during configuration. Please look careful at the wizard’s suggestions before actually executing it.

 

image

 

After the configuration finishes, we open the Central Administration and attempt to create a new Site Collection for an existing (or new) SP 2010 web application.

 

Now, after the language pack installation, it can clearly be seen, that in the “Select a language” Drop-Down-List our new language is present. Moreover, if we select this one, all the template descriptions will change, accordingly.

 

image

 

That was straightforward, right?

Stay tuned till next time!

 

Best regards,

Martin

Read Full Post »