View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
Please try the following:
  1. Stop the FoxWeb service.
  2. Configure FoxWeb to not run as a service, by disabling the Run As a Service option in the FoxWeb Control Center.
  3. Login into Windows as the user you specified in the services applet for the FoxWeb service.
  4. Try running your script again.

Does this work?  If not, try the exact same code in an interactive VFP session.  Please let us know what you find out.

FoxWeb Support Team
support@foxweb.com email

Sent by Lew En Lai on 05/26/2004 06:14:27 AM:
I too am encountering the same problem and I tried the method you mentioned here but it still didn't work.
 
I have set up foxweb 2.6 with Windows 2003. My remote database is residing in my Netware 6.5 server. My Windows 2003 server is logged into the netware server via a netware client and mapped to the netware server.
 
I have specified the Userid and password of the Windows 2003 user which have access to my netware servers in the properties of the service applet. The foxweb is set to run as a service.
 
I managed to open the file interactively in VFP via the UNC path but it was unable to open the remote file via executing the foxweb script on the web returning the error that file does not exist.
 
In the programme it is executed as follows
 
vPath=alltrim(Fieldpath)+"myfile"
Use &vPath
 
(fieldpath is the UNC path stored in DBF and "myfile" is the file name)
 
Please advise.
 
Thanks
 
 
Sent by FoxWeb Support on 02/16/2004 11:58:00 PM:
You will need to open the Services applet in the Administrative Tools of the Windows Control Center.  Locate the FoxWeb service and open its properties.  In the Log On tab select "This account" and specify a userid and password for a user that has access to the remote resource.
 
In order to refer to the remote file in your script you must use UNC notation (\\ServerName\Share\Path\FileName).  To verify that everything is correct, log into the server as the FoxWeb service user and try to open the file interactively in VFP, using the same UNC path as what you used in your script.

FoxWeb Support Team
support@foxweb.com email

Sent by Fernando Medan on 02/13/2004 04:00:01 AM:
If you are running FoxWeb as a service running as an account that has access to remote resource (Win 2003 + FoxWeb 2.6).
When I tried to access via Foxweb, the error returned that the file does not exist.
Could you guide me through the steps on setting the service user and script.
Thanks