Nav2009 Windows 7 EXPORT problem

slowhandfan
slowhandfan Member Posts: 56
I recently updated a customer to NAV2009. They have shop drawings saved as BLOB/jpg, etc.
A tried and true function that executes this statement set


TempName := INCSTR(TempName);
CALCFIELDS(Attachment);
IF Attachment.HASVALUE THEN BEGIN
AttachmentName := Attachment.EXPORT('C:\'+TempName+"Attachment Type",TRUE);

SLEEP(1000);
HYPERLINK(AttachmentName);
END;


It works great if the fat client is WINDOWS XP, but under WINDOWS 7, it fails with the following message

The operating system returned the error (1314)
A required privledge is not held by the client

Anyone seen this before and overcome it?

Thanks

Comments

  • matttrax
    matttrax Member Posts: 2,309
    Did you Google it?

    http://www.google.com/search?source=ig& ... afe=active

    Seems like there are solutions on the first two links. What research have you done to determine what is wrong? Since it's not a NAV error, but a Windows error, I think that will help us help you.
  • vaprog
    vaprog Member Posts: 1,173
    Is the error triggered by the EXPORT or the HYPERLINK statement?
  • slowhandfan
    slowhandfan Member Posts: 56
    I did finally discover the error. In WINDOWS 7, You cannot export to the ROOT of C: It is a security feature.
    I exported to a subdirectory, like C:\ViewDocs\temp001.jpg and had no difficulties whatsoever.