Ektron CMS400 7.0 issues with .NET Framework 3.5 SP1
After upgrading my development machine with Microsoft .NET Framework 3.5 SP1, I noticed a couple things. First, the installer also updated the .NET Framework 2.0 instance to Service Pack 2.
Second, my instance of Ektron CMS400 v.220.127.116.11 (which runs under .NET Framework 2.0) starting having problems. Specifically, I could no longer create library items in the workarea. Attempting to save a library item, for example, a hyperlink would cause the page to postback and the icon bar to disappear:
There is no error message, but viewing the library item list reveals that the item was not saved.
The culprit was the page /workarea/library.aspx. Viewing the HTML source of this page when attempting to “Add Library”, the form tag’s action attribute was:
… no querystring parameters; so when the page posts back in Ektron, it can’t save the library item and fails.
Viewing the same page on a system without .NET Framework 3.5 SP1 results in an action attribute like this:
Some background: As it turns out, the .NET Framework 3.5 SP1 installation changes the way the FORM tag’s ACTION attribute is handled. Prior to this upgrade, ASP.NET would ignore whatever you typed for the form’s action attribute in the markup. ASP.NET would instead render the action attribute to match the original page request. Starting with SP1, the action attribute is no longer ignored and will be rendered exactly as input.
Ektron, as it turns out, supplied an action attribute in the library.aspx form tag. Until the release of this Service Pack, it was ignored by ASP.NET.
Two possible solutions:
- Rollback install of .NET Framework 3.5 SP1 – this is a somewhat complicated process.
- Remove the form tag’s action attribute in /workarea/library.aspx.
This may not be an issue in Ektron CMS400 7.5+, but users of v7.0 should be wary, even if they’re not planning on upgrading .NET Framework 3.5 SP1… Windows Update may upgrade you automatically around November of this year.