Skip to main content
1-Visitor
July 30, 2012
Question

Architect DTD Editor - Unable to Write DTD when Saving

  • July 30, 2012
  • 14 replies
  • 2270 views

Hello,


I am attempting to modify and save a DTD within the Arbortext Architect DTD Editor6.0 on Windows 7 (64 bit).
However, whenever I try and save the DTD, I get "ERROR: could not write DTD file C:\***.dtd".


I have checked permissions on this folder and even tried moving and writing to it on a different drive, but each time I get the same error.


Has anyone else encountered this ?


All works OK on previous versions.


Thanks,


Andy



    14 replies

    1-Visitor
    July 30, 2012
    Hi Andy,

    I have a similar problem in Architect 5.4 M080. In my case, the DTD is actually saved despite the error message.

    If you close the DTD Editor and the re-open it are your changes there?

    David

    David S. Taylor

    Project Manager, Production and Marketing
    Codes and Evaluations | NRC Construction Portfolio
    National Research Council Canada
    Building M-23A, Room 239 | 1200 Montreal Road | Ottawa, ON | K1A 0R6
    Telephone: +1.613.990.2731 | Fax: +1.613.952.4040
    David.S.Taylor@nrc-cnrc.gc.ca<">mailto:David.S.Taylor@nrc-cnrc.gc.ca>

    aleslie1-VisitorAuthor
    1-Visitor
    July 30, 2012
    Hello David,

    Yes - the changes are there despite the error message.

    When I then attempt to validate the DTD (F5), it just says "Validation failed" with no useful error messages.
    (Even though I know the DTD is valid)

    Do you get this ?

    Thanks,

    Andy


    Andrew Leslie
    Director
    Structured Information Limited
    Beer, East Devon, UK, EX12 3LU
    18-Opal
    July 30, 2012
    Andy--



    Not sure if this will help or not, but you might try running Architect
    as administrator (right-click Architect icon, select "Run as
    Administrator", click through the UAC prompt). That may give it the
    permission it needs to write temp files or do whatever it is trying to
    do and failing.



    --Clay





    Clay Helberg

    Senior Consultant

    TerraXML


    1-Visitor
    July 30, 2012
    It seems that in Windows XP, the standard Help Desk answer was to reply to the caller, "Did you try turning it off and turning it back on again?" (According to "The IT Crowd"). Now with Windows 7, you can add the reply; "Did you try running it as Administrator?"
    aleslie1-VisitorAuthor
    1-Visitor
    July 30, 2012

    Hi Clay,


    I tried running as administrator as you suggestedbut still same situation.


    Andy

    16-Pearl
    July 30, 2012
    I know right?

    To avoid that kind of nonsense I always install my apps to C:\Apps\... instead of C:\Program Files\... nowadays.
    July 30, 2012
    Does this help with the "Run as Admin" nuisance?

    I recently got a Win7 laptop, blessed with admin privs, but I'm still fighting this "run as administrator" with every app I install. I couldn't even install my stupid Textpad license until I found I still had to open properties and set it to run as admin. So admin isn't admin anymore? Or being admin isn't enough, you have to explicitly prove you're admin everytime you install a new app.
    1-Visitor
    July 30, 2012
    Hi Andy,

    Validating the DTD is okay, status line says "Validation complete" (unless I actually introduced the error...).

    Clay's suggestion of specifically running AA as Administrator doesn't appear to make a difference.

    Is the doctype directory you're working in located on the local PC or on a server? I'm working across a Samba connection to a Solaris server and have wondered whether this might contribute to the problem. I still need to dig into this aspect more deeply.

    Cheers,

    David

    David S. Taylor

    Project Manager, Production and Marketing
    Codes and Evaluations | NRC Construction Portfolio
    National Research Council Canada
    Building M-23A, Room 239 | 1200 Montreal Road | Ottawa, ON | K1A 0R6
    Telephone: +1.613.990.2731 | Fax: +1.613.952.4040
    David.S.Taylor@nrc-cnrc.gc.ca<">mailto:David.S.Taylor@nrc-cnrc.gc.ca>


    1-Visitor
    July 30, 2012
    Is the DTD being used by another application? I seem to recall (before I found out I could do 90% of Architect without it) that if the DTD was being used in an open file it wouldn't save.

    Lynn
    ---- "Taylor wrote:
    > Hi Andy,
    >
    > I have a similar problem in Architect 5.4 M080. In my case, the DTD is actually saved despite the error message.
    >
    > If you close the DTD Editor and the re-open it are your changes there?
    >
    > David
    >
    > David S. Taylor
    >
    > Project Manager, Production and Marketing
    > Codes and Evaluations | NRC Construction Portfolio
    > National Research Council Canada
    > Building M-23A, Room 239 | 1200 Montreal Road | Ottawa, ON | K1A 0R6
    > Telephone: +1.613.990.2731 | Fax: +1.613.952.4040
    > David.S.Taylor@nrc-cnrc.gc.ca<">mailto:David.S.Taylor@nrc-cnrc.gc.ca>
    >
    >
    18-Opal
    July 30, 2012
    Right. Having an Admin account means you are authorized to click through
    the UAC, but it doesn't stop it from prompting you. And the Program
    Files directory is still locked down pretty tight even for admin
    accounts.



    The idea is that this will prevent certain malware attacks that attempt
    to replace or modify executables in the Program Files directory. It's
    probably overkill for people like us, who are pretty savvy when it comes
    to configuring our machines and avoiding likely malware vectors. But
    it's probably a good idea for the average user who doesn't really
    understand all that malware stuff and doesn't get why visiting
    "download-warez.ru" on your work computer is a Bad Idea (tm). Especially
    because such users are also likely to run on an administrator account,
    even though they don't really know what they're doing.



    --Clay





    Clay Helberg

    Senior Consultant

    TerraXML