Login

Blog entries posted during 2008

Nov
30

How to become a EPiServer Ceritified Developer

Posted by: Fredrik Haglund

I would like to congratulate Mikael Lundin to becoming a Certified EPiServer Developer. He writes about this experience in his blog with some tips about what you should study. I would like to complement what he has written with some of the tips I... [Read full article]

0 Comments

Nov
28

EPiServer Developers Wanted!

Posted by: Fredrik Haglund

We need more help. There has been a lot of things to do lately so I have not been able to blog as much as I want to but after release I have a lot of things to share with you all. Problems with WebParts in EPiServer CMS R2? Disappearing WebParts... [Read full article]

0 Comments

Sep
26

#2: Hidden Gems of EPiServer CMS R2

Posted by: Fredrik Haglund

Friendly URL Rewrite works with AJAX UpdatePanel Finally! The new UpdatePanelPostBackRewritePipe class will take care of rewrite of all URL’s in an UpdatePanel. No need for manual conversion of links or dirty workarounds when using AJAX. New -... [Read full article]

0 Comments

Sep
25

#1: Hidden Gems of EPiServer CMS R2

Posted by: Fredrik Haglund

The next release of EPiServer called R2 is not far away. Roger Wirz have written more about the major features in the R2 release at EPiServer World. I would like to share some of the smaller improvements I have found during my work with the upcoming... [Read full article]

0 Comments

Sep
05

Page Folders and Uploading of files in EPiServer

Posted by: Fredrik Haglund

It is quite forward to get the uploaded file from the browser to the web server using ImageFileUpload component but where do you save the file in EPiServer? I wrote a post earlier about how to use the unified file system in EPiServer and this is the... [Read full article]

0 Comments

Sep
02

Using LogView4Net with EPiServer

Posted by: Fredrik Haglund

