Wednesday, 14 October 2009

SharePoint 2010 not possible on Virtual PC

Today I searched around to see whether it's possible to setup a virtual pc (VPC) with SharePoint 2010. I was planning to setup a virtual domain with two virtual pc's: one as a Domain Controller and one as a SharePoint server. Just as I have now for a MOSS development (and presentation) environment.
Anyway, do you want to know if you can setup this? Well you cannot.

Why? Well in short:

  • SharePoint 2010 will run on 64-bit systems only.
  • VPC can run on a 64-bit host OS, but only supports 32-bit guest OS.
  • Virtual Server 2005 R2: same story. It doesn't support a 32-bit guest OS.

I am really wondering whether Microsoft will sort this problem out, because running Hyper-V is not really an option. Hyper-V supports a 64-bit guest OS but it’s not an ideal platform especially if you do development on a laptop (as I do). I assume a lot of other SharePoint developers are running into this problem as well.

It is possible to use VMware, but I don't understand why Microsoft does not have a proper solution for this. They are coming with something that's called MED-V.
I didn't have had time yet to read it all in detail, but the basic idea is that those that are 32-bit or running Windows Server 2003 will not have an in-place upgrade option.
Well, that's the place I am standing, right now...

Read more...

Friday, 9 October 2009

Workaround to run Umbraco V4 on MySQL V4

I had some troubles running Umbraco version 4 on a MySQL database version 4. I developed a website on a MySQL V5 database, which works fine. The problem occured when I tried to place a backup on the live environment which appeared to be MySQL version 4.

The following error message was shown:
ERROR 1074 (42000) at line 1947: Column length too big for column 'EMAIL' (max = 255); use BLOB or TEXT instead

It seems that you cannot use varchar(1000) on MySQL 4. In the backup script (which is an sql file) I replaced all varchar(1000) into TinyText (thanks to my colleague Arno Raps) and as far as I can see now, it works fine.

Unfortunately, this problem is not well documented on Umbraco, so I just post it here...

Read more...

Tuesday, 6 October 2009

Evolution Microsoft Windows

Today, I saw a nice post about the evolution of Microsoft Windows. See it here.
It's getting from:

Up to:


nice to see the evolution...

Read more...

Thursday, 1 October 2009

The easy way to use jQuery DatePicker on ASP.NET controls

There are several posts on the internet on how to use jQuery datepicker control on ASP.NET (controls). Most of the solutions works with ASP.NET MVC from Microsoft (http://www.asp.net/mvc/). Other wrote their own extension classes and you need to use them to get it work. With other words, a lot of extra development steps and stuff. And that's not what I was looking for.

I was looking for a smaller, faster and easier way of attaching the JQuery datepicker to one of my controls. So I just tried to figure out my own route, and I found one.

Here follows the way I did it.
1. Just use the ordinary ASP.NET textbox for entering a date:


<asp:TextBox ID="txtDate" runat="server" Width="79px"></asp:TextBox>

2. Downloaded the appropriate JQuery libraries, placed them on your website and place a reference to the libraries (jqueryui.com/download/)

<script type="text/javascript" src="/umbraco_client/ui/jquery.js"></script>
<script type="text/javascript" src="/umbraco_client/ui/effects.core.js"></script>
<script type="text/javascript" src="/umbraco_client/ui/ui.datepicker.js"></script>

3. You can use one of the predefined themes (http://jqueryui.com/themeroller/). Place a reference to the CSS

<link href="/CSS/ui-lightness/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" />

Ok, so far it's just ordinary stuff. Nothing special.

4. As mentioned in step 1, the input box for a date is called txtDate. As you know, looking at the source code of you page when its rendered, the name (and also the id) is 'renamed' to something like 'ctl00_ctl00_ctl00_ContentPlaceHolderDefault_MasterTemplateContentPlaceHolder_ctl01_ContactForm_4_txtDate'
Don't worry, as long as there is the 'txtDate' part inside the name, the following JQuery function will find it:

<script>
$(document).ready(function() {
$("input[name*='txtDate']").datepicker();
});
</script>

This piece of code will attach the jQuery datepicker functionality onto all input boxes with (somewhere) txtDate in the name. E.g. it will find input boxes with the name 'ct100_(...)_txtDateIn', 'ct100_(...)_txtDateOut', 'ct100_(...)_oldtxtDateIn' etc. As long as txtDate is used, it will be found.

I placed this code in the header section of my master page, so all forms that has a txtDate input box, will get the JQuery datepicker.

Read more...

  © Blogger templates Psi by Ourblogtemplates.com 2008

Back to TOP