Overlapped i o operation is in progress
Перейти к содержимому

Overlapped i o operation is in progress

  • автор:

Overlapped i o operation is in progress

The «Error 997. Overlapped I/O operation is in progress» is found in the SEP_INST.log when installing or upgrading the Symantec Endpoint Protection (SEP) client.

MSI (s) (48:94) [12:20:55:235]: SECREPAIR: Hash Database: C:\Windows\Installer\SourceHash
MSI (s) (48:94) [12:20:55:235]: SECREPAIR: SourceHash database file already exists. Deleting it.
MSI (s) (48:94) [12:20:55:297]: Note: 1: 2262 2: SourceHash 3: -2147287038
MSI (s) (48:94) [12:20:55:625]: SECREPAIR: New Hash Database creation complete.
MSI (s) (48:94) [12:20:55:875]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (48:94) [12:20:55:875]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (48:94) [12:20:56:062]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (48:94) [12:20:56:062]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (48:94) [12:20:56:233]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (48:94) [12:20:56:233]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (48:94) [12:20:56:389]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (48:94) [12:20:56:389]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (48:94) [12:20:56:561]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (48:94) [12:20:56:561]: SECREPAIR: Crypt Provider not initialized. Error:0
MSI (s) (48:94) [12:20:56:733]: SECREPAIR: A general error running CryptAcquireContext
MSI (s) (48:94) [12:20:56:733]: SECREPAIR: Crypt Provider not initialized. Error:997
MSI (s) (48:94) [12:20:56:733]: SECUREREPAIR: Failed to CreateContentHash of the file: Program Files\Symantec\Name\Version\Bin64\SessionStub.exe: for computing its hash. Error: 997
MSI (s) (48:94) [12:20:56:733]: SECREPAIR: Failed to create hash for the install source files
MSI (s) (48:94) [12:20:56:733]: SECUREREPAIR: SecureRepair Failed. Error code: 3e5F9F834B8
Action start 12:20:55: ResolveSource.
MSI (s) (48:94) [12:23:09:988]:
MSI (c) (5C:44) [12:20:56:811]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

Error 997. Overlapped I/O operation is in progress.

Cause

Either incorrect permissions on the C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 folder.

Per Microsoft’s blog, patch KB2918614 appears to have caused this installation issue:

Resolution

First, verify the permissions for the C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18 folder.
Both SYSTEM and Administrators need to have Full Control.

If the above does not resolve it then look at the Microsoft updates that have been known to impact Microsft Cryptography services.

See «Known issue 2» at the following link for workaround steps related to the SecureRepairPolicy: https://support.microsoft.com/en-us/help/2918614

Applies To
Windows 7 Professional (Windows 8 and possibly others are affected)

Install Failure: Error 997. Overlapped I/O Operation is in Progress

Install Failure: Error 997. Overlapped I/O Operation is in Progress

You are attempting to install Autodesk software and the install fails. During the install process you may receive the following error:

Error 997. Overlapped I/O operation is in progress.

When you look at the install log, you may see errors relating to SECREPAIR and SECUREREPAIR.

The entries in the install log will be similar to the following:

MSI (s) (D8:38) [14:20:10:710]: SECREPAIR: CryptAcquireContext succeeded

MSI (s) (08:A4) [14:22:31:690]: SECUREREPAIR: SecureRepair Failed. Error code: 35F03B34B8

Causes:

This is a known issue sometimes caused by the Microsoft security update KB2918614. This issue occurs because update 2918614 uses cryptographic keys and certificates for hashing the installation files together with the logged-in user profile. However, cryptographic keys and certificates cannot be used by mandatory or temporary user profiles. Therefore, when a user uses a mandatory or temporary user profile to install any MSI package, the MSI package installation fails and the error message returns.

Solution:

Solution #1 – Change the name of the following folder

  1. Rename the following folder:C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18
    to
    C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18_BAK
  2. Try installing the Autodesk software again.

Solution #2 – Apply the following hotfix

Solution #3 – Remove the updates triggering the errors

  1. Go to Control Panel > Uninstall a program (or Programs and Features).
  2. In the left menu, click View installed updates.
  3. In the search box at the top-right, search for KB2918614.If you find it, uninstall it.
  4. Do another search for KB3072630, KB3000988 and KB3008627.If you find them, uninstall them as well.
  5. Reboot the computer and try installing the Autodesk software again.

Solution #4 – Edit the Registry

If the install still fails, add the product code of the product you are trying to install to the SecureRepairWhitelist in the Windows registry.