I must recommend logview4net as a tool when you debug EPiServer and other apps using log4net. Logview4net can listen for UDP packages from your development environment and is in my opinion a little bit faster to work with than logging to file. (Read... [Read full article]

0 Comments

Aug
27

Easy slide show in EPiServer with LyteBox

Posted by: Fredrik Haglund

EPiPattern: In this blog post I will introduce FileSystemDataSource and tree handy methods that you should add to your toolbox: RegisterCssFile, RegisterScriptFile and GetPageDirectory. Now and then there is a need to make a slide show in... [Read full article]

0 Comments

Aug
26

Solution to WebResource.axd exception

Posted by: Fredrik Haglund

I have got several mail about how to solve the issue with the exception “The WebResource. axd handler must be registered in the configuration to process this request” that is quite common to get when you use EPiServer CMS. My earlier hack in my blog... [Read full article]

0 Comments

Jul
09

EPiServer: ‘The virtual path could not be loaded’ error when registering Web Parts in admin mode

Posted by: Fredrik Haglund

So you have created some web parts and they work fine on your test machine but when you want to register them on a test or production machine you only get a uninformative ‘The virtual path could not be loaded’. I guess you have already checked that... [Read full article]

0 Comments

Jul
02

EPiPattern: DO & DONT with EPiServer Properties

Posted by: Fredrik Haglund

This might be obvious stuff for most seasoned EPiServer developers but I still think it is worth blogging about because I see these dangerous mistakes whenever I do a code review of an EPiServer project. Null values Remember that all EPiServer... [Read full article]

0 Comments

Jun
03

Installation of EPiServer components

Posted by: Fredrik Haglund

In a larger organization it can be cumbersome to explain for the editors how to install the EPiServer ActiveX controls that provides you with some extended functionality. Security restrictions can also be a problem for ActiveX controls. So why... [Read full article]

0 Comments

May
28

Access Dynamic Properties when PageData is writable

Posted by: Fredrik Haglund

One of the big changes between EPiServer CMS 4 and 5 is the handling of PageData instances and Dynamic Properties (read Inherited Property) in the cache. I was reminded of this when I created a custom property and needed access to a Dynamic Property... [Read full article]

0 Comments

May
07

Disable EPiServer UrlRewriter Interference

Posted by: Fredrik Haglund

Are you also annoyed that EPiServer CMS 5 Friendly URLs and the handy trace. axd utility does not play well together? Does your site have standard aspx-pages that behaves strangely sometimes because EPiServer Friendly URL Rewriter interfere with... [Read full article]

0 Comments

Apr
16

C# Code: How to transform Åäö to Aao

Posted by: Fredrik Haglund

I have extended the Friendly Url Rewriter in one project to rewrite all URL:s following a specific pattern to a search page. Search Engine Optimization (SEO) with Friendly URL Rewriter Instead of having to use URL that looks like this: http://www.... [Read full article]

0 Comments

Tags:

Apr
14

Cached EPiServer License Violation script error

Posted by: Fredrik Haglund

You will probably first notice that something is wrong because you get strange behavior from EPiServer. Maybe the right-click menu does not work in view mode or something misbehaves in edit mode. I had a client with this issue who could not get... [Read full article]

0 Comments

Apr
03

Enable debug logging for EPiServer Scheduler

Posted by: Fredrik Haglund

If you have problems with the EPiServer Scheduler Service unexcitingly stopping you can also turn on debug logging to get more clues. Change EPiServer. SchedulerSvc. exe. config FILE You need to add the following to the service’s config-file to get... [Read full article]

0 Comments

Apr
03

Auto Restart of EPiServer Scheduler Service

Posted by: Fredrik Haglund

There are several functions in a EPiServer Web Application that rely on the Services installed by EPiServer Manager. For example delayed publish of a new version of a page at a specific time, mirroring of pages between servers, archiving pages that... [Read full article]

0 Comments

Mar
28

EPiServer Export, Import or Mirror Troubles?

Posted by: Fredrik Haglund

I have been working a lot with migration and mirroring lately using EPiServer’s functions for export and import of data. My EPiServer Wish list Show call stack when exceptions halt export or import jobs Show PageID and Property related to errors... [Read full article]

0 Comments

Mar
27

EPiServer License violation!

Posted by: Fredrik Haglund

Have you been annoyed by the exception “License violation! License is already in use at another online site” when you switch from one web site to another on you developer machine? I have and the reason is of course that I use my developer license... [Read full article]

0 Comments

Mar
20

Available Page Types in EPiServer

Posted by: Fredrik Haglund

It is a best practice to limit the number of Pages Types an editor can choose from when the editor creates a new page. As you probably know this is configured in Admin Mode on each Page Type. What you probably don’t think about is that these... [Read full article]

0 Comments

Mar
19

Convert EPiServer Form to XForm

Posted by: Fredrik Haglund

You must get rid of your Form-properties and convert them to EPiServer XForm before you can migrate them to EPiServer 5. You can easily identify all form-properties on you site with some SQL: SELECT pt. pkID AS PageTypeId, pt. Name as PageType, pd.... [Read full article]

0 Comments

Tags:

Mar
17

Archive Page can create strange exceptions

Posted by: Fredrik Haglund

If you export pages that have the Build-in property Archive Page set pointing to a page that is not included in your export package you will get an exception. At least if you are migrating from EPiServer 4 to 5.1. Use the following script if you... [Read full article]

0 Comments

Feb
28

Export from EPiServer CMS 4

Posted by: Fredrik Haglund

As you probably know EPiServer CMS 5 does not encrypt the export packages like version 4 did. You can open them easily and look inside by changing the extension to zip. The export packages from EPiServer 4 is encrypted and sometimes when you try to... [Read full article]

0 Comments

Feb
23

Get control over your assembly dependencies

Posted by: Fredrik Haglund

Suddenly everything stops working you do not have clue what’s gone wrong. You just get annoying exceptions thrown in your face explaining that it could not find a specific version of a DLL or that the located assembly’s manifest definition does not... [Read full article]

0 Comments

Feb
06

Tip of the day: Simplify Testing of Registration

Posted by: Fredrik Haglund

Many of us have implemented registration procedures both in generic ASP. NET sites and also in EPiServer. One of the more annoying things when you as a developer or tester works with the registration procedure and have to test email activation. It... [Read full article]

0 Comments

Feb
01

Performance Tuning and Optimization of EPiServer

Posted by: Fredrik Haglund

There are many factors to look at when you want to tune the performance of your EPiServer site. This is the first post about common pitfalls and how to optimize EPiServer for performance. EPiServer and Memory First thing to check is that you have... [Read full article]

0 Comments

Jan
25

About Searching inside Uploaded Files

Posted by: Fredrik Haglund

EPiServer uses both an open source library (Lucene) and Microsoft Indexing Service to create the search index for files. In EPiServer 4 was Microsoft Indexing Service responsible for building an index for ordinary files (i. e. the upload folder) and... [Read full article]

0 Comments

Jan
21

Configure EPiServer File Manager

Posted by: Fredrik Haglund

I got a question about the File Manager from one of the attendees on my last EPiServer Developer training and I will share my answer with you. You control the name, order and number of starting points in the File Manager for EPiServer CMS 5 by... [Read full article]

0 Comments

Jan
12

Web.config, version control and nice formatting

Posted by: Fredrik Haglund

EPiServer has a site tag with a lot of attributes. When you change the web. config from EPiServer Manager or by calling Save on the Configuration class yourself all attributes will be on one looong line (this is default behaivour by the dotnet... [Read full article]

0 Comments

Jan
07

Storing metadata attached to uploaded files

Posted by: Fredrik Haglund

Each UnidfiedFile object has a Summary property that you can use to access meta data about the file that is stored in the database (i. e. Author, Category, Comments, Keywords, Subject and Title). These properties can be edited through the file... [Read full article]

0 Comments

EPiTrace logger