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...
Holà Gustavo,
Did you go through step 3-publish
?
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..
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:
- replace
foxydb_library2.5
byfoxydb_library2.5.prg
(we'll update FAA to do so). - 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.
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:
- 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
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!
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 !!!
Can you fix the image display?
can you set a breakpoint in awsSets.Init() and find where code hangs?
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
Just open your browser and type localhost/awsTest
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
perfect, what if you click on a form link?
Greetings Thierry
Clicking a link does not happen
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
Hello Thierry
How do I send videos by West Wind?
Or how do I send it to you?
Thanks
You can upload to a video hosting service like YouTube then share the link
Hello Thierry
Analize https://www.youtube.com/watch?v=-Xcq2p76T1s
Adapt https://www.youtube.com/watch?v=U3yVz6cLBbw
Publish https://www.youtube.com/watch?v=dRjeMLJII0c
That's what I've done Thank you
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
Clicking on any option changes to purple That is the only behavior that I observe
Gustavo,
That's OK for the web page;
My question is: what happens in VFP, in the window below?
Hello
In VFP it appears
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
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
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.
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
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?
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.
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.
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