Janjonas - janjonas.net - Jan Jonas' blog
General Information:
Latest News:
Windows: Command line utility to get a list of all users in an active directory group 29 Apr 2013 | 01:31 am
You can easily get a list of all users that are member of a specific active directory group with the following command: net group /domain [GROUP-NAME] Hope this helps somebody… Related posts: ASP.NET...
XenServer 5.6: Add /var/log/btmp to logrotate 27 Apr 2013 | 07:43 pm
Warning: Since a large /var/log/btmp could indicate that somebody runs brute force attacks against your system, you may should at least think about changing the ssh port or setting up tools like DenyH...
Hosting WCF services in IIS: Fix URLs of WSDL files that include internal domain or machine names 21 Apr 2013 | 02:24 am
If you host your WCF service in the IIS web server and have the problem, that the URLs of the WSDL files contain internal domain names (or your machine names) that cannot be resolved by the clients wh...
My daily DotNetNuke: Workaround for “Validation of viewstate MAC failed” exception when using the DNN 7 login form in multiple tabs 19 Apr 2013 | 01:03 am
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 logg...
My daily DotNetNuke: ModuleController.UpdateTabModuleSetting() truncates setting names to 50 characters 2 Apr 2013 | 09:31 pm
This is my second blog post in my new “My daily DotNetNuke” blog series and it’s about a problem I found out when saving TabModuleSettings in my custom module. Generally, saving ModuleSettings and Tab...
SubsonicTools: Export all playlists from Subsonic Music Streamer to .m3u playlist files 29 Mar 2013 | 09:25 pm
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 pl...
My daily DotNetNuke: “Validation of viewstate MAC failed” exception when using the DNN 7 login form in multiple tabs 28 Mar 2013 | 02:00 am
This is my first blog post in my new “My daily DotNetNuke” blog series. For a while now, I’m developing custom DotNetNuke modules and skins and I would like to share my experiences, problems and best ...
Eclipse & Windows 64-Bit: Resolve “Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available…” and “Java was started but returned... 9 Feb 2013 | 05:26 pm
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 extrac...
Ubuntu 12.04.1 LTS & ant: Resolve “Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar” 4 Nov 2012 | 05:31 pm
I recently got the following error when I tried to run ant on a fresh installed Ubuntu 12.04.1 LTS machine: Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/too...
ASP.NET MVC 4 RC: Get current controller name from HttpContext 7 Sep 2012 | 05:14 pm
To find out the name of the current controller from a HTTP context, you can use the following code snippet: var controllerName = RouteTable.Routes.GetRouteData( new HttpContextWrapper(HttpContext.Curr...