Paradox Community

Items in pnews.paradox-development

Subject:Re: .Net file
Date:Tue, 15 Jan 2019 20:24:42 +1000
From:Leslie <"ViaThe List"@NOSPAM.com>
Newsgroups:pnews.paradox-development
Ok, I missed the fact that this is running as a scheduled task.

I suggest you look in the Windows event logs and see if any errors are 
being written which might give you a clue.

Otherwise it is time to start googling.




On 15/01/2019 2:10 PM, Kevin Zawicki wrote:
> The special user (which is just another user I want to use to run when not
> logged into PC) has same rights as all others.
> When run interactively (PC logged in to that user) Paradox runs using the
> NET file on the network. That ID has access to everything. If I run logged
> in as that ID and interactively or by scheduler it does not create a C:\
> file, it uses the network NET file only IF logged in.
>
>
> It seems running a job under that user when that user is not logged in works,
> but makes the C: file. It must be as you said, the NET location is not accessible
> and it drops to C:
>
>
>
>
> Leslie <"ViaThe List"@NOSPAM.com> wrote:
>> Does the User have access to the Registry branch of the BDE, and also
>> does the user have access to the location that contains the idapi.cfg file.
>>
>> By default, if the BDE cannot find what it needs to identify the
>> preferred location of the .NET file, the fallback location is C:\ which
>
>> is what I believe you are seeing.
>> Leslie.
>>
>>
>> On 14/01/2019 10:18 AM, Kevin Zawicki wrote:
>>> The special user is admin and the NET folder is open to all users.
>>>
>>> "Anders" <anders.jonssonREMOVE@THISorrspelet.se> wrote:
>>>> I always thougt that the location of the NET-file must be with a mapped
>>>
>>>> drive...
>>>>
>>>> But if it's working for you...
>>>>
>>>> Maybe the special user hasn't rights to the folder?
>>>>
>>>> Anders
>>>>
>>>> "Kevin Zawicki"  skrev i meddelandet
>>>> news:5c3b5eeb$1@pnews.thedbcommunity.com...
>>>>
>>>>
>>>> I have a single PC, paradox 10+.
>>>>
>>>> The .NET file is located on:
>>>> C:\Data\Pdxnet
>>>>
>>>> I use:
>>>> \\[myComputerName]\data\Pdxnet in BDE and has no problems.
>>>>
>>>> PC has multiple users. All users show:
>>>> \\[myComputerName]\data\Pdxnet in BDE.
>>>>
>>>> [myComputerName] is the PC Name.
>>>>
>>>>
>>>> Multiple users can sign in and “switch users” and have no problems.
>>>>
>>>> I set up a “special” user to run automated paradox scripts on same PC,
> I
>>>> logged in as that user, set all up as needed, DBE checked. Runs everything
>>>> as needed interactively. Process runs with no problems interactively,
>>>> command
>>>> line, time, etc.
>>>>
>>>> Log out.
>>>>
>>>> I set up the Windows task scheduler to run process as special user. Command
>>>> line is fully pathed to PDX exe and the script, with all needed switches.
>>>>
>>>>
>>>> However, a new NET file is created every time this task scheduled user
> runs
>>>> a task and created on the root of C:.
>>>>
>>>> I have tried MANY combinations, verified everything, etc.
>>>>
>>>> Does anyone have any ideas on why? When running “blind” it seems to ignore
>>>> the DBE .NET location and drops to C:. If I log in as that user and run
>>>
>>>> Paradox
>>>> or this task, etc, it does not create the new .NET file.
>>>>
>>>> I may switch the URL reference to hard C: (would not matter for this
> set
>>>> up) but was wondering if anyone has seen this? The install is clean and
>>> been
>>>> in place for years.
>>>>
>>>
>>
>> ---
>> This email has been checked for viruses by AVG.
>> https://www.avg.com
>>
>


Copyright © 2004 thedbcommunity.com