Re: Permission denied
- From: "Andrew D. Newbould" <NO-usenet-SPAM@xxxxxxxxxxx>
- Date: Thu, 29 Mar 2007 01:27:42 +0100
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@xxxxxxxxxxxxxxxxWe 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
.
- References:
- Re: Permission denied
- From: Richard T. Edwards
- Re: Permission denied
- Prev by Date: Re: Developement or Compiled Version
- Previous by thread: Re: Permission denied
- Next by thread: FS: VS 6 EE with lots o extra goodies
- Index(es):
Relevant Pages
|