joriolm Posted August 1, 2011 Posted August 1, 2011 Hi, I have made a simple app with a UNIDBGrid displaying data with Zeos from PostgreSQL. I used version 0.86 Application runs ok in desktop and web. 1- I configured IISS 7 (Win 7) step by step like UNIGUI web page. 2- I copied ext-3.3.0 folder to my c:\inetpub\wwwroot\myproject folder 3- Checked folder permissions: myproject,cache,ext-3.3.0 to user IIS_IUSRS 4- Welcome IIS 7 page shows ok 4- An test with an index.html with a simple "This works !!" string shows ok, But http://localhost/myproject only shows the folders and files of my project. I disabled directory listing, but no luck. Please, any suggestion about this will be appreciated, I'm just starting with IIS and UNIGUI. Regards, J. Oriol M. Quote
JasonReid Posted August 1, 2011 Posted August 1, 2011 Hi, I have made a simple app with a UNIDBGrid displaying data with Zeos from PostgreSQL. I used version 0.86 Application runs ok in desktop and web. 1- I configured IISS 7 (Win 7) step by step like UNIGUI web page. 2- I copied ext-3.3.0 folder to my c:\inetpub\wwwroot\myproject folder 3- Checked folder permissions: myproject,cache,ext-3.3.0 to user IIS_IUSRS 4- Welcome IIS 7 page shows ok 4- An test with an index.html with a simple "This works !!" string shows ok, But http://localhost/myproject only shows the folders and files of my project. I disabled directory listing, but no luck. Please, any suggestion about this will be appreciated, I'm just starting with IIS and UNIGUI. Regards, J. Oriol M. You're going to need to call the Dll (unless you've done some kind of clever re-write that you haven't mentioned) www.yoursite.com/youruniguiapp.dll Quote
dionel1969 Posted August 1, 2011 Posted August 1, 2011 If your app project is .exe, it must be running and then you have to call it in this way: http://localhost:XXXXX/ where XXXXX is the port you selected (by default 8077). Quote
joriolm Posted August 2, 2011 Author Posted August 2, 2011 You're going to need to call the Dll (unless you've done some kind of clever re-write that you haven't mentioned) www.yoursite.com/youruniguiapp.dll Thanks, Jason, Dionel, I got this error when making an ISAPI Module App.: --------------------------- Error --------------------------- Cannot run project unless a host application is defined. Use the Run|Parameters... dialog box. --------------------------- OK Details >> ------------------------ This request a .exe file......?? When creating a new project from TurboDelphi 2006 I have this: 1- VCL App / Standalone Server 2- VCL App / Standalone Server/ISAPI Module 3- ISAPI Module 4- Windows service app. Which ones creates .dll ? What .exe have to be the host app ? Why I have to run my desktop app to deploy it in browser ? (Running my desktop app and going to http:localhost:8077/UNIGUI2 runs ok) This is the IIS message with another project with .dll generated: Error HTTP 404.0 - Not Found Módulo IIS Web Core Notificación MapRequestHandler Controlador StaticFile Código de error 0x80070002 Dirección URL solicitada http://localhost:80/UNIGUI3.dll Ruta de acceso física C:\inetpub\wwwroot\UNIGUI3.dll Método de inicio de sesión Anónimo Usuario de inicio de sesión Sorry by this basics questions. Thanks, J. Oriol M. Quote
JasonReid Posted August 2, 2011 Posted August 2, 2011 VCL standalone does not require IIS or any other web-server. It compiles the web server directly into the exe which you can then run like a normal program. to open your app browse to http://localhost:8077 in your browser Isapi module produces a DLL which you should then copy into the deployment folder of your IIs server, (usually something like "inetpub/wwwroot/mysite" Hope this helps. Quote
dionel1969 Posted August 2, 2011 Posted August 2, 2011 Thanks, Jason, Dionel, I got this error when making an ISAPI Module App.: --------------------------- Error --------------------------- Cannot run project unless a host application is defined. Use the Run|Parameters... dialog box. --------------------------- OK Details >> ------------------------ This request a .exe file......?? When creating a new project from TurboDelphi 2006 I have this: 1- VCL App / Standalone Server 2- VCL App / Standalone Server/ISAPI Module 3- ISAPI Module 4- Windows service app. Which ones creates .dll ? What .exe have to be the host app ? Why I have to run my desktop app to deploy it in browser ? (Running my desktop app and going to http:localhost:8077/UNIGUI2 runs ok) This is the IIS message with another project with .dll generated: Error HTTP 404.0 - Not Found Módulo IIS Web Core Notificación MapRequestHandler Controlador StaticFile Código de error 0x80070002 Dirección URL solicitada http://localhost:80/UNIGUI3.dll Ruta de acceso física C:\inetpub\wwwroot\UNIGUI3.dll Método de inicio de sesión Anónimo Usuario de inicio de sesión Sorry by this basics questions. Thanks, J. Oriol M. That error is from Delphi execution. i.e. Is not possible to run dll directly, it must be executed from an executable (host application). So, when you develop a library for the web you have to do what Jason Reid wrote. Transcription to Spanish: El error te lo da la ejecución en Delphi, es decir, no es posible ejecutar una dll directamente, ella debe ser cargada por un proceso ejecutable (host application). Entonces, cuando hagas una biblioteca (library = biblioteca, book store or book shop = librería) debes seguir lo que te escribió Jason Reid. Quote
Administrators Farshad Mohajeri Posted August 2, 2011 Administrators Posted August 2, 2011 When creating a new project from TurboDelphi 2006 I have this: 1- VCL App / Standalone Server 2- VCL App / Standalone Server/ISAPI Module 3- ISAPI Module 4- Windows service app. Which ones creates .dll ? What .exe have to be the host app ? Why I have to run my desktop app to deploy it in browser ? (Running my desktop app and going to http:localhost:8077/UNIGUI2 runs ok) Select option 2 or 3. Please review Web Deployment article in below link: http://www.unigui.com/doc/online_help/index.html Quote
joriolm Posted August 2, 2011 Author Posted August 2, 2011 Select option 2 or 3. Please review Web Deployment article in below link: http://www.unigui.com/doc/online_help/index.html Thank Jason, Dionel and Farshad. I fear I saw manuals but developer's, sorry by that. Options to build and deploy are clear. Something unexpected is the $ 329 Sencha's license price to develop not in GPL mode, I think that info may be more "visible", however, UNIGUI deserves that investment for us, It really does !!!. Thank you all again. J. Oriol M. Quote
Administrators Farshad Mohajeri Posted August 3, 2011 Administrators Posted August 3, 2011 The Ext JS license terms are stated in uniGUI License agreement. Yes, we may need to make it more visible. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.