Warning! Use the Microsoft® Registry Editor only at your own risk and only after backing up the registry and the system.dat anduser.dat files, as outlined for your operating system in the Microsoft Knowledge Base and in How to back up the system registry . More information about the registry is available in Help topics in the Microsoft Registry Editor.

  1. Click Start, click Run, type Regedit in the Open box. Then click OK.
  2. Locate and then click the following subkey in the registry. (Create it if it doesn’t exist.)
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer
  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Type SecureRepairPolicy for the name of the DWORD, and then press Enter.
  5. Right-click SecureRepairPolicy, and then click Modify.
  6. In the Value data box, type 2, and then click OK.
  7. Locate and then click the following subkey in the registry:HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer
  8. On the Edit menu, point to New, and then click Key.
  9. Type SecureRepairWhitelist for the name of the key, and then press Enter.
  10. Double-click the SecureRepairWhitelist key to open it.
  11. On the Edit menu, point to New, and then click String Value. Create String Values that contain the product codes (including braces <>) of the products that have to be added to the Safe Recipients list.The NAME of the String Value is the “product code” and the VALUE can be left blank. To obtain the product code see How to Find the Product Code for an Autodesk Product.
  1. Close the Registry Editor and try installing the Autodesk software again.

NOTES: AutoCAD LT 2015 has 3 additional MSI entries that must be added to the security exceptions list: AutoCAD LT 2015 (acadlt.msi) , AutoCAD LT 2015 Language Pack (AcadltLP.msi) and AutoCAD 2015 PSP (AcadltPS.msi). Below is a registry key example that you can use to review to allow you to install AutoCAD LT 2015:

Windows Registry Editor Version 5.00

«Operating system error code 997(Overlapped I/O operation is in progress.).»

I’m in SSMS using bulk insert to import data from a csv file into an Azure SQL DB. I am getting the following error:

«Cannot bulk load because the file could not be opened. Operating system error code 997(Overlapped I/O operation is in progress.).»

I’ve confirmed that the file is not locked and the proper permissions are set but still no luck. What does this mean and how do I resolve it?

Azure SQL Database
An Azure relational database service.
5,047 questions
Sign in to follow
0 comments No comments Report a concern
I have the same question 0 votes

1 answer

Sort by: Most helpful
Most helpful Newest Oldest

Alberto Morillo 32,716 Reputation points • MVP
2023-11-02T17:47:35.8666667+00:00

What about creating a copy of the same file with a different name on the same Azure Storage container and try to upload the new copy of the file. Does that make the trick? Alternatively, you can also try to use bcp or BULK INSERT to achieve the same goal..

3 comments Show comments for this answer Report a concern
Lucy Liu 0 Reputation points
2023-11-02T18:11:42.42+00:00

Apologies, i need to clarify that i’m already using bulk insert and running into this error. Can you help explain what the error message means and what might be the cause?

0 votes Report a concern

Alberto Morillo 32,716 Reputation points • MVP
2023-11-02T19:45:30.68+00:00

Lucy one possible cause of the error may be the file may be in use by other application, and usually we suggest closing all applications that recently have used the or rename or copy the file with a new name. Sometimes using incorrect parameters or invalid BULK INSERT options (here unsupported use of parameters/options) may lead to the error also. Finally make sure you examine firewall rules on Azure storage account and on the Azure SQL Database side make sure to set «Allow Azure Services and resources to access this server» setting on is set to Yes on the Azure SQL firewall.

Error 997 Overlapped I/O Operation Is In Progress

After installing the Loftware Print Server, you try to start the service, but you get the following error:

Error Message

Could not start the Loftware Print Server service on Local Computer. Error 997: Overlapped I/O operation in progress.

Explanation

During the install you are prompted to reboot your system with the following message:

After clicking OK, you are prompted with another screen that asks you if you would like to restart now or restart later.

If you select No I will restart my computer later, the post boot completion will not happen, and when you go to start your Loftware Print Server service you will get the following error:

Solution

The solution is always to reboot your system right away when it prompts you too, however if you are getting this error, a simple repair of the software will fix this error.

  1. Open the setup.exe file in your install files.
  2. Once the program starts to run, it will prompt you will the following screen

Select Repair and then follow the onscreen prompts until you see the next screen, which prompts you to reboot:

Once you click OK, it will ask you to restart your computer now or later and this time make sure you select now:

Once the system has rebooted and you have logged back in, a screen will pop up that says Post Boot Finalize

Follow the on screen prompts until you see the setup complete screen and then select Finish.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *