FoxInCloud
FoxInCloud
Gravatar is a globally recognized avatar based on your email address. FoxInCloud
  Gustavo Colmenares
  All
  Oct 17, 2017 @ 12:21pm

Hello Thierry

The adaptation of the project with FAA 2.25 I did and everything went well ...

Running on Desktop worked fine ..

Now what do I need to do to run on the Web?

Thank you...

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 17, 2017 @ 12:43pm

Holà Gustavo,

Did you go through step 3-publish?

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  FoxInCloud Support - Thierry N.
  Oct 18, 2017 @ 02:49pm

Hello Thierry

Install FAS 2.25 and run it ....

Install FAS 2.25 and run it .... I generate the 2 programs and when I run the .prg, this message appears to me:

Starting Web Application 'FoxInCloud App' in production mode Setting Application Environment… Instantiating class 'aswSets' of 'C:\Test\awSadin\Programas\aswsets.fxp' into property 'oAppSets' of 'Awapphost'… Could not setup Application environment: Application environment class 'aswSets' could not be instantiated.: [Method or procedure init(): error #1 ("File 'foxydb_library2.5' does not exist") at code line #72 ("SET PROCEDURE TO age,analizar_acceso,conexionservidor,desconexionservidor,desencriptar,encriptar,foxydb,foxydb_library2.5,foxyrb_class,foxytb_class,funcion]+'es,login_administrador,main_administrador,validar_fecha_vencimiento ADDITIVE")'. Application environment class 'aswSets' could not be instantiated.: [Method or procedure init(): error #1 ("File 'foxydb_library2.5' does not exist") at code line #72 ("SET PROCEDURE TO age,analizar_acceso,conexionservidor,desconexionservidor,desencriptar,encriptar,foxydb,foxydb_library2.5,foxyrb_class,foxytb_class,funcion]+'es,login_administrador,main_administrador,validar_fecha_vencimiento ADDITIVE")' Application could not start: "Method or procedure init(): error #1 ("File 'foxydb_library2.5' does not exist") at code line #72 ("SET PROCEDURE TO age,analizar_acceso,conexionservidor,desconexionservidor,desencriptar,encriptar,foxydb,foxydb_library2.5,foxyrb_class,foxytb_class,funciones,login_administrador,main_administrador,validar_fecha_vencimiento ADDITIVE")"

Please can you tell me what I could do? Thanks..

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 19, 2017 @ 12:16am
Starting Web Application 'FoxInCloud App' in production mode Setting Application Environment… Instantiating class 'aswSets' of 'C:\Test\awSadin\Programas\aswsets.fxp' into property 'oAppSets' of 'Awapphost'… Could not setup Application environment: Application environment class 'aswSets' could not be instantiated.: [Method or procedure init(): error #1 ("File 'foxydb_library2.5' does not exist") at code line #72 ("SET PROCEDURE TO age,analizar_acceso,conexionservidor,desconexionservidor,desencriptar,encriptar,foxydb,foxydb_library2.5,foxyrb_class,foxytb_class,funcion]+'es,login_administrador,main_administrador,validar_fecha_vencimiento ADDITIVE")'.

Hi Gustavo,

Here is what you can do:

  1. replace foxydb_library2.5 by foxydb_library2.5.prg (we'll update FAA to do so).
  2. As C:\Test\awSadin\Programas\aswsets.prg was built by FAA from your project's main program, please take some time to review the comments (to understand what it's used for) and the code that was extracted from your project's main program.
Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  Gustavo Colmenares
  Oct 23, 2017 @ 07:33am

Hi Thierry

I was a few days of rest because I practiced a surgery in the Talon of Achilles that was injured playing soccer ...

Checking your email tells me:

  1. Replace foxydb_library2.5 by foxydb_library2.5.prg (we'll update FAA to do so). Where do I make that replacement ??

In Web mode when I ran it I saw the following screen:

I'm going to continue with the tests ... Since I'm going to be at rest I'll take advantage and follow up with any questions

Thanks

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 23, 2017 @ 09:05am

Replace foxydb_library2.5 by foxydb_library2.5.prg (we'll update FAA to do so). Where do I make that replacement ??

In awsSets.prg. Also, please carefully read the comments in this generated program.

Hope your surgery went well!

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  FoxInCloud Support - Thierry N.
  Oct 24, 2017 @ 06:42pm

Hi Thierry

Thanks for the help ...

I made the replacement that I indicated and re-executed awstest.prg and I appeared![]

(//support.west-wind.com/PostImages/2017/_51K13Z2V1.png)

And he did nothing else !!!

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 24, 2017 @ 07:56pm

Can you fix the image display?

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 25, 2017 @ 12:29am

can you set a breakpoint in awsSets.Init() and find where code hangs?

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  FoxInCloud Support - Thierry N.
  Oct 25, 2017 @ 03:49pm

Hi Thierry, Greetings

I got the point where the execution ended. I made the correction and when I re-run the awsTest I got the following message

Starting Web Application 'FoxInCloud App' in trial mode

Setting Application Environment… Instantiating class 'awsSets' of 'C:\Test\awSadin_Administrador\Programas\awssets.fxp' into property 'oAppSets' of 'Awapphost'… Application environment was setup in 6.046 seconds.

10/25/17 06:31:39 PM - Launching form #1 'awsfrmmb'- instantiated in 0.13 sec.- setup in 0.060 sec.- properties saved in 0.15 sec.- HTML/CSS/JS generated in 2.7 secs.- finished in 3.1 secs. with success.

Application 'FoxInCloud App' started in 12.961 seconds.

And he did not follow any more

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 25, 2017 @ 11:48pm

Just open your browser and type localhost/awsTest

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  FoxInCloud Support - Thierry N.
  Oct 26, 2017 @ 08:07am

Hi Thierry Happy day

When I type in the localhost/awtest browser, the following screen appears

When I type C: \ Test \ awSadin_Administrator \ awtest, the following screen appears

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 26, 2017 @ 08:20am

perfect, what if you click on a form link?

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  FoxInCloud Support - Thierry N.
  Oct 27, 2017 @ 07:04am

Greetings Thierry

Clicking a link does not happen

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 27, 2017 @ 07:47am

bo? that's weird… clicking a link always cause something to happen…

can't you see the URL change in the browser bar? something must change somewhere!!

please make sure to start your awsTest server prior to click on the link…

please try to post a video showing what you exactly do.

thanks

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  FoxInCloud Support - Thierry N.
  Oct 28, 2017 @ 04:01pm

Hello Thierry

How do I send videos by West Wind?

Or how do I send it to you?

Thanks

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 29, 2017 @ 02:36am

You can upload to a video hosting service like YouTube then share the link

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 30, 2017 @ 03:51am

Excellent, thanks, everything's fine until the end or Publish.

When you click on busca_grupo.scx, what happens in the FoxInCloud / VFP window? Can you see the light turn to red?

Note: for future videos, please use options captura cursor and seguir mouse

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  FoxInCloud Support - Thierry N.
  Oct 30, 2017 @ 09:52am

Clicking on any option changes to purple That is the only behavior that I observe

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 30, 2017 @ 10:24am

Gustavo,

That's OK for the web page;

My question is: what happens in VFP, in the window below?

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  FoxInCloud Support - Thierry N.
  Oct 31, 2017 @ 06:12am

Hello

In VFP it appears

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Oct 31, 2017 @ 07:06am

Thanks Gustavo,

We probably have a bug here…

You can work around this:

modify file awsTest.ini

* replace all '\awsTest\awsTest\' by '\awsTest\'

Then restart your server and hit F5 on the browser

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  FoxInCloud Support - Thierry N.
  Nov 1, 2017 @ 09:19am

Hello Thierry

I did everything that I indicated and the application worked.

They continue to give some warnings at the time of execution, and it would be a matter of revising and correcting.

What does awsprod.prg do?.

I will continue to check and see the warnings and inform you

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Nov 1, 2017 @ 10:27am

We advise to deploy 2 sites of your app on your production server, one for testing (awsTest), and one for real production (awsProd).

You have 2 projects (awsTest.pjx and awsProd.pjx) so that you can compile your app in 2 different exe (awsTest.exe and awsProd.exe) that have 2 different COM classID (awsTest.awsTestServer and awsProd.awsProdServer).

Each COM server serves the corresponding site:

  • awsTest.awsTestServer serves /awsTest
  • awsProd.awsProdServer serves /awsProd

Benefit: you can deploy new features on the test server for your clients to test before releasing in production.

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  FoxInCloud Support - Thierry N.
  Nov 30, 2017 @ 06:15am

Hello Thierry. Greetings. I was a few days of rest and doing therapy at the foot where I had the surgery.

I'm back and I'll continue studying FoxInCloud. I already read the email explaining the test executable and the production executable.

If I want to modify the options bar of the menu in which part I do it?

About a month ago I was watching the Lianja project and it seemed very complicated and expensive. I will take these days to continue working with FoxInCloud and by 2018 acquire the license.

Thank you

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Nov 30, 2017 @ 07:52am

Hi Gustavo,

I wish you a prompt relief from surgery

If I want to modify the options bar of the menu in which part I do it?

which menu do you mean? Can you post a screenshot?

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  FoxInCloud Support - Thierry N.
  Dec 1, 2017 @ 06:57am

Hello Thierry. Thanks for everything.

I'm talking about the menu options on this screen

Another question ... Every time I modify the Test program, the Prod program is modified automatically.

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Dec 1, 2017 @ 07:14am

Holà Gustavo,

Did you try what is explained in the yellow rectangle?

  • Implement the 'Index' method in your process class (modify command xxxServer),
  • In IIS, add 'index.xxx' as a new default document for your application.
Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  Gustavo Colmenares
  Gustavo Colmenares
  Dec 2, 2017 @ 06:25am

Hello Thierry.

I already did what the INDEX procedure says

Some questions: In the next line of code should I change \sampleIndex.scx to \my.scx?

**RETURN THIS.wFormStandardPage('App\Sample\sampleIndex.scx') && - FoxInCloud Sample Form - modify form (home(1) + 'tools\ab\aw\App\Sample\sampleIndex') **

Where my.scx is my start form.

In the folder Microsoft Visual Foxpro9\Tools\AB\AW\App\Sample\

Should I add my.scx?

THANK YOU

Gravatar is a globally recognized avatar based on your email address. re: FoxInCloud
  FoxInCloud Support - Thierry N.
  Gustavo Colmenares
  Dec 2, 2017 @ 07:01am

Sure, replace be any form of your application, in whatever folder you prefer

© 1996-2024