all things Sitecore related

Pieter Brinkman

Pieter is Technical Marketing Manager for Sitecore Netherlands and owner of He has more than ten years experience with software developing in multiple programming languages and with different Content Management Systems. Before joining Sitecore Pieter was a lead developer for multiple Sitecore and .Net projects, he joined Sitecore in 2011 as an Solution Architect in The Netherlands, after two years as an Solution Architect he joined the Technical Marketing department. In the role as Techinical Marketing Manager he is responsible for the Global MVP program and the Sitecore technical branding strategy.

You can follow Pieter on twitter: @pieterbrink123 or Google+

Running WCF on IIS 5 (Windows XP)

By on February 2, 2009 in IIS, Microsoft with 0 Comments

After running WCF on my Vista laptop (IIS7) I needed to deploy the application on some Windows XP computers. Again some strange errors occurred: [code:html] Error Description: "This collection already contains an address with scheme http.  There can be at most one address per scheme in this collection. Parameter name: item" [/code] The problem is […]

Continue Reading »

Asp.Net: Databinding a array of strings

By on January 30, 2009 in ASP.Net, Controls with 0 Comments

You can use a string array as datasource and view the string values by using the Container.DataItem property. Code example Codebehind: [code:c#] string[] testData = {"1","two","3","4"}; rptDemo.DataSource = testData; rptDemo.DataBind(); [/code] And in the .aspx: [code:html] <asp:Repeater runat="server" ID="rptDemo">     <ItemTemplate>         <%# Container.DataItem %>     </ItemTemplate> </asp:Repeater> [/code]

Continue Reading »

Asp.Net : Setting the DefaultButton for the LoginControl

By on January 22, 2009 in ASP.Net, Controls with 0 Comments

You can set the DefaultButton property of the Login control by putting the Login control in a Panel and set the DefaultButton property of the panel to the LoginControlId$LoginButton. Code example: <asp:Panel ID="panelLogin" runat="server"             DefaultButton="Login1$LoginButton">       <asp:Login ID="Login1" runat="server" /> </asp:Panel> Cheers, Pieter

Continue Reading »

Linq to Sql: Retrieve properties from related data (LoadWith)

By on January 15, 2009 in ASP.Net, linq, SQL Server with 0 Comments

You have to specify which related-data you want to retrieve from a object so you can access them outside the Linq data-context. You can achieve this by using the LoadWith method of the DataLoadOptions Class. The LoadWith method accepts an lambda expression that specifies which object you want to retrieve. In the following example I […]

Continue Reading »

Regex: Check Asp.Net Membership is valid.

By on January 14, 2009 in ASP.Net with 0 Comments

The following RegularExporessionValidator checks if the text-input is correct format for a user-name. <asp:RegularExpressionValidator runat="server" ID="userNameRegexVD" ControlToValidate="userNameTxt" ValidationExpression="^([a-zA-Z])[a-zA-Z_-]*[w_-]*[S]$|^([a-zA-Z])[0-9_-]*[S]$|^[a-zA-Z]*[S]$" ErrorMessage="Invalid username" />

Continue Reading »

Membership: Update Password MembershipUser (ChangePassword)

By on January 13, 2009 in ASP.Net with 0 Comments

You can change the password of a MembershipUser object in C# with the ChangePassword method. The only problem of this method is that it needs the old password(string) as input parameter and I only have the hashed version off the password. To get the old password you can user the MembershipUser.ResetPassword() method. This method will […]

Continue Reading »

Microsoft Tag: Snap my vCard

By on January 8, 2009 in Microsoft with 1 Comment
Microsoft Tag: Snap my vCard

When surfing the internet I start reading about Microsoft Tag Beta (of course). With Microsoft Tag you can create links with a image-pattern. The image-pattern can be decoded to a link with the Microsoft Tag program on your Windows Mobile (with camera). You can create graphical image-patterns with the following actions: Link to an URL […]

Continue Reading »

Some tips for the dropdown control

By on December 30, 2008 in ASP.Net, Controls with 0 Comments

I always have problems implementing the Asp.Net dropdown control. Here are some simple tips to make your life (with dropdown controls) easier. Adding an default item with data binded dropdown To add an default listItem to your data binded dropdown list you just have to add a ListItem on the first place (0) of your control […]

Continue Reading »

Amazone webservice

By on December 28, 2008 in Uncategorized with 0 Comments


Continue Reading »

Running Fluorine on IIS7 (Vista)

By on December 22, 2008 in Uncategorized with 0 Comments

Continue Reading »

HTTP Error 404.17 with IIS7 (Vista)

By on December 22, 2008 in IIS with 0 Comments
HTTP Error 404.17 with IIS7 (Vista)

While playing with IIS 7 I accidental destroyed my IIS (XML) settings file. To fix this problem I copied the .XML from a colleague PC to mine. After this my IIS started giving a strange error: HTTP Error 404.17 – Not Found – The requested content appears to be script and will not be served by […]

Continue Reading »

Running WCF on IIS 7 (Vista)

By on December 19, 2008 in Uncategorized with 0 Comments

I got the following errors when trying to run WCF on Vista: The remote server returned an unexpected response: (404) Not Found. HTTP Error 404.2 – Not Found Description: The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server. – Add Mime Type: .svc […]

Continue Reading »

MSSQL: Database diagram support objects cannot be installed because this database does not gave a valid owner.

By on December 13, 2008 in SQL Server with 2 Comments

For a customer I needed to do a review there database (MSSQL 2000 database). For this I wanted to create some database diagrams. When I tried to create a diagram with Sql Sever Management Studio I got the following message: "Database diagram support objects cannot be installed because this database does not gave a valid owner." To […]

Continue Reading »

Convert XmlElement to XElement (Extension Method)

By on December 8, 2008 in linq, XML with 5 Comments

I was using some web-services that returned there values in an XmlElement. I needed to convert this XmlElement to something that I can use with LINQ. I didn't find good solutions on the internet. So I started building my own convert logic. After all kinds of solutions I ended up with creating an new XmlDocument, […]

Continue Reading »

Dynamicly create Flash object with the HtmlGenericControl

By on December 5, 2008 in Uncategorized with 0 Comments

HtmlGenericControl obj = new HtmlGenericControl("object");   obj.Attributes.Add("classid", "CLSID:…");

Continue Reading »