Jump to content

IISS 7 deployment


joriolm
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Administrators

 

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...