VC8 on VS2022 in Windows 11.
A program that worked in VC6 fails as when trying to debug it falls straight into the Declaratives. The project type is int/gnt.
VC8 on VS2022 in Windows 11.
A program that worked in VC6 fails as when trying to debug it falls straight into the Declaratives. The project type is int/gnt.
VC8 on VS2022 in Windows 11.
A program that worked in VC6 fails as when trying to debug it falls straight into the Declaratives. The project type is int/gnt.
What is the compile error?
What is the coding from the error in Declaratives section.
i had no problem with this in vc8.0 and all other vc version since 3.0
What is the compile error?
What is the coding from the error in Declaratives section.
i had no problem with this in vc8.0 and all other vc version since 3.0
It is coming back with file status code of Hex'3909' when trying to open an existing file.
It is coming back with file status code of Hex'3909' when trying to open an existing file.
That file status translates to run-time error 9 which states:
Resolution:
Create the directory if it does not already exist. If the directory is full, either delete any files that you no longer need or, if your operating system supports this, redirect your program's file operations to alternative storage. Alternatively, specify a different drive or directory for your file operations.
What is the full name of the file that you are attempting to open?
Is this in the location specified by the filename's path?
That file status translates to run-time error 9 which states:
Resolution:
Create the directory if it does not already exist. If the directory is full, either delete any files that you no longer need or, if your operating system supports this, redirect your program's file operations to alternative storage. Alternatively, specify a different drive or directory for your file operations.
What is the full name of the file that you are attempting to open?
Is this in the location specified by the filename's path?
The program is trying to open a file that exists. After a rebulid I get "Unspecified error (Exception from HRESULT:0x80004006 (E_FAIL))" when I start to debug.
The program is trying to open a file that exists. After a rebulid I get "Unspecified error (Exception from HRESULT:0x80004006 (E_FAIL))" when I start to debug.
So you rebuild the project and then start to debug and you get that error? Can you debug other programs and projects or do those fail too? If it is a general failure for all projects then it sounds like something might be wrong with the product installation. Try performing a repair on Visual COBOL from Control Panel and try again.
So you rebuild the project and then start to debug and you get that error? Can you debug other programs and projects or do those fail too? If it is a general failure for all projects then it sounds like something might be wrong with the product installation. Try performing a repair on Visual COBOL from Control Panel and try again.
I just moved another project to VC8 and I get the same exception after the 1st build when starting to debug.
I just moved another project to VC8 and I get the same exception after the 1st build when starting to debug.
Can you please try to open and debug one of the projects in the Samples Browser (open Samples under the Micro Focus Visual COBOL folder on the Start menu). Does it fail in the same way or is this specific to your projects?
This isn't a known problem so I would suggest that you try repairing Visual COBOL and Visual Studio and trying again. If the error persists then you should open up a support case with Micro Focus Customer Care so that we can investigate further.
Can you please try to open and debug one of the projects in the Samples Browser (open Samples under the Micro Focus Visual COBOL folder on the Start menu). Does it fail in the same way or is this specific to your projects?
This isn't a known problem so I would suggest that you try repairing Visual COBOL and Visual Studio and trying again. If the error persists then you should open up a support case with Micro Focus Customer Care so that we can investigate further.
On repairing VC8 it failed an extract from the log is below
[1994:1858][2022-12-09T13:59:45]i301: Applying execute package: cblms_x86, action: Repair, path: C:\\ProgramData\\Package Cache\\331E737A96B5A92CF15EA8922FCA6D11D806FBB6\\cblms.exe, arguments: '"C:\\ProgramData\\Package Cache\\331E737A96B5A92CF15EA8922FCA6D11D806FBB6\\cblms.exe" -U'
[1994:1858][2022-12-09T13:59:45]e000: Error 0x80070005: Process returned error: 0x5
[1994:1858][2022-12-09T13:59:45]e000: Error 0x80070005: Failed to execute EXE package.
[15CC:1090][2022-12-09T13:59:45]e000: Error 0x80070005: Failed to configure per-machine EXE package.
[15CC:1090][2022-12-09T13:59:45]i319: Applied execute package: cblms_x86, result: 0x80070005, restart: None
[15CC:1090][2022-12-09T13:59:45]e000: Error 0x80070005: Failed to execute EXE package.
[1994:1858][2022-12-09T13:59:45]i372: Session end, registration key: SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{cecf3000-8979-4b05-b35a-ef938e63e49e}, resume: ARP, restart: None, disable resume: No
[1994:1858][2022-12-09T13:59:45]i371: Updating session, registration key: SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{cecf3000-8979-4b05-b35a-ef938e63e49e}, resume: ARP, restart initiated: No, disable resume: No
[15CC:1090][2022-12-09T13:59:45]i399: Apply complete, result: 0x80070005, restart: None, ba requested restart: No
On repairing VC8 it failed an extract from the log is below
[1994:1858][2022-12-09T13:59:45]i301: Applying execute package: cblms_x86, action: Repair, path: C:\\ProgramData\\Package Cache\\331E737A96B5A92CF15EA8922FCA6D11D806FBB6\\cblms.exe, arguments: '"C:\\ProgramData\\Package Cache\\331E737A96B5A92CF15EA8922FCA6D11D806FBB6\\cblms.exe" -U'
[1994:1858][2022-12-09T13:59:45]e000: Error 0x80070005: Process returned error: 0x5
[1994:1858][2022-12-09T13:59:45]e000: Error 0x80070005: Failed to execute EXE package.
[15CC:1090][2022-12-09T13:59:45]e000: Error 0x80070005: Failed to configure per-machine EXE package.
[15CC:1090][2022-12-09T13:59:45]i319: Applied execute package: cblms_x86, result: 0x80070005, restart: None
[15CC:1090][2022-12-09T13:59:45]e000: Error 0x80070005: Failed to execute EXE package.
[1994:1858][2022-12-09T13:59:45]i372: Session end, registration key: SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{cecf3000-8979-4b05-b35a-ef938e63e49e}, resume: ARP, restart: None, disable resume: No
[1994:1858][2022-12-09T13:59:45]i371: Updating session, registration key: SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{cecf3000-8979-4b05-b35a-ef938e63e49e}, resume: ARP, restart initiated: No, disable resume: No
[15CC:1090][2022-12-09T13:59:45]i399: Apply complete, result: 0x80070005, restart: None, ba requested restart: No
The Windows error 0x80070005 means access denied. Are you running with Adminstrator rights?
You should open up a support case with Customer Care so that we can better investigate the situation.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.