Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 9 of 9 total
Thread Elevate Web Builder Web Server question
Fri, Nov 2 2012 10:53 AMPermanent Link

Ivan Mihailov

When I try elevate web buider demos - cdcollector, masterdetail
with the elevate web builder web server
(not local web server integrated in ewb ide),
i am getting an error:

Load response error.
Line: nnn

The page loads, but with no data.

I have defined all datasets used by the examples,
into the web server 'datasets' configuration page.


Sorry for my bad english
Mon, Nov 5 2012 2:43 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ivan,

<< I have defined all datasets used by the examples, into the web server
'datasets' configuration page. >>

Did you import them from the IDE using the Import toolbar button, or did you
manually enter them ?

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com


Mon, Nov 5 2012 4:19 PMPermanent Link

Ivan Mihailov


<< Did you import them from the IDE using the Import toolbar button, or did you
manually enter them ? >>

Yes, I imported all datasets from the IDE.

And, I made a simple app using ADO/ODBC  dataset to connect to Firebird database.
When I try test connection and preview  from the Elevate Web Server configuration page,
everything is ok,  but when  try to load the web page with Firefox or Chrome,
I get the same error:

Load response error.
Line xxxx

Witn the Local Web Server there are no problems, the  page loads with data.

Ivan Mihailov



Wed, Nov 7 2012 7:44 PMPermanent Link

Carlos

Try Closing SKYPE if you have it open. Then close EWB and re-open

Regards,

Carlos


Ivan Mihailov wrote:


<< Did you import them from the IDE using the Import toolbar button, or did you
manually enter them ? >>

Yes, I imported all datasets from the IDE.

And, I made a simple app using ADO/ODBC  dataset to connect to Firebird database.
When I try test connection and preview  from the Elevate Web Server configuration page,
everything is ok,  but when  try to load the web page with Firefox or Chrome,
I get the same error:

Load response error.
Line xxxx

Witn the Local Web Server there are no problems, the  page loads with data.

Ivan Mihailov



Wed, Nov 14 2012 10:42 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ivan,

Sorry for the delay in getting back to you.

I've tried this here again and it works fine with the CDCollector
application.  The issue has to be with the dataset definitions, so you
should double-check to make sure that the datasets are properly accessible
from the EWB Web Server.  You seem to have the content directory set
properly if you're seeing the application in the browser/IDE.

If you want to set up a remote desktop session, I can take a look and see
what's going on.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Nov 15 2012 3:57 PMPermanent Link

Ivan Mihailov

Thanks Tim,

I gave up on trying to test with the Elevate Web Server.

I am testing now with Apache and PHP (some Zend Framework classes).
Things are going pretty well.
I made a simple EWB application, that loads some data from
datadase (Firebird server), makes some inserts, updates ....
and sends these updates back to the server.
Everythig works fine.

I am studying for now EWB and I think the product has a great potential.

I have one question about TServerRequest.
In my app I am trying to load a pdf file from the server.
If I use  Form/Panel component to send a request to the server,
everything works great, Firefox shows a dialog to open/save the
file sent back from the server.

But, if I use TServerRequest, nothing happens, although
on the RequestComplete event I can see that the server response code is
200 (ok).
Mon, Nov 19 2012 2:59 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ivan,

<< I gave up on trying to test with the Elevate Web Server. >>

If you revisit this in the future, I would also check to make sure that you
don't have any Internet security suite software interfering with the browser
operation.

<< I am testing now with Apache and PHP (some Zend Framework classes).
Things are going pretty well.  I made a simple EWB application, that loads
some data from datadase (Firebird server), makes some inserts, updates
.....and sends these updates back to the server.  Everythig works fine.

I am studying for now EWB and I think the product has a great potential. >>

Great, that's good to hear. Smile

<< have one question about TServerRequest. In my app I am trying to load a
pdf file from the server. If I use  Form/Panel component to send a request
to the server,  everything works great, Firefox shows a dialog to open/save
the file sent back from the server.

But, if I use TServerRequest, nothing happens, although on the
RequestComplete event I can see that the server response code is  200 (ok).
>>

There's really no way to use a TServerRequest in that manner.  If you want
to display a PDF in your EWB application, you should use the TPlugin control
with a MIMEType property setting of 'application/pdf' and the URL property
set to the url for the PDF on the web server:

http://www.elevatesoft.com/manual?action=viewcomp&id=ewb1&comp=TPlugin

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com
Sat, Dec 1 2012 9:58 AMPermanent Link

Ivan Mihailov

Tim,

I found the reason for getting the error:
Load response error.  Line: nnn ....

I had demo applications stored in subfolders of
Elevate Web Builder Web Server content folder,
cdcollector demo in folder cdcollector,
masterdetail in folder masterdetail ....

When try to load
http://localhost/cdcollector/cdcollector.html

the browser loads the page with empty albums grid and shows that
response error.

If the applications are installed in the main content folder,
http://localhost/cdcollector.html   works fine.

Sorry, it was my fault,

but  isn't  this some kind of limitation of Elevate Web Server?

Sorry for my poor English,

Ivan Mihailov
Mon, Dec 3 2012 3:22 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ivan,

<< I found the reason for getting the error:
Load response error.  Line: nnn ....

I had demo applications stored in subfolders of Elevate Web Builder Web
Server content folder,cdcollector demo in folder cdcollector,masterdetail in
folder masterdetail ....

When try to load
http://localhost/cdcollector/cdcollector.html

the browser loads the page with empty albums grid and shows that response
error. >>

Ahh, yes, that would do it.  The main content folder is used as the root
folder for URLs, so if used a sub-folder, then the dataset requests for such
requests would end up being:

http://localhost/cdcollector/datasets/...etc.

which the web server would not know how to resolve because of the extra
"cdcollector" part in the middle.  It expects the URL to be:

http://localhost/datasets/...etc.

<< but  isn't  this some kind of limitation of Elevate Web Server? >>

Yes, it is.  I'll see about making the dataset handling more robust in this
respect and only look at the right-hand side of the URL for the 'datasets'
portion of the URL.

Thanks for the update,

Tim Young
Elevate Software
www.elevatesoft.com
Image