Unwichtiges nach Relevanz sortieren...

Running telnet.exe from Internet Explorer

Today I had the task to launch a telnet session within a web page. Not to hard, I thought, when using IE. But as usual: it was harded than expected. 

The challenge is to run it on x86 and x64 version of Windows. Here is my code:

function launchTelnet(address) {

    if (window.navigator.userAgent.indexOf("WOW64") == -1) {
        var commandtoRun = "C:\\Windows\\system32\\telnet.exe";

        var oShell = new ActiveXObject("Shell.Application");
        oShell.ShellExecute(commandtoRun, address, "", "open", "1");
    } else {
        var commandtoRun = "C:\\Windows\\sysnative\\telnet.exe";

        var oShell = new ActiveXObject("Shell.Application");
        oShell.ShellExecute(commandtoRun, address, "", "open", "1");
    return true;

Live Event zur Keynote der PDC

Die .NET User Group Hamburg veranstaltet ein Live Event zur PDC (Professional Developers Conference). Es gibt den Livestream der Keynote und eine Reihe von Überraschungen.


Microsoft Hamburg
Gasstraße 6a

28.10. 17:45

Der Stream startet unm 18 Uhr!

Weitere Details findet Ihr unter:

.NET User Group Hamburg Treffen am 14.7.

Das nächste .NET User Group Hamburg Treffen findet am 7. Juli (14.Juli) 2010 bei der SinnerSchrader Deutschland GmbH, Völkersstraße 38, Hamburg ( statt.

Thema: Server-side Javascript mit node.js ( von Malte Ubl (,

Der Vortrag wurde auf der Scandinavian Web Developer Conference 2010 ( gehalten.

Eintritt ist wie immer frei und die Anmeldung erfolgt per Xing.

Node.js was easily the most exciting peace of innovation in web technology in 2009. If it wasn't good enough to finally enjoy working in a server side JavaScript environment that just feels right, node.js brought a new paradigm to mainstream web development that has never been this accessible before: Asynchronous non-blocking IO and the event loop.

The realtime web with new protocols for two-sided communication between client and server such as Comet require a whole new approach to scalability. With the traditional request-response paradigm for sending data between client and server we got away with building servers that only allowed a quite small number of simultaneous connections to be open at any given time. This approach no longer works but building scalable servers is harder than it seems. The good thing is: With node.js it is really easy.

This talk will give you an overview in how to build highly scalable network applications with node.js in a matter of minutes and we will take a little detour into what asynchronous programming really is and how it solves many of the scalability problems we face today.

Bio: Malte specializes in web based rocket science for Germany's leading internet agency SinnerSchrader.

Socialized with Smalltalk in the 90s Malte later explored the depth of Perl and most other programming languages until falling in love with JavaScript. He is the creator of the Joose meta object system which transfer concepts from a multitude of programming languages into JavaScript in a way that feels both powerful and native to the core language.

Malte likes to build stuff. You might meet him on the web doing web worker integration for bespin, tracking the one event loop to rule them all, saving the environment or inventing massively parallel crowd-sourced JavaScript app server clouds.

Erstes .NET Coding Dojo in Hamburg

Die .NET User Group Hamburg veranstaltet das

1. .NET Coding Dojo Hamburg

19.05.2010 – 19 Uhr

Masters of Arts Anwendungsentwicklung GmbH
Johannes Brahms Platz 9
20355 Hamburg

Anmeldung über Xing

Mehr dazu unter Steffens Blog:


Async WCF calls with impersonation

I was playing around with impersonated asynchronous WCF calls and discovered a strange behaviour on the WCF server side: most of the time the identity was the correct impersonated identity but sometimes it was only the client process identity (like 'hostname$'). I was looking at all different configuartion hells of WCF but did not find any solution to fix the problem.

After searching the web I found two interesting posts from Micorosft:


The first document stated that I am trying to use an unsupported scenario. The second document says that there is a hotfix available for Vista and Windows Server 2008 (SP2 and higher).

Unfortunately my customer is running Windows 2003 SP2. So there seems to be no way to use async WCF calls with impersonation. Very sad.

Reportviewer: The report definition is not valid. Details: Data at the root level is invalid. Line 1, position 1.

Nach dem Deployen (Web Deployment Project) von lokalen rdlc Reports aus Visual Studio 2008 heraus, gab es auf dem IIS folgenden Fehler:

[ReportProcessingException: The report definition is not valid.  
Details: Data at the root level is invalid. Line 1, position 1.]

[DefinitionInvalidException: The definition of the report
'Main Report' is invalid.]


Das Problem ist, dass die Reports vorkompliliert werden, was leider kontraproduktiv ist. Durch ergänzen der csproj Datei für das Deploy kann der Fehler umgangen werden:

<Target Name="AfterBuild">
  <Delete Files="$(OutputPath)\Reports\Report.rdlc" />
  <Copy SourceFiles="$(SolutionDir)WebSites\MyWebApp\Reports\Report.rdlc" 
        DestinationFolder="$(OutputPath)\Reports" />
< /Target>