It is a known fact that Midas.dll needs to be registered before installing/registering a COM+ ActiveX Library under COM+, when deploying an ActiveX library written with Delphi, right?
Well... something interesting that I discovered this week: DON'T register a Midas.dll version 10.x (from BDS 2006 installation). Use a lower version - I'm using my D6 dll.
If you use version 10.x it will be registered without any errors, but when you try to install the ActiveX Library, boooom!!! You will get a "Error loading type library" error, as Midas.dll was not registered at all.
After ActiveX Library installation/registration, Midas.dll can be even deleted (If you are linking with MidasLib.dcu), as usual.
Wednesday, April 23, 2008
Monday, April 14, 2008
ASP.NET Compilation Error
Another common error I've found installing ASP.NET web services in IIS:
"Compilation Error - The compiler failed with error code 128"
This error has a simple solution: Just go to your .NET subfolder, for instance,
%SystemRoot%\system32\Microsoft.NET\Framework\
and type
aspnet_regiis -i
This will re-install and configure ASP.NET for IIS.
"Compilation Error - The compiler failed with error code 128"
This error has a simple solution: Just go to your .NET subfolder, for instance,
%SystemRoot%\system32\Microsoft.NET\Framework\
and type
aspnet_regiis -i
This will re-install and configure ASP.NET for IIS.
Subscribe to:
Posts (Atom)