Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: File save error...

24 Dec 2009   #1

Windows 7 64-bit, Windows 8.1 64-bit, OSX Maverick
 
 
File save error...

This has been puzzling me since Vista and now Windows 7; at least now I know the reason...

The type of file being changed is .txt, .css, .html, etc. Open the file in Notepad, Dreamweaver, or any other HTML editor, modify the content, and save or "Ctrl+S" the file under the original name. Windows does not allow saving the file and presents this pop up:

Name:  save_error.jpg
Views: 29
Size:  45.8 KB

Reducing the content of the file generally does not result in this error, depending on the level of reduction; addition on the other hand always does.

The culprit for this error is the Windows Explorer layout, more accurately the "Preview pane" under "Organize\Layout" section. Explorer displays the content of the file in the "Preview pane" if and when the file name is highlighted. As far as Windows is concerned at that point, the file is "opened/owned" by Windows Explorer and as such, the system locks file editing by any other application. It doesn't matter that both the Windows Explorer and the file in itself opened by the same user, evidently Windows Explorer process takes precedent over other application process when it comes to modifying file content. This file lock is temporary and last until the file name is highlighted or Explorer is closed. The permanent fix for this error is to disable Explorer's "Preview pane", especially for people who edit HTML files with Notepad or any other HTML editor.

Interestingly, none of the MS Office files display this error when editing word, excel, etc, files. Microsoft did make provision for the Office files; however, it isn't only Notepad that hasn't been accounted for. For example Microsoft Expression Web 3 also falls victim to this error:

Name:  expression.jpg
Views: 18
Size:  36.1 KB

The "Preview pane" is most certainly a feature that should behave the same across the board instead of being dependent on the file extension. Does anyone have an idea how to make Windows handle any file extension the same way as it handles Microsoft Office extensions?
TIA...

Cr00zng




My System SpecsSystem Spec
.

24 Dec 2009   #2

W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
 
 

Try closing the Explorer window prior to save the file, or change it's view to a different directory prior to saving the file.
My System SpecsSystem Spec
24 Dec 2009   #3

Windows 7 64-bit, Windows 8.1 64-bit, OSX Maverick
 
 

Quote   Quote: Originally Posted by seekermeister View Post
Try closing the Explorer window prior to save the file, or change it's view to a different directory prior to saving the file.
That just hides the issue and it still results in additional steps to save the file. Disabling the "Preview pane" also hides the issue; however, no additional steps required for saving the file.
I was looking for having the "Preview pane" and eliminate the extra steps for saving the file.
My System SpecsSystem Spec
.


24 Dec 2009   #4

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Cr00zng View Post
This has been puzzling me since Vista and now Windows 7; at least now I know the reason...

The type of file being changed is .txt, .css, .html, etc. Open the file in Notepad, Dreamweaver, or any other HTML editor, modify the content, and save or "Ctrl+S" the file under the original name. Windows does not allow saving the file and presents this pop up:

Attachment 43435

Reducing the content of the file generally does not result in this error, depending on the level of reduction; addition on the other hand always does.

The culprit for this error is the Windows Explorer layout, more accurately the "Preview pane" under "Organize\Layout" section. Explorer displays the content of the file in the "Preview pane" if and when the file name is highlighted. As far as Windows is concerned at that point, the file is "opened/owned" by Windows Explorer and as such, the system locks file editing by any other application. It doesn't matter that both the Windows Explorer and the file in itself opened by the same user, evidently Windows Explorer process takes precedent over other application process when it comes to modifying file content. This file lock is temporary and last until the file name is highlighted or Explorer is closed. The permanent fix for this error is to disable Explorer's "Preview pane", especially for people who edit HTML files with Notepad or any other HTML editor.

Interestingly, none of the MS Office files display this error when editing word, excel, etc, files. Microsoft did make provision for the Office files; however, it isn't only Notepad that hasn't been accounted for. For example Microsoft Expression Web 3 also falls victim to this error:

Attachment 43436

The "Preview pane" is most certainly a feature that should behave the same across the board instead of being dependent on the file extension. Does anyone have an idea how to make Windows handle any file extension the same way as it handles Microsoft Office extensions?
TIA...

Cr00zng
Might I suggest that something else other than Explorer is the culprit? I've just run a test to try an duplicate the messages you get. I create a TXT document, and populate it with as much data as I can (file sizes in the test ranged from a few KB to several MB). I highlight the file in Explorer so that it shows in the Preview Pane. Then I double click to open in Notepad and make some changes. Before saving, I go back to Explorer to make sure that the file is still highlighted and visible in the preview pane. When I go back to Notepad and either CTRL+S or FILE->SAVE, in all instances of the test, the file saved correctly, with no ownership or in use warnings popping up.
My System SpecsSystem Spec
24 Dec 2009   #5

Windows 7 64-bit, Windows 8.1 64-bit, OSX Maverick
 
 

