Follow @Lusse3 (118 followers)

Flickr Recent Photos

Ebbas frukost består av kall köttfärs i ett salladsblad. Underlig sötnos :)DessertSen är det fika på #valtech :)God lunch med @mohseno2010-03-08 010Fikar med Sara @ vete katten#biltema bjuder på slushies idag :)Fick tag på nå billig cigarr :)Länge sen man unna sig det här, men Inter - Chelsea är värt detÄr det ok att fota sin rotfyllning? :)Vilken dag!Lost och gotta! :)

Categories

How to prevent EPiServer to inherit categories to childrenpages

One of the pages I’ve been working on uses EPiServers categories a lot. But the annoying part with EPiServers categories is the way they inherit down to all children, which leads to the problem that categories can be deleted without someone meaning too. e.g you create a page called “Books” and you have a control [...]

HTML5 fix for Internet Explorer And Doctype fix for EPiServer solutions

HTML 5 introduces new elements to use such as <header> <section> <nav> and many more. The problem is that no version of Internet Explorer recognizes the new elements, but Firefox, chrome and many others does. The solution is easy but a bit boring when you think about it, since it’s about replacing all new elements [...]

Sidan är inte tillgänglig för aktuellt språk / This page is not available for the active language – EPiServer5 Upgrade to SP2

After upgrading EPiServer CMS5 r2 to CMS5 r2sp2 you might get a nice little error in edit mode. This page is not available for the active language. This is due globalization changes and the workaround is to activate a language for your site. To do this do the following:

1. Go to admin mode
2. Click on [...]

Visual Studio 2008 System.Runtime.InteropServices.COMException

I had to make a clean Vista install on my machine and all of a sudden I was getting System.Runtime.InteropServices.COMException when opening old solutions. The error says very little to the user but what it really want’s to say is:

Install IIS 6 WMI Compatibility by going to Control Panel, Programs, Turn windows features on and [...]

EPiServer CMS5 Softlinks. How to find a documents linking pages

Using EPiServers softlink can really come in handy in different situations.  Mostly of course when you need to gather information from the linked pages of a document.

Here’s an example on how to use this:

Example in VB.Net

Dim f As EPiServer.Web.Hosting.UnifiedFile = TryCast(System.Web.Hosting.HostingEnvironment.VirtualPathProvider.GetFile(filename), EPiServer.Web.Hosting.UnifiedFile)

Dim filecollection As EPiServer.DataAbstraction.SoftLinkCollection = EPiServer.DataAbstraction.SoftLink.Load(f)

For Each file As EPiServer.DataAbstraction.SoftLink In filecollection
Dim ref As [...]

* % & : Special Characters in URL and files causing HTTP 400 Bad Request

One of our customers have a lot of PDF that are linked to their site. Some of these PDF files have % in the filename and this causes a HTTP 400 Bad Request and yes they are encoded correctly. The same error happened with other characters such &, * and :

Finally, the solution was found [...]

SQL converting datetime to shortdate

I’ve a table where I need to select the posts with the latest date. Problem is that when you get the latest date it also gets it by the hour, meaning that it will try to fetch everything older or equal to the date + time, which is nothing. There for, I need to make [...]

Unexpected Provider error! This may be caused by invalid combination of Role and Membership providers. EPiServer

This error happens after a migration to EPiServer CMS 5 r2 when you try to change the password of a user or possibly create a user. The error is very missleading and has nothing to do at all with the role nor membershipprovider. The error is actually a very simple one.

Another user is using the [...]

Flashdeveloping in AS3

An ex colleague of mine has started up a blog regarding flashdeveloping in AS3. Robert is a very talented flash developer with a huge portfolio on his back. If you fancy Flash developing, then head over to his blog and bookmark it. The link can also be found on the right column of the page

Comparison of Strict and Transitional XHTML

During a makeover of a site I ran into a great site which puts up what that  has been removed from strict xhtml and also a very good overview of all elements and attributes for different doctypes. You can search or browse all elements and see which attributes that are allowed which is of great [...]