Sunday, February 05, 2012       Register      Login
  
Categories
Search blogs

Archive
Most recent blog entries
Author: Mad Druid Created: Monday, February 04, 2008
Information communication technologies: chatting around computer world
[Informatica e telecomunicazioni: post sul mondo dei computer]

Those of you working with Microsoft Certification Authority in a .NET environment probably noticed that during the use of a specific Win32 dll in .NET an anomalous situation arises.PrologueCertAdm.dll library expose, among other ca administrative methods, the RevokeCertificate method of the ICertAdmin2 interface. Those method, as explained in documentation, accept the LONG Reason input parameter (We could argue why a LONG, given that allowed values are 0..6).However, from the documentation we can read that in case of certificates revoked with CRL_REASON_CERTIFICATE_HOLD reason (Reason=6) it is possible to invoke again RevokeCertificate method to do a certificate resume using MAXDWORD (0xffffffff as defined in Winnt.h) as Reason value. After it is reinstated, the certificate will not appear in future CRLs.The anomalyWhen importing CertAdm.dll in your .NET project, Visual Studio provide to create the wrapper Interop.CERTADMINLib.dll....

Read More »

Few days ago, early in the morning, connecting to my DotNetNuke site I found it completely crashed!Apparently without a valid reason, given that I left it in good health the night before... everything was ok and I didn't make any config changes.Giving a look at the log, the main exception (at which many other followed) seemed to be this:"System.Web.HttpCompileException: \Portals\_default\Skins\Tranquility\Basic.ascx(32): error BC30560: 'admin_skins_solpartmenu_ascx' is ambiguous in the namespace 'ASP'."After 5 minutes of panic, I started to look for a known solution on the internet and on dotnetnuke.com forums.I didn't find many solutions... and the few ones I found didn't match my case.For someone the exception arises due to the existence of an "admin" virtual path Others state that is a naming conflict and a renaming is enough to fix the bug In some other cases seems to be...

Read More »

Sponsors
Privacy Statement      Terms Of Use      Copyright 2007 by NetDruids.com