A
ajs2004
I get this error on starting up Word 2007:
Microsoft Office Word
This file is read-only.
(EndNote Cwyw.dotm)
[Show Help >>]
[OK]
.... but if I check the file attributes on Application Data\EndNote
Cwyw.dotm, it's not Read-only at all.
It's driving me crazy. Can anyone make sense of it? Any way to fix
this?
The problem occurs only if Application Data is on a network drive; if
it's on C:, there's no problem. (We can't simply switch Application
Data to C:, because other applications would be affected by that
policy change.)
I see this when EndNote X2 or EndNote X1.0.1 is installed. No problem
when EndNote X1 is installed.
In all cases, first-time Word use creates the Application Data\EndNote
folder, and copies the default .dotm files into it (presumably from "C:
\Program Files\EndNote X2\Product-Support\CWYW\" or "C:\Program Files
\Common Files\ResearchSoft\Cwyw\12\", in the case of EndNote X2).
The files in Application Data\EndNote are not read-only, are owned by
the Word user, and the user has Full Control on them. So what's Word's
problem??
Andrew Smith
University of Reading
___________________________________________
C:\>rem Application Data on C: -
C:\>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows
\CurrentVersion\Explorer\User Shell Folders" /v AppData /d "C:
\Documents and Settings\2kinstall\Application Data" /f
The operation completed successfully
C:\>reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows
\CurrentVersion\Explorer\User Shell Folders" /v AppData
! REG.EXE VERSION 3.0
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
\User Shell Folders
AppData REG_SZ C:\Documents and Settings\2kinstall
\Application Data
C:\>
C:\>rem Note: No EndNote folder there -
C:\>dir "C:\Documents and Settings\2kinstall\Application Data\EndNote"
Volume in drive C has no label.
Volume Serial Number is E808-086C
Directory of C:\Documents and Settings\2kinstall\Application Data
File Not Found
C:\>
C:\>rem Start Word -
C:\>"C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft
Office\Microsoft Office Word 2007.lnk"
C:\>rem Word runs OK. Note EndNote folder has now been created:
C:\>dir "C:\Documents and Settings\2kinstall\Application Data\EndNote"
Volume in drive C has no label.
Volume Serial Number is E808-086C
Directory of C:\Documents and Settings\2kinstall\Application Data
\EndNote
26/08/2008 16:34 <DIR> .
26/08/2008 16:34 <DIR> ..
26/08/2008 16:34 25,824 EndNote Cwyw.dotm
20/02/2007 10:40 24,667 EndNote Web Cwyw.dotm
2 File(s) 50,491 bytes
2 Dir(s) 12,959,055,872 bytes free
C:\>
C:\>rem Now try with Application Data on a network drive (N ...
C:\>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows
\CurrentVersion\Explorer\User Shell Folders" /v AppData /d "N:
\Documents and Settings\2kinstall\Application Data" /f
The operation completed successfully
C:\>reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows
\CurrentVersion\Explorer\User Shell Folders" /v AppData
! REG.EXE VERSION 3.0
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
\User Shell Folders
AppData REG_SZ N:\Documents and Settings\2kinstall
\Application Data
C:\>rem Note: No EndNote folder there -
C:\>dir "N:\Documents and Settings\2kinstall\Application Data\EndNote"
Volume in drive N is HOME
Volume Serial Number is 5904-335C
Directory of N:\Documents and Settings\2kinstall\Application Data
File Not Found
C:\>
C:\>rem Start Word -
C:\>"C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft
Office\Microsoft Office Word 2007.lnk"
C:\>rem Word runs, but says: This file is read-only (EndNote
Cwyw.dotm) ... Word cannot write to file.
C:\>rem Note EndNote folder has now been created:
C:\>dir "N:\Documents and Settings\2kinstall\Application Data\EndNote"
Volume in drive N is HOME
Volume Serial Number is 5904-335C
Directory of N:\Documents and Settings\2kinstall\Application Data
\EndNote
26/08/2008 16:40 <DIR> .
26/08/2008 16:39 <DIR> ..
20/02/2007 10:35 25,859 EndNote Cwyw.dotm
20/02/2007 10:40 24,667 EndNote Web Cwyw.dotm
2 File(s) 50,526 bytes
2 Dir(s) 40,080,928,768 bytes free
C:\>
Microsoft Office Word
This file is read-only.
(EndNote Cwyw.dotm)
[Show Help >>]
[OK]
.... but if I check the file attributes on Application Data\EndNote
Cwyw.dotm, it's not Read-only at all.
It's driving me crazy. Can anyone make sense of it? Any way to fix
this?
The problem occurs only if Application Data is on a network drive; if
it's on C:, there's no problem. (We can't simply switch Application
Data to C:, because other applications would be affected by that
policy change.)
I see this when EndNote X2 or EndNote X1.0.1 is installed. No problem
when EndNote X1 is installed.
In all cases, first-time Word use creates the Application Data\EndNote
folder, and copies the default .dotm files into it (presumably from "C:
\Program Files\EndNote X2\Product-Support\CWYW\" or "C:\Program Files
\Common Files\ResearchSoft\Cwyw\12\", in the case of EndNote X2).
The files in Application Data\EndNote are not read-only, are owned by
the Word user, and the user has Full Control on them. So what's Word's
problem??
Andrew Smith
University of Reading
___________________________________________
C:\>rem Application Data on C: -
C:\>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows
\CurrentVersion\Explorer\User Shell Folders" /v AppData /d "C:
\Documents and Settings\2kinstall\Application Data" /f
The operation completed successfully
C:\>reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows
\CurrentVersion\Explorer\User Shell Folders" /v AppData
! REG.EXE VERSION 3.0
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
\User Shell Folders
AppData REG_SZ C:\Documents and Settings\2kinstall
\Application Data
C:\>
C:\>rem Note: No EndNote folder there -
C:\>dir "C:\Documents and Settings\2kinstall\Application Data\EndNote"
Volume in drive C has no label.
Volume Serial Number is E808-086C
Directory of C:\Documents and Settings\2kinstall\Application Data
File Not Found
C:\>
C:\>rem Start Word -
C:\>"C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft
Office\Microsoft Office Word 2007.lnk"
C:\>rem Word runs OK. Note EndNote folder has now been created:
C:\>dir "C:\Documents and Settings\2kinstall\Application Data\EndNote"
Volume in drive C has no label.
Volume Serial Number is E808-086C
Directory of C:\Documents and Settings\2kinstall\Application Data
\EndNote
26/08/2008 16:34 <DIR> .
26/08/2008 16:34 <DIR> ..
26/08/2008 16:34 25,824 EndNote Cwyw.dotm
20/02/2007 10:40 24,667 EndNote Web Cwyw.dotm
2 File(s) 50,491 bytes
2 Dir(s) 12,959,055,872 bytes free
C:\>
C:\>rem Now try with Application Data on a network drive (N ...
C:\>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows
\CurrentVersion\Explorer\User Shell Folders" /v AppData /d "N:
\Documents and Settings\2kinstall\Application Data" /f
The operation completed successfully
C:\>reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows
\CurrentVersion\Explorer\User Shell Folders" /v AppData
! REG.EXE VERSION 3.0
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
\User Shell Folders
AppData REG_SZ N:\Documents and Settings\2kinstall
\Application Data
C:\>rem Note: No EndNote folder there -
C:\>dir "N:\Documents and Settings\2kinstall\Application Data\EndNote"
Volume in drive N is HOME
Volume Serial Number is 5904-335C
Directory of N:\Documents and Settings\2kinstall\Application Data
File Not Found
C:\>
C:\>rem Start Word -
C:\>"C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft
Office\Microsoft Office Word 2007.lnk"
C:\>rem Word runs, but says: This file is read-only (EndNote
Cwyw.dotm) ... Word cannot write to file.
C:\>rem Note EndNote folder has now been created:
C:\>dir "N:\Documents and Settings\2kinstall\Application Data\EndNote"
Volume in drive N is HOME
Volume Serial Number is 5904-335C
Directory of N:\Documents and Settings\2kinstall\Application Data
\EndNote
26/08/2008 16:40 <DIR> .
26/08/2008 16:39 <DIR> ..
20/02/2007 10:35 25,859 EndNote Cwyw.dotm
20/02/2007 10:40 24,667 EndNote Web Cwyw.dotm
2 File(s) 50,526 bytes
2 Dir(s) 40,080,928,768 bytes free
C:\>