Re: Permission denied

Tech-Archive recommends: Fix windows errors by optimizing your registry



Try adding a DoEvents after the request to create the document to enable the OS to catch up etc.

Also, try giving explicit Modify rights for the share to the VB Runtime DLL. This is normally seen when a VB DLL is used under more recent IIS installations but may be related to your problem as well.

Kind Regards,


In message <#Ndy22IbHHA.2088@xxxxxxxxxxxxxxxxxxxx>, Richard T. Edwards <redwar2006@xxxxxxxxxxx> writes
Generally speaking, when we saw this kind of issue at Microsoft technical support, it was caused by the following:

1. The program was creating a object and the creation of it had different security settings than the file being created.

2. The network share was slow and hadn't enough speed to create the folder and register it correctly before a file was added.

3. Code logic was running faster than the sequence of events allowed for it to work correctly.

"impct" <impct@xxxxxxxxxxxxxxxxxxxx> wrote in message news:2242137E-CA4D-430C-8B9D-CD912EBC3A17@xxxxxxxxxxxxxxxx
We have an application developed w/ vb 6 SP6, and runs on XP SP2. It uses the
Microsoft Word 11.0 Object library to create letters. In the process of
creating a document, it creates the document in a folder called Desktop (in a
share network drive), it then copies it to a Letter folder, in the same
network share drive, so the document (letter) is being created on a Network
drive. We are getting the message "Permission Denied", but have not being
able to point out where the problem might be. The users have permission to
write to the Network drive and it is an intermittent problem.

Can you help us out with what might be causing this problem? We started
seeing this message when there was a change to Windows Server 2003.

-- Thanks,
impct


--
Andrew D. Newbould E-Mail: NO-usenet-SPAM@xxxxxxxxxxx

ZAD Software Systems Web : www.zadsoft.com
.



Relevant Pages

  • Re: Emailing web form information to me
    ... To deal with your comments on Vista, it is the mapping via 'my computer' ... or indeed the other bug that causes Publisher to ... have a default folder such as "public_html" that you are supposed to upload ... In the Map Network Drive dialog box, ...
    (microsoft.public.publisher.webdesign)
  • Re: Imagining/Cloning Desktops
    ... Via Network you'll have 2 requirements. ... has an account that has full permissions on it. ... local user account on the ghost storage pc and give it full access only ... source files set and the network drivers copied into the folder burn ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Publishing Web Page For First Time
    ... by clicking on the folder, designate where the file is saved. ... Computer, My Network Places. ... New Pop Up Window appears - Add Network Location ... Specify the location of your network window pops up ...
    (microsoft.public.publisher.webdesign)
  • Re: filename is too long or contains illegal caracters
    ... When I ADD NETWORK LOCATION, I get "folder ... When I PUBLISH TO WEB (withing PUBLISHER) I get ... Per you suggestion, I tried to Add a Network Location in "Computer", ... The only difference is Vista. ...
    (microsoft.public.publisher.webdesign)
  • Re: Printer Security tab
    ... Try to Map the shared folder, if it won't then we need much more info on the setup, components and protocols? ... Right click "My Network Places" on the desktop or click "Tools" on the Menu bar in Explorer or MyComputer. ... > firewalls in both computers. ... turn on the XPSP2 Windows Firewall. ...
    (microsoft.public.windowsxp.general)