Archive for the ‘Programming’ Category

DotNetNuke: Workaround for “Validation of viewstate MAC failed” exception when using the DNN 7 login form in multiple tabs

As I’ve written in one of my previous posts, I found out that one gets a “Validation of viewstate MAC failed” exception when submitting a DNN login form and the login status has changed from “not logged in” to “logged in” after the login form initially was loaded (e.g. by using an addition browser tab […]

Read more…

DotNetNuke: ModuleController.UpdateTabModuleSetting() truncates setting names to 50 characters

This is the second blog post in my new DotNetNuke blog series and it’s about a problem I found out when saving TabModuleSettings in my custom module. Generally, saving ModuleSettings and TabModuleSettings in DotNetNuke is very straightforward: The DotNetNuke.Entities.Modules.ModuleController offers two simple update methods: UpdateModuleSetting(int ModuleId, string SettingName, string SettingValue) for updating ModuleSettings and UpdateTabModuleSetting(int […]

Read more…

SubsonicTools: Export all playlists from Subsonic Music Streamer to .m3u playlist files

Starting with version 4.7 (changelog), the Subsonic Music Streamer no longer saves playlists as .m3u files but stores the playlist information in its internal database to offer a more sophisticated playlist management (like shared and private playlists). Before version 4.7 it was very easy to share the Subsonic playlists with other media servers that also […]

Read more…

DotNetNuke: “Validation of viewstate MAC failed” exception when using the DNN 7 login form in multiple tabs

Update 2013-04-18 It turned out, that this is not a bug, but a security feature in DNN. I’ve written an new blog post that describes a possible workaround. This is the first blog post in my new DotNetNuke blog series. For a while now, I’m developing custom DotNetNuke modules and skins and I would like […]

Read more…

Eclipse & Windows 64-Bit: Resolve “Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available…” and “Java was started but returned exit code= 13…”

It’s been a while I’ve set up Eclipse the last time and today I tried to run Eclipse (“Eclipse Classic 4.2.1 / 64 Bit” downloaded from here to be precise) on my fresh installed Windows 8. After extracting the zip folder and starting eclipse.exe I got the error message: Java Runtime Environment (JRE) or Java […]

Read more…