Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread (Web Hosting) Database.Load dataset raise error :Dataset load response error
Sun, Jul 21 2013 7:01 PMPermanent Link

Budiman

Hi all,

I am new in Web Application.

I deploy my first elevate web application to a web hosting including the database.

My web application run well in my desktop but when I run it that I deploy in a web hosting (thru Firefox)
Database.Load(<dataset>) raise error :Dataset load response error.

I want the aplication access the database reside in web host.

How to solve the problem ?

Sorry for my poor english.

Thanks
Budiman
Mon, Jul 22 2013 2:43 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

try running something like http://fiddler2.com/ to see what requests are
being sent to the server and it will help to see what is going on.

Chris Holland
[Team Elevate]

On 22/07/2013 00:01, Budiman wrote:
> Hi all,
>
> I am new in Web Application.
>
> I deploy my first elevate web application to a web hosting including the database.
>
> My web application run well in my desktop but when I run it that I deploy in a web hosting (thru Firefox)
> Database.Load(<dataset>) raise error :Dataset load response error.
>
> I want the aplication access the database reside in web host.
>
> How to solve the problem ?
>
> Sorry for my poor english.
>
> Thanks
> Budiman
>
Tue, Jul 23 2013 3:08 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Budiman,

<< I deploy my first elevate web application to a web hosting including the
database.

My web application run well in my desktop but when I run it that I deploy in
a web hosting (thru Firefox)
Database.Load(<dataset>) raise error :Dataset load response error. >>

Are you using the EWB Web Server on your web host ?  If not, then you won't
be able to serve up datasets automatically and will need to write a back-end
for your database in PHP, etc.  The JSON required is specified here:

http://www.elevatesoft.com/manual?action=viewtopic&id=ewb1&topic=JSON_Reference

We've got plans for a PHP layer for the dataset handling, but it isn't
complete yet.

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

Tim Young
Elevate Software
www.elevatesoft.com


Tue, Jul 23 2013 6:53 PMPermanent Link

Budiman

Hi Tim Young,

<<Are you using the EWB Web Server on your web host ?>>


Do you mean I have to run the EWB Web Server on my web host ?

How to use the EWB Web Server on my web host?

Thanks

Budiman
Tue, Jul 23 2013 9:07 PMPermanent Link

Raul

Team Elevate Team Elevate

You have to make your database accessible from your web host.

Options are:

1. Run the EWB Web Server on your host server - it's a Windows
executable so it requires Windows VPS style hosting.

or

2. Implement the necessary web service interface using whatever language
you have available (PHP, ASP, etc).

JSON spec for datasets is here:
http://www.elevatesoft.com/manual?action=viewtopic&id=ewb1&topic=JSON_Reference


Raul


> Do you mean I have to run the EWB Web Server on my web host ?
>
> How to use the EWB Web Server on my web host?
>
Tue, Jul 23 2013 9:46 PMPermanent Link

Budiman

Raul wrote:

You have to make your database accessible from your web host.

Options are:

1. Run the EWB Web Server on your host server - it's a Windows
executable so it requires Windows VPS style hosting.

or

2. Implement the necessary web service interface using whatever language
you have available (PHP, ASP, etc).

JSON spec for datasets is here:
http://www.elevatesoft.com/manual?action=viewtopic&id=ewb1&topic=JSON_Reference


Raul


> Do you mean I have to run the EWB Web Server on my web host ?
>
> How to use the EWB Web Server on my web host?
>

Hi Raul,

Thanks.

Regards,
Budiman
Tue, Jul 23 2013 9:59 PMPermanent Link

Budiman

Raul wrote:

You have to make your database accessible from your web host.

Options are:

1. Run the EWB Web Server on your host server - it's a Windows
executable so it requires Windows VPS style hosting.

or

2. Implement the necessary web service interface using whatever language
you have available (PHP, ASP, etc).

JSON spec for datasets is here:
http://www.elevatesoft.com/manual?action=viewtopic&id=ewb1&topic=JSON_Reference


Raul


> Do you mean I have to run the EWB Web Server on my web host ?
>
> How to use the EWB Web Server on my web host?
>

Hi Paul,

If I want my web application on Web host remote access database reside on my own computer (my computer as data server),  What and how do I set in my web application in order the dataset load the remote data ?

Thanks
Hendra
Thu, Jul 25 2013 9:07 AMPermanent Link

Raul

Team Elevate Team Elevate

If you're going to use your own computer then there are 2 ways to
accomplish this :

1. Just serve everything from your computer is easiest (both the html/js
as well as data). You can just redirect from your hosted page to your PC
public IP.

2. if you want to leave the html/js hosted in place and just access your
data using your PC then you need to modify your EWB application to load
the data from your system.

You need to set the TDatasets "baseURL" properly (to point to your own
PC publicly accessible IP and port and with proper parameters) before
you call dataset load.

If you're using EWB Web Server then make sure you also enable Enable
Cross-Origin Resource Sharing on the content settings there

Raul

On 7/23/2013 9:59 PM, Budiman wrote:
> If I want my web application on Web host remote access database reside on my own computer (my computer as data server),  What and how do I set in my web application in order the dataset load the remote data ?
Image