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