I’m trying to deploy a Xojo Web app to IIS. I’m trying to use CGI. I cannot believe how difficult it is and how little documentation there is around this.
I want to be able to install my application to various customers on their servers so I have to be able to deploy to Windows Servers running IIS.
I cannot get the application to work. Here’s the situation:
I’m trying to install to a Windows 7 64 bit, IIS7.5 setup
So far, I have:
- I made sure CGI was installed for IIS via the control panel.
- I created an Application pool (No managed code, Classic pipeline mode, Enabled 32-bit applications)
- I created an application folder via IIS using the application pool above
- I’ve installed Perl using these instructions: http://www.howtogeek.com/50479/how-to-install-perl-on-iis-7-for-windows-server-2008/
These instructions include setting up the Handler mappings for CGI and PL extensions as well as setting the CGI and ISAPI restrictions to allow Perl to work. A test Perl hello world app works!
- I have enabled the CGI Handler under handler mappings for the .exe extension
- I’ve copied all the build files and folders into the application folder
- I’ve set the permissions on all the files to Read, Write, Modify, Read and Execute
- I’ve turned off my virus checker that kept deleting the exe file when I tried to launch the application via the browser
- I’ve turned off my firewall in case that was interfering.
- I’ve got the config.cfg set to AUTO_PORT = 1 (I’ve tried various versions of AUTO_PORT and PORT settings to no avail)
I’m trying to launch the application (I’m now using the example application from the Web Deployment overview page) from a browser using localhost/TimelineViewer/xojotext.cgi
I’m now getting the “The application has gone off-line. Please try again later. This application has encountered an error and cannot continue. Some Fatal error”
Can someone please help me? Is there any documentation that I’m missing?
I have got to get this working but I have to say that the difficulty I’ve had trying to get this to work together with the convoluted setup of the server will probably mean I can’t use Xojo to develop web applications in the future.
Thanks in advance for any suggestions/help!