Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot save file in WebStorm 9

Tags:

webstorm

I have been using the same workflow for months to add a new page in my ASP .NET site, but all of a sudden I am getting problems with trying to save a .ascx file inside of WebStorm.

I created the .ascx page in VS and then saved it. I then go over to WebStorm to start developing and I cannot save any of these new files. I get this error:

Following errors occurred on attepmt to save files:

C:\...\Management\Management.ascx___jb_bak___ (Access is denied)

I don't get what this file is and why it can't be saved... The jb makes it seem like a JetBrains file, but this file doesn't actually exist in the filesystem. All the other files I have had work just fine. Its just this new file all of a sudden.

What does this error even mean.. there is no valuable information

like image 595
Matt Hintzke Avatar asked Jan 29 '15 20:01

Matt Hintzke


People also ask

How do I save a file in Webstorm?

You can always save your changes manually: Press Ctrl+S or select File | Save All from the main menu.

How do I turn off autosave on Webstorm?

Automatic save can be disabled using the following options: File | Settings | Appearance & Behavior | System Settings > Uncheck these boxes below: Save files on frame deactivation.

How do I enable auto save in IntelliJ?

In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Appearance & Behavior | System Settings. Under Autosave, configure the following options: Save files when switching to a different application or a built-in terminal: Save all modified files when you switch from IntelliJ IDEA to a different application.


1 Answers

This error happened to me everytime I used Nodemon to start Webpack on a separate process. The problem was fixed by disabling "Safe write" in "Settings", as VyvIT suggested.

https://i.imgur.com/76aIcud.png

like image 188
André Pena Avatar answered Oct 10 '22 09:10

André Pena