December 11, 2018
MSSQL
ERROR MESAGGE:
CREATE FILE encountered operating system error 32(The process cannot access the file because it is being used by another process.) while attempting to open or create the physical file
EXPLANATION:
You may receive this error in the following cases.:
- When you want to attach the database files to an instance
- When you want to restore the database to an instance
- If Instance cannot create tempdb files while opening.
SOLUTION:
- Make sure that the database files that you are trying to attach to your SQL Server Instance is not being used by another SQL Server Instance.
- Make sure that the database that you are trying to restore to your SQL Server Instance is not being used by another SQL Server Instance.
- Make sure that there are no tempdb files of another instnce on the path where tempdb will be created.
Posted by blakhani on August 7, 2014
While playing with tempDB database on my machine, I have made some mistake and then was not able to start one SQL Instance. As usual, started troubleshooting and used sysinternals tool to find the cause of the problem.
First, I looked into ERRORLOG and found below messages. I have highlighted some text for clarity.
2014-08-07 05:53:44.13 spid11s Clearing tempdb database.
2014-08-07 05:53:44.40 spid11s Error: 5123, Severity: 16, State: 1.
2014-08-07 05:53:44.40 spid11s CREATE FILE encountered operating system error 32(The process cannot access the file because it is being used by another process.) while attempting to open or create the physical file ‘E:\TempDB\tempdb.mdf’.
2014-08-07 05:53:45.42 spid11s Error: 17204, Severity: 16, State: 1.
2014-08-07 05:53:45.42 spid11s FCB::Open failed: Could not open file E:\TempDB\tempdb.mdf for file number 1. OS error: 32(The process cannot access the file because it is being used by another process.).
2014-08-07 05:53:45.43 spid11s Error: 5120, Severity: 16, State: 101.
2014-08-07 05:53:45.43 spid11s Unable to open the physical file «E:\TempDB\tempdb.mdf». Operating system error 32: «32(The process cannot access the file because it is being used by another process.)».
2014-08-07 05:53:45.46 spid11s Error: 1802, Severity: 16, State: 4.
2014-08-07 05:53:45.46 spid11s CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
2014-08-07 05:53:45.46 spid11s Could not create tempdb. You may not have enough disk space available. Free additional disk space by deleting other files on the tempdb drive and then restart SQL Server. Check for additional errors in the event log that may indicate why the tempdb files could not be initialized.
2014-08-07 05:53:45.46 spid11s SQL Trace was stopped due to server shutdown. Trace ID = ‘1’. This is an informational message only; no user action is required.
2014-08-07 05:53:49.68 Logon Error: 17188, Severity: 16, State: 1.
2014-08-07 05:53:49.68 Logon SQL Server cannot accept new connections, because it is shutting down. The connection has been closed. [CLIENT: <local machine>]
Due to OS Error 32, SQL was not able to use files which are needed by TempDB database and unable to start.
Next task for us would be to find out which is that “another process”. If it’s an open handle by a use mode process we would be able to find out using Process Explorer. Once you download and run it, we can see something like below.
Then press Ctrl+F or use Menu option “Find” > “Find Handle or DLL” as shown below
In the find window provide file name with complete path and search. I was able to get below
Now, since I know that “another process” I can take the action which is suitable. This happened to me because my two instances are pointing to same location for tempdb database files. I have rectified them on non-starting instance by below steps.
1. Started SQL Server using “Net Start MSSQL$SQL2014 /mSQLCMD /f /T3608”
2. Connected to SQL via SQLCMD –S(local)\SQL2014
3. Executed below T-SQL
USE master; GO ALTER DATABASE tempdb MODIFY FILE (NAME = tempdev, FILENAME = 'E:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\tempdb.mdf'); GO ALTER DATABASE tempdb MODIFY FILE (NAME = templog, FILENAME = 'E:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\tempdb.ldf'); GO
4. Stopped SQL via “net stop MSSQL$SQL2014”
5. Started SQL normally.
(Click on Image to enlarge)
Hope this would help you in troubleshooting OS Error 32 for other application as well.
This entry was posted on August 7, 2014 at 3:30 AM and is filed under Troubleshooting.
Tagged: Could not create tempdb, Error: 17204, Error: 1802, Error: 5120, Error: 5123, SQL, sql server, The process cannot access the file because it is being used by another process, Troubleshooting. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
|
Операция create file вызвала ошибку операционной системы 32 | ☑ | ||
|---|---|---|---|---|
|
0
cmex 31.12.13 ✎ 10:35 |
Доброе утро.С наступающим всех. |
|||
|
1
Irbis 31.12.13 ✎ 10:36 |
может места не хватило? |
|||
|
2
1Сергей 31.12.13 ✎ 10:37 |
нельзя пьяному за комп садиться |
|||
|
3
shuhard 31.12.13 ✎ 10:37 |
(0)[в чем беда может быть?] |
|||
|
4
cmex 31.12.13 ✎ 10:40 |
(3) поясни |
|||
|
5
cmex 31.12.13 ✎ 10:41 |
(2) согласен, делать то чего? |
|||
|
6
cmex 31.12.13 ✎ 10:41 |
(1) места полно( |
|||
|
7
Irbis 31.12.13 ✎ 10:42 |
(6) Это по твоему так, у системы может быть мнение прямо противовположное. |
|||
|
8
fmrlex 31.12.13 ✎ 10:43 |
(0) Файло в базе есть овер 4ГБ может быть |
|||
|
9
ДенисЧ 31.12.13 ✎ 10:49 |
http://www.rsdn.ru/forum/db/3075476.flat Вкратце по гуглю. Скорее всего нет прав. |
|||
|
10
cmex 31.12.13 ✎ 10:49 |
(7) как проверить? |
|||
|
11
cmex 31.12.13 ✎ 10:50 |
(9) а как права проверить? вроде админские везде |
|||
|
12
ДенисЧ 31.12.13 ✎ 10:51 |
(11) И у скуль-сервера админские? |
|||
|
13
cmex 31.12.13 ✎ 10:52 |
(12) да |
|||
|
14
ДенисЧ 31.12.13 ✎ 10:54 |
(13) Выгони сисадмина с волчьим билетом. Или пусть он проверяет. |
|||
|
15
cmex 31.12.13 ✎ 10:56 |
(14) беда в том, что все кто отвечает за это уже на каникулах, я как бы дежурю и так совпало, что пользователь выйдя сегодня из отпуска не может войти в базу( совпадения( |
TurboConf — расширение возможностей Конфигуратора 1С
-
Home
-
News
- 3 Ways to Launch Error 30005 Create File Failed with 32
By Tina |
Last Updated
What causes the launch error 30005 create file failed with 32? How to fix create file failed with 32? This post from MiniTool shows how to fix this error. In addition, you can visit MiniTool to find more Windows tips and solutions.
When launching a game, you may encounter the launch error 30005 create file failed with 32 that is protected by Easy Anti-Cheat and it occurs because the application fails to create a file in the folder where Easy Anti-Cheat is installed.
The error create file failed with 32 may be caused by several reasons. It may be caused by the sys file, game verification, service-disabled, third-party antivirus software, etc.
So, in the following section, we will show you how to fix create file failed with 32 error.
3 Ways to Launch Error 30005 Create File Failed with 32
In this part, we will show you how to fix create file failed with 32 error.
Way 1. Delete the SYS File
If there is an SYS file in the Easy Anti-Cheat Service folder, you may come across the launch error 30005 create file failed with 32, which might prevent the creation of any other file. So, in order to fix this error, you can choose to delete the SYS file.
Now, here is the tutorial.
- Navigate to the folder you install Easy Anti-Cheat Service.
- Then select the EasyAntiCheat.sys file.
- Then delete it.
After that, restart the game and check whether the error create file failed with 32 is solved.
Way 2. Verify the Game
If the game file is missing, you may get the launch error 30005 create file failed with 32. In this situation, you can choose to verify the game.
Now, here is the tutorial.
- Go to the EasyAntiCheat folder and launch the EasyAntiCheat.exe.
- Then it will show up to select a game, the select the gaming you are facing the error create file failed with 32.
- Next, select Install or repair.
- When the process is finished, reboot your game and check whether the launch error 30005 create file failed with 32 is solved.
Way 3. Enable Service
If the service of EasyAntiCheat is disabled, it is common for you to come across the launch error 30005 create file failed with 32. So, in this case, you need to enable the EasyAntiCheat service.
Now, here is the tutorial.
- Press Windows key and R key together to open Run dialog.
- Then type services.msc in the box and click OK to continue.
- In the Services window, find out the EasyAntiCheat service.
- Then double-click it.
- Change its Startup Type to Automatic, and then change its Service Status to Running.
- At last, click Apply and OK to save the changes.
Once all steps are finished, restart the game and check whether the launch error 3005 create file failed with 32 is removed.
Final Words
To sum up, as for how to fix create file failed with 32, this post has shown 3 ways. If you come across the same error when launching a game, you can try these solutions. If you have any different idea of the error create file failed with 32, you leave a message in the comment zone.
About The Author
Position: Columnist
Tina is a technology enthusiast and joined MiniTool in 2018. As an editor of MiniTool, she is keeping on sharing computer tips and providing reliable solutions, especially specializing in Windows and files backup and restore. Besides, she is expanding her knowledge and skills in data recovery, disk space optimizations, etc. On her spare time, Tina likes to watch movies, go shopping or chat with friends and enjoy her life.
‘Error 3005: Create File Failed with 32’ error is displayed when a user tries to launch a game that is protected by Easy Anti-Cheat and it occurs because the application fails to create a file in the folder where Easy Anti-Cheat is installed. It might also indicate a corruption of the software.
What Causes the “Error 30005: Create File Failed with 32” Error on Easy Anti-Cheat & How to Fix it?
We found the underlying causes to be:
- Sys File: Sometimes the sys file located inside the main folder where Easy Anti-cheat has been installed might be preventing the software from being able to create another file due to which the error is being triggered. This file only contains the launch data of a particular game at a particular time.
- Game Verification: Sometimes, the game that you are trying to launch might have gotten corrupted or some of its files might be missing due to which the error is being triggered. It is very important that all of the game files are verified by the Easy Anti-Cheat service before the game is launched. If the game has been installed through steam, the file integrity also needs to be verified.
- Service-Disabled: In some cases, the Easy Anti-Cheat service might have either been disabled by the user or by optimization software. However, the Games associated with the Easy Anti-Cheat Protection need this service to be up and running before they can be launched. If the service is disabled or its functionality has been limited, this error might be triggered.
- Anti-Virus: It is possible that the Anti-virus or the Anti-malware software that you have installed on your computer might be blocking the Easy Anti-Cheat service from being able to access the internet due to which the error is being triggered.
Solution 1: Deleting the SYS File
There is an SYS file located inside the Easy Anti-Cheat Folder that might be preventing the creation of any other file by the Easy Anti-Cheat Service. Therefore, in this step, we will be deleting that file and it will automatically be replaced by another. For that:
- Navigate to the folder where you installed Easy Anti-Cheat Service.
- Open the folder and right-click on the “EasyAntiCheat.sys” file.
Deleting the “EasyAntiCheat.sys.” File - Select the “Delete” option to remove the file from your computer.
- Start the game and check to see if the issue persists.
Solution 2: Verifying Game
In some cases, the game file might be missing it might have gotten unverified due to which the error is being triggered. Therefore, in this step, we will be verifying the game through Easy Anti-Cheat. For that:
- Go in the EasyAntiCheat folder and launch the EasyAntiCheat.exe
- It will show up to select a game, then select the game you are facing issues with.
- Select Install or repair.
Clicking on the “Repair” button - Wait for the process to be completed and check to see if the issue persists.
Solution 3: Enabling Service
If the Easy Anti-Cheat service has been disabled by the user, it might prevent the game from being able to launch. Therefore, in this step, we will be starting that service. For that:
- Press “Windows” + “R” to open the Run prompt.
- Type in “services.msc” and press “Enter”.
Opening services by typing “services.msc” in the RUN command. - Double-click on the Easy Anti-Cheat service and select the “Start” button.
- Click on the “Startup Type” option and select “Automatic”.a
Set the service’s startup type to Automatic - Select “Apply” and then click on “OK”.
- Try to start the game and check to see if the issue persists.
Note: Disable the Antivirus installed on the system to avoid the game from being blocked.
Kevin Arrows
Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.
Back to top button






