Created On: 08 October 2010
Problem:
Compiling the .net sample program provided in the ACUCOBOL-GT installation fails. The compile command line is:
ccbl32.exe --netdll:2.0 nettocobol.cbl
Which produces the following compile output error:
CreateProcess failed for C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\AL.EXE /target:lib /v:1.0.0.0 /embed:"nettocobol.acu",AcuNet /out:"C:\Acucorp\Acucbl810\AcuGT\bin\nettocobol.dll" "C:\Acucorp\Acucbl810\AcuGT\bin\nettocobol.NETModule"RC = 2Error occured storing the COBOL program into the DLL's manefest
The Windows PC involved does have the Microsoft .Net Framework 2.0 installed.
ccbl32.exe --netdll:2.0 nettocobol.cbl
Which produces the following compile output error:
CreateProcess failed for C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\AL.EXE /target:lib /v:1.0.0.0 /embed:"nettocobol.acu",AcuNet /out:"C:\Acucorp\Acucbl810\AcuGT\bin\nettocobol.dll" "C:\Acucorp\Acucbl810\AcuGT\bin\nettocobol.NETModule"RC = 2Error occured storing the COBOL program into the DLL's manefest
The Windows PC involved does have the Microsoft .Net Framework 2.0 installed.
Resolution:
The Microsoft .NET framework does not include AL.EXE which is necessary for producing the proper DLLs for .NET to call your COBOL program. The resolution is to install the Microsoft .NET SDK which is a free download that includes AL.EXE. Note that if Visual Studio is installed then the Microsoft SDK is not needed as it is included in VS.
Version 3.5 SDK is available here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&displaylang=en
Version 3.5 SDK is available here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=F26B1AA4-741A-433A-9BE5-FA919850BDBF&displaylang=en