| Windows 7: File save error... |
24 Dec 2009
|
#1 | | |
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:
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:
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 Specs |
| System Manufacturer/Model Number Custom built at Home OS Windows 7 64-bit CPU Intel i5-3350P 3.1 GHz Motherboard Gigabyte GA-Z77X-UP5 TH Memory 16 GBs GSkill Sniper Graphics Card Radeon HD 7850 Sound Card VIA HD Audio Monitor(s) Displays Dell U2410 24" Screen Resolution 1920x1200 Keyboard Dell Multimedia keyboard Mouse Logitech Trackball PSU Thermaltake 850W Case Antec P183 Cooling Noctua NH-D14 Heatsink 2 x 120mm fans, 4 x 120mm case fans Hard Drives 1 x Intel 520 240 GBs
1 x Seagate 1TBs SATA 2.0,
1 x Seagate 1TBs eSATA 2.0 Internet Speed 28.5 Mb/s |
24 Dec 2009
|
#2 | | W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE Indian Territory |
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 Specs | | System Manufacturer/Model Number DIY OS W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE CPU Phenom II 1090T w/Noctua NH-D14 /**4400+ X2 w/CM Hyper TX 3 Motherboard ASRock 890FX Deluxe 4/**A8N-SLI Memory 2 x 2GB Patriot PGS34g1600LLKA/**4x1GB Corsair VS Graphics Card EVGA GTX460 SC/**EVGA 8800GTS Sound Card Asus Xonar D2X/**Xonar D1 Monitor(s) Displays Acer X233H, Dell E152FPc /**LG M237-WD Screen Resolution 1920x1080 & 1024x768/**1980x1080 Keyboard Logitech Media USB/**Saitek Eclipse Mouse Cordless Trackman Wheel/**Ditto PSU CM RS600 w/ APC BX1000G/**Antec 500 TP w/ APC BX1000 Case HAF922/**Antec 1040IIB Cooling 3x200mm, 1x140 and 1x120mm/**5x80mm fans Hard Drives WDC 2TB, 1.5TB, 1TB, 500GB,Seagate 500GB , Maxtor 80GB /**500GB Seagate & WDC 1TB Black Internet Speed 3.3Mbps Other Info SB 560 5.1 w/ Sennheiser RS140/**Creative T20 speakers, Dvico FusionHDTV7 Gold RT, Cisco E3000, HP 5510V AIO, Linksys E3000, Belkin F5U237 hub and **F5D8055 adapter
(** = 2nd rig) |
24 Dec 2009
|
#3 | | |

Quote: Originally Posted by seekermeister 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 Specs | | System Manufacturer/Model Number Custom built at Home OS Windows 7 64-bit CPU Intel i5-3350P 3.1 GHz Motherboard Gigabyte GA-Z77X-UP5 TH Memory 16 GBs GSkill Sniper Graphics Card Radeon HD 7850 Sound Card VIA HD Audio Monitor(s) Displays Dell U2410 24" Screen Resolution 1920x1200 Keyboard Dell Multimedia keyboard Mouse Logitech Trackball PSU Thermaltake 850W Case Antec P183 Cooling Noctua NH-D14 Heatsink 2 x 120mm fans, 4 x 120mm case fans Hard Drives 1 x Intel 520 240 GBs
1 x Seagate 1TBs SATA 2.0,
1 x Seagate 1TBs eSATA 2.0 Internet Speed 28.5 Mb/s |
24 Dec 2009
|
#4 | | |

Quote: Originally Posted by Cr00zng 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 Specs | | System Manufacturer/Model Number Custom Build OS Windows 7 Ultimate x64 CPU AMD Phenom 9600 Quad Core Motherboard ASUS MB-M3A32-MVP Deluxe/WiFi Memory 2 x A-Data 2GB DDR2-800 Graphics Card ASUS ATI Radeon HD 2400PRO Sound Card C-Media 7.1 Surround Monitor(s) Displays Sahara 19" Screen Resolution 1600x1200 Keyboard Mercury Mouse Logitech PSU 800W Case Thermaltake Tai-Chi Cooling Tai-Chi Water Cooler Hard Drives 1 x 80GB Seagate (IDE)
2 x 120GB Seagate (IDE/Sata)
2 x 200GB Seagate (IDE/Sata)
1 x 250GB Seagate (Sata)
1 x 320GB Seagate (Sata)
2 x 1TB Seagate (Sata)
1 x 1.5TB Seagate (Sata) Internet Speed 384kbps |
24 Dec 2009
|
#5 | | |

Quote: Originally Posted by Dzomlija 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 Specs | | System Manufacturer/Model Number Custom built at Home OS Windows 7 64-bit CPU Intel i5-3350P 3.1 GHz Motherboard Gigabyte GA-Z77X-UP5 TH Memory 16 GBs GSkill Sniper Graphics Card Radeon HD 7850 Sound Card VIA HD Audio Monitor(s) Displays Dell U2410 24" Screen Resolution 1920x1200 Keyboard Dell Multimedia keyboard Mouse Logitech Trackball PSU Thermaltake 850W Case Antec P183 Cooling Noctua NH-D14 Heatsink 2 x 120mm fans, 4 x 120mm case fans Hard Drives 1 x Intel 520 240 GBs
1 x Seagate 1TBs SATA 2.0,
1 x Seagate 1TBs eSATA 2.0 Internet Speed 28.5 Mb/s |
14 Apr 2010
|
#6 | | |
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 Specs | | |
14 Apr 2010
|
#7 | | Windows 8 Pro Standish, Lancashire, England |
Just a thought, does this still happen if you run dreamweaver as administrator (right click on the program - run as admin)? | My System Specs | | Computer type PC/Desktop System Manufacturer/Model Number doofenshmirtz evil incorporated OS Windows 8 Pro CPU Intel Core i7-3970X Extreme Edition Motherboard ASRock X79 EXTREME11 Memory 32GB (8x4GB) Corsair DDR3 Dominator Platinum Graphics Card 2x 3GB EVGA GTX 660 Ti Superclocked+ Sound Card Creative Monitor(s) Displays 3 x27" Dell & 2 x 23" Dell Screen Resolution 3 @ 2560x1440 & 2 @ 1920x1080 Keyboard Microsoft Ergononic 7000 Mouse Logitech Performance MX PSU 1500W ThermalTake Toughpower Case Thermaltake Level 10 GT Cooling Antec Kúhler H2O 620 CPU Watercooler Hard Drives 240GB Intel 520 Series, 2.5" SSD, SATA III
Intel X25-M SSD - 160GB Internet Speed 34 Mb/s ADSL2+ (Bonded) Antivirus Windows Defender, Malwarebytes Pro Browser Firefox Other Info WinTV NovaTD
HP CP1515n Color Laser
Sony BD-5300S-0B Blu-ray Writer
Microsoft LifeCam Cinema
APC 750i Smart UPS |
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 Specs | | System Manufacturer/Model Number Too many to describe... OS Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86 |
14 Apr 2010
|
#9 | | Windows 7 x64 / Same In Your Basement. |
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 Specs | | System Manufacturer/Model Number Dell Inspiron 1520 (Laptop)/ Home (Desktop) OS Windows 7 x64 / Same CPU Intel Core 2 Duo T7250 / Intel Core i7 930 Motherboard Intel 945 / Asus P6X58D-E Memory 4GB / 6GB Graphics Card NVIDIA GeForce 8400M GS / ASUS 1GB Sound Card Whatever Dell gave me :-( / Onboard Monitor(s) Displays 15.4" LCD / Crappy CRT Mouse Microsoft Presenter (Bluetooth) PSU N/A / OCZ Fatal1ty 550W Modular Case N/A / Antec 900 Cooling Air Hard Drives Seagate 500GB SATA; 7200 RPM / Seagate 1TB SATA; 7200 RPM |
14 Apr 2010
|
#10 | | |
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 Specs | | File save error... problems? All times are GMT -5. The time now is 02:32 PM. | |