Sent by FoxWeb Support on 09/21/2007 01:10:04 PM:
What URL are you using to call NameSearch? I have a feeling that you are reading the file directly from your browser, instead of calling it through IIS and FoxWeb. You can’t simply type regular Windows paths in your browser, because in this case the browser simply opens the file directly, without going through IIS and FoxWeb. This the reason why the code between the <% and %> tags is displayed in the browser window, instead of getting executed. URLs must start with http://, as described in the documentation.
I suggest that you take a step back and make sure that everything is set up and working properly:
Make sure the IIS is functional:
In order to make sure that IIS is functional, you must first be able to open a browser on the server and get a result with the URL
http://localhost/.
Make sure that FoxWeb is started:
Follow the instructions in the Setup and First Steps page of the FoxWeb documentation. For now don’t configure FoxWeb to run as a service. Once you start it (either from the FoxWeb icon in the Start menu, or from the Start FoxWeb button in the FoxWeb Control Center), you should be able to see a FoxWeb icon in the notification (tray) area in the lower right part of your screen. If you double-click on that icon, you should see a status window, listing one, or more active channels. If you don’t see this, then FoxWeb is not started.
Make sure that FoxWeb and IIS are configured to work together:
Again, follow the instructions in the Setup and First Steps page to call fw_admin.fwx, as well as the sample scripts. Verify that you can call the samples that come with FoxWeb, before running any other scripts.
FoxWeb Support Team
support@foxweb.com email |
Sent by George Gambill on 09/21/2007 12:28:10 PM:
We have tried to setup FowWeb per the documentatoins.
When we try to run the NameSearch demo (as a learning curve thing) we get the following pace. It seems to not want to wait for our input in the name field and calims no results.
Search Criteria:
This example illustrates how simple it is to write FoxWeb applications. The code searches a FoxPro table for matches on the name entered by the user. Partial matches also yield results. For Example "mo" will find both "Monroe" and "Morrison." The search is not case sensitive. To see all the names in the database just leave the Name entry blank.
Name: ">
Search Results:
Your Search Yielded No Results
Any suggestions???