Deployment of Web app on Windows machine

Hello Team,
Greetings!!!

I have created build of XOJO web application and it has created Lib and Resources folder with CGI, CFG, htaccess and one application name file
I want to deploy this web app on windows xp/7 machine.

So please someone tell me the steps of how to deploy this web application on windows machine.
Thanks in advance…
P.S. I am new to XOJO

XP is not supported anymore. Windows 7 minimum.

Can we do that on Windows 7?
If Yes, then please tell me the steps
If No, any alternate solution for it

Thanks…

Cgi deployment is kind of complicated on Windows. There are many threads on this forum about that.
https://forum.xojo.com/conversations/windows?search=web%20cgi%20deployment%20windows

You may want to consider deploying a standalone program.
See https://forum.xojo.com/14555-web-deployment-on-iis-standalone-v-s-cgi/0

Start reading here:
http://developer.xojo.com/userguide/web-app-deployment-overview

I tried to install stand alone web application as a service in windows machine.
While starting service, it gives error of 1067 Service terminated unexpectedly

  • Is SP1 installed on the machine? (I am assuming that you are using Xojo 2016 R1 ,2 or 3)
  • Do you have the Universal Runtime and all necessary other libraies installed also? (you must have Win 7 SP1 installed to install it and use it)

Couple more questions:

  • Can you start the web app manually, by double-clicking the .exe?
  • What username is your service using to log on?

[quote=299901:@Sharad Yadav]I tried to install stand alone web application as a service in windows machine.
While starting service, it gives error of 1067 Service terminated unexpectedly[/quote]

If standalone does not even start, cgi will definitely not work.

You first need to make sure it works as standalone, launched as ordinary program. I am inclined to believe so, since running a program in the IDE is a standalone executable.

@Louis Desjardins @David McKenzie @Michel Bujardet
When I run exe on my app, it gives following error:

The procedure entry point ConvertLengthToIpv4Mask could not be located in the dynamic link library IPHLPAPI.DLL

Also I have lincese copy of web and I have created it from it
Also I am using Windows 7 64 bit system.

You should probably verify your Windows 7 is up to date with the Service Pack 1.

http://developer.xojo.com/system-requirements

The error appears to be linked to networking. I doubt that Xojo is really the cause of the issue.

  • Make sure as we indicated in a few posts that your system is up to date with all the latest support packs and patches;
  • I would also suggest that you search for updated network adapter drivers for your computer.
  • Have you set up your Web app to be accessible via HTTP on TCP port 80, as per standard?

  • Are you sure no other process is already listening on that port?

  • Are you running the .exe as a user with administrative permissions?

@Louis Desjardins @David McKenzie @Michel Bujardet
I did all the procedures, its like I stuck very badly.
Please find the below link from where you can download my simple web application build.

http://php-demos.com/xojo/Builds%20-%20Simpleweb_CGI.xojo_binary_project.zip

http://php-demos.com/xojo/Builds%20-%20Simpleweb_standalone.xojo_binary_project.zip

I have tried to deploy it on Windows and Linux both servers, but it does not helped
On linux, it gave error of binary file can not be executed.

It will be very helpful if you deploy it on your side on any machine like windows or Linux and let me about it

Thanks in advance…

Sharad, I downloaded the standalone build for Windows. Extracted the Zip file to my desktop and started the application. then, http://127.0.0.1 launched the app in my browser. Clicked the “say hello” button, got the message box. It seems to work just fine.

My laptop is a Lenovo Carbon X1 and my OS is Windows 10 64bit.

This suggests that the issue lies with the environment, not the app itself.

another hint: dont use spaces (%20) or extra characters in your filenames and webs…

Sharad, you really seriously want to consider a standalone program on Windows. This forum is full of people getting stuck trying to run cgi on Windows. BTW when you run the program in IDE, it works, right ? It is a standalone program.

This is new. Until now, I thought you deployed on Windows.

Which version of Linux ? 32 bit ? 64 bit ? Have you made sure to set the permissions of the binary to executable ?

Is it on your PC ? On a server ?