Follow @Lusse3 (117 followers)

Flickr Recent Photos

Sen ä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! :)det verkar som om det är ok med 99 liv. Liam körde på iskallt ;) så du slipper fundera på det nu @JoopeyHärlig present! :)

Categories

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 [...]

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 [...]

EPiServer CMS5 Categories Dissapearing when saving

One of our customers found a little annoying bug when publishing news to their page.

The bug goes as following:

News page type contains a few categories as well as an extra date field to point out the news date (in case you don’t want to use the publishing date and want to use your own) and it’s required as well.

You [...]

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 [...]

EPiServer CMS 5 Wrong culture language

So during an upgrade to EPiServer 5, I ran into this problem where the culture was wrong and all translations were being translated to English instead of Swedish, this even though the web.config was correctly changed to “sv-SE”.

After som trial and error I got to set the culture in onpreinit in the a class [...]

Workaround for = EPiServer:Property renders an extra Div

It’s comfortable to just use properties directly in the page. i.e

<EPiServer:Property ID="MainBody" runat="server" PropertyName="MainBody" />

Problem with this, is that it will render an extra div which feels really unnecessary. I’ve tried to look around for a setting of some sort to turn this off but not wanting to waste too much of my time, I [...]

ClassFactoryException: ClassFactory not initialized After EPiServer 5 Migration

This is a common error to get after migration to EPiServer 5 and happens when you do the migration itself on a machine running IIS7, because the migration will make your web.config configured for IIS7, then when you take it to your developing machine that is running IIS6 you’ll get this error. What you need [...]

Episerver Migration 4.62 to CMS5 r2 on SQL Server 2008

I wish that I had great things to say regarding running a migration using SQL Server 2008 but I don’t.

Strike One: I couldn’t run a simple EPiServer CMS5 installation to the sql server. I kept getting this error:

Error – User ‘dbo’ does not have permission to run DBCC TRACEON

After some searching I came to the [...]

Episerver Convert Form to Xform error

while upgrading to CMS5 you need to convert your Forms to XForms. But trying to do so, I encountered an error. It dies a bit after  the EPiServer.Admin.ConvertFormToXform.ConvertForm2Xform method and its during System.Xml.XmlTextReaderImpl.ParseQName. The problem was that some of the fields started off with an integer. That is “1. question” and so on. Simply changing [...]