E. Crane Computing Support Forum

Providing support for all E. Crane Computing products, including POWERGEN, PBSERVICE, HARPB, VERSIONEDIT, PBLRESCUE, and PBLEXPLORER.

You are not logged in.

#1 2004-02-16 10:20:40

dspeight
Guest

Re: Access is denied

Trying to run command line builds using PVCS 7.5.1 and Powergen 5.5.

Recently, unless I check the properties (Read only flag) of the archive directory and local build c:\ drive, prior to kicking off my batch jobs,  I get an access denied message:

Sample text:

c:\Build\SchedulerBatch\SchedulerBatchDw\d_ff_ext_norows.srd
Access is denied.

This doesn't happen for all pibbles just a select few!

Any suggestions by anyone would be helpful

#2 2004-02-17 09:59:50

Phil
Guest

Re: Access is denied

Does the error occur consistently for all of the objects in a PBL or is it intermittent?  Could the files be opened by another process?  And you have to Set the read only attribute to correct the problem?

Regards,

Phil

#3 2004-02-24 05:30:01

dspeight
Guest

Re: Access is denied

It does occur consistently for all objects in a pbl, but not for every pbl.

no, I don't believe the files would be open by another process.

I do have to set the read only attribute EVERY time I do a build to correct the problem.

#4 2004-02-25 07:02:39

Phil
Guest

Re: Access is denied

What is different about the files/directory for this PBL from the others?  That is before you set the read-only attribute?   Do you have different access rights to this directory from the others?

Phil

#5 2004-02-29 04:46:51

dspeight
Guest

Re: Access is denied

No... all the same setup

#6 2004-03-09 08:29:42

Phil
Guest

Re: Access is denied

Have you had any luck with this?

What operation are you performing when the problem occurs?  Is the message logged to the output log and just presented in a message box?  If you can pinpoint where the problem happens we can add some diagnostic checking in that area.

Also what version of PowerGen are you using?

Regards,

Phil

#7 2004-03-18 05:06:46

dspeight
Guest

Re: Access is denied

Phil,

Using 5.5 for Powergen, at the moment I am having to run a batch file which calls the ASSOC DOS command to turn of the read -only attribute on my C:\ drive target folders (ie. where I am trying to put my powerbuilder objects)

#8 2004-04-01 02:53:32

dspeight
Guest

Re: Access is denied

Phil.

Finally sorted out a resolution for this!

For some reason the Read Only attribute is being set on the target directory ie. On my Build PCs C:\ drive. What I had to do was in my batch files put a line in to call the DOS command ATTRIB.

eg. ATTRIB -R c:\Build\MyApp

This then turns the read only attribute off.

Board footer