Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Architect DTD Editor - Unable to Write DTD when Saving

aleslie
1-Visitor

Architect DTD Editor - Unable to Write DTD when Saving

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 14

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>

aleslie
1-Visitor
(To:aleslie)

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

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


ebenton
1-Visitor
(To:aleslie)

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?"
aleslie
1-Visitor
(To:aleslie)

Hi Clay,


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


Andy

I know right?

To avoid that kind of nonsense I always install my apps to C:\Apps\... instead of C:\Program Files\... nowadays.

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.

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>


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>
>
>

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


Jason,

Yes, in Win7 there is a difference between the 'Administrator' user account and named user accounts with 'administrator' rights. The Administrator user account is often hidden in the user account list.

Hi Lynn,

In my case the doctype is in a 'development' area, I'm the only one with access to it. There is the possibility that the file is seen as 'in use' following a previous open and some sort of failure on the close. The server has been restarted two or three times in the history of this problem (after power outages) so I would have thought a faulty close should have been cleaned up.

David

aleslie
1-Visitor
(To:aleslie)

Hi David,

I just get "Validation failed".

Agree - running as administrator makes no difference.

It's on the local PC but I have attempted trying it from my server but still no difference.

Thanks,

Andy


Andrew Leslie
Director
Structured Information Limited
Beer, East Devon, UK, EX12 3LU

Hello Andy,

Here are a few thoughts that come to mind, in no particular order...


- Is the validation failing on just one DTD or all DTDs?

- XML or SGML?

- Does AA correctly determine that the DTD is either XML or SGML?

- Are you able to parse the DTD with another parser such as XMLSpy?

- In Options/Preferences/Advanced is 'validationmode' set to either 'all' or 'dtd'?

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>



Announcements

Top Tags