Quote   Quote: Originally Posted by Dzomlija View Post
Might I suggest that something else other than Explorer is the culprit? I've just run a test to try an duplicate the messages you get. I create a TXT document, and populate it with as much data as I can (file sizes in the test ranged from a few KB to several MB). I highlight the file in Explorer so that it shows in the Preview Pane. Then I double click to open in Notepad and make some changes. Before saving, I go back to Explorer to make sure that the file is still highlighted and visible in the preview pane. When I go back to Notepad and either CTRL+S or FILE->SAVE, in all instances of the test, the file saved correctly, with no ownership or in use warnings popping up.
I am not certain what else could cause this, seemingly on my and not your machine. I've reran the test as you described it and have the same result, no problems saving the file.

I've also retested editing my websites and have no issues with saving the files highlighted with Notepad, Dreamweaver, or MS Expression. This is weird, earlier the issue has been so evident; the posted images are proof that Explorer (or something else) did have the issue. The machine had not been rebooted and for that matter all the applications tested were and still are open.

I do recall that I've seen this issue a number of times before on occasions, both Vista and Seven; however, I had not been curious enough to find the reason until today. Maybe my conclusion has been wrong...
My System SpecsSystem Spec
14 Apr 2010   #6

Windows 7
 
 

First off, I understand this is an old forum topic. But, this is the closest topic I could locate with the same issue as I am facing. Forgive me.

I just wanted to see if there was any further knowledge into this. Because what I am seeing is a bit more drastic. Not only does it not allow me to save the changes to the file, the file disappears all together after the issue is encountered.

Scenario:

1) Open html file in dreamweaver. Note: File showing in the preview window.
2) Edit the file.
3) Receive error upon trying to save the changes.
Error: "access to c:\users\<my pc>\desktop\BLAHBLAH.tmp was denied"
4) Attempt to close the application prompts me if I would like to save the changes. Knowing it won't save, I hit "No".
5) File disappears!!!!!

When I say disappears, I mean ... poof. Gone. The file is completely removed from the folder I had it in. Like it never existed. Not located in the recycle bin. Not anywhere. I've had this happen a few times, and it scares the crap out of me that files can be permanently deleted in such a fashion. Makes me wonder how many files I've lost because of this.

It's very weird. I mean, it makes sense to me that Windows explorer may think the file is being used via "Preview pane", yadda yadda. But, perm delete the file!?

Anyone else experience this?
If so, any recommendations? (lieu of disabling the preview pane, which I've already done)

Any help would be greatly appreciated.
Thanks!

-Jerry.
My System SpecsSystem Spec
14 Apr 2010   #7

 

Just a thought, does this still happen if you run dreamweaver as administrator (right click on the program - run as admin)?
My System SpecsSystem Spec
14 Apr 2010   #8

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

Suspect a permissions issue. Log in using the windows hidden administrator account, then try saving.


1. log in using your normal account
2. run CMD as admin.
3. type "net user administrator /active:yes" and hit enter
4.log off your user account. when the logon screen appears you should now see a new admin logon.
5.Login into this new admin and try alteing your files.
6.Before logging off this admin account go back to the cmd prompt and
type "net user administrator /active:no"
7.log off and re-login into your normal account.

My System SpecsSystem Spec
14 Apr 2010   #9

Windows 7 x64 / Same
 
 

I've had this issue. The only workaround I could come up with was to restart the PC and save the file after restart. Glad I'm not the only one seeing this issue.
My System SpecsSystem Spec
14 Apr 2010   #10

Windows 7
 
 

Quote:
Just a thought, does this still happen if you run dreamweaver as administrator (right click on the program - run as admin)?
Yes. This was my first thought and have previously tried this.
Even when I run under Admin, the issue is still present.

Quote:
Suspect a permissions issue. Log in using the windows hidden administrator account, then try saving.


1. log in using your normal account
2. run CMD as admin.
3. type "net user administrator /active:yes" and hit enter
4.log off your user account. when the logon screen appears you should now see a new admin logon.
5.Login into this new admin and try alteing your files.
6.Before logging off this admin account go back to the cmd prompt and
type "net user administrator /active:no"
7.log off and re-login into your normal account.
Oddly enough, I was NOT able to reproduce the issue logged in under the administrator account. So, you are undoubtedly correct. This is a permissions issue.

Any ideas?
My System SpecsSystem Spec
Reply

 File save error...




Thread Tools



Similar help and support threads for2: File save error...
Thread Forum
NFSU2 Save File Gaming
File|Open & File|Save As does not work General Discussion
Solved Residual File Names in Save/Save As Dialog Boxes General Discussion
IE9 won't ask to save *.xlsx file Browsers & Mail
Save file order Customization
can open a file on a network share but can't save file back Network & Sharing
File load and file save menus take a long time to appear Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 01:53 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33