PAC 1 - Package may fail using /quiet switch
Brian Donahue
Posts: 6,590 Bronze 1
- Date: 21 Sep 2004
- Versions affected: 1.0
- Operating System versions affected: Windows 2000 (RTM-SP4)
Unable to find entry point named AttachConsole in Kernel32.dll
This happens on Windows 2000 systems when the package is run from the command line using the /quiet switch. Possible workarounds are to not use the quiet switch and let the progress dialog display on-screen or opening the SQL Packager code template project and commenting the following code from PackageMain.cs:
if(packageExecutor.Quiet) //Quiet mode
{
/*PackageUtils.AttachConsole();*/
packageExecutor.Execute(); //Run
}
Note that commenting the code will suppress messages that would normaly be written to the console.
Comments