Tuesday 29 September 2009

Friday 18 September 2009

I tempi dell'amministrazione pubblica Italiana

Il 4 Settembre ho segnalato un link errato al webmaster del sito esteri.it con questa email:
From: Alessandro Riolo [alessandro.riolo@gmail.com]
Sent: 04 September 2009 16:07
To: 'webmaster@esteri.it'
Subject: Segnalazione link errato


Al gentile webmaster del sito esteri.it,

Le segnalo con questa un link errato.

Alla pagina:
<http://www.esteri.it/MAE/IT/Ministero/NormativaOnline/Normativa_consolare/Visti/>

Il seguente link:
Istruzione Consolare Comune - Aggiornamento degli allegati 1,3,4,9,12,15, e 18 " (Consiglio dell'Unione Europea Doc. 16260/1/07 Rev 1 Visa 387 del 13.2.08)

Punta erroneamente a:
<http://www.esteri.it/MAE/normative/Normativa_Consolare/Visti/Agg.to_Allegati_1_3_4_9_12_15_18_feb_08.pdf>

Invece che alla corretta locazione del documento che si trova a:
<http://www.esteri.it/MAE/normative/Normativa_Consolare/Visti/doc/Agg.to Allegati 1,3,4,9,12,15,18 feb 08.pdf>

Cordiali saluti,
Alessandro Riolo
Dopo due settimane, a parte il fatto che nessuno mi ha mai risposto, il link è ancora errato.

Wednesday 16 September 2009

Turn off IE ESC, a very unusual work around to Error 10016 on Windows 2008 R2

You will find countless posts on Internet about the Error messages 10016 on Windows 2008 R2, mostly related to the installation of Sharepoint and/or the IIS WAMREG application.

In example Wictor Wilén has published one of such posts, but you may find truly find tens of similar posts, even KBs on Microsoft support website all pointing you to try to change registry settings or DCOM configurations.

Today, for the previous 8 hours, I dealt with this very same error message 10016, I was basically trying to instance an object from some server side vbscript in an asp page, and there was no way that I was able to make it work.

To make it clear, I was just trying with absolute no joy to execute something like this:
<%
    Set MyObject = Server.CreateObject("MyCOMComponent.MyClass.1")
%>
I was only able to get something like this on the system event log:
The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
and APPID
{YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY}
to the user COMPANY\myUser SID (S-Z-Z-ZZ-ZZZZZZZZZZ-ZZZZZZZZZ-ZZZZZZZZZZ-ZZZZ) from address LocalHost (Using LRPC). This security permission can be modified using the Component Services administrative tool.
I truly tried everything I found on the Internet related to 10016, and much more I managed to conceive myself, I even picked the brain of 4 of my brilliant officemates, but we got nowhere.

I was almost tempted to give up for the day, when serendipity struck gold: instead of trying to browse the asp page from the browser on the server, I tried with the browser on my workstation, and everything worked absolutely fine.

I had just to turn off the IE ESC (Internet Explorer Enhanced Security Configuration) from the Security Information summary on Server Manager, to see the asp page starting to work also on the server.

Amazingly, it seems that turning on the IE ESC is preventing server side vbscript from executing correctly on Windows Server 2008 R2.

Tuesday 15 September 2009

Canvassing to get Microsoft to provide the option to stop on the first error

For all sort of good reasons, it would be great to have the option to stop a build in C++ or a compilation in C# at the first error; there are a lot of scenarios where we would save a lot of time (and therefore money).

It seems Microsoft hasn't been keen on solving those issues for years, and while it is possible to find work around on certain circumstances using macros (calling DTE.ExecuteCommand("Build.Cancel")), it would be a good idea advising Microsoft to revert his opinion about the severity of those issue.

If you have a Microsoft Connect account, when available please invest a minute on voting those issues:
From my own point of view they both deserve 5 stars.

Thank you,