Rev 4.0 ASP.NET

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bsouthuk
Posts: 261
Joined: Fri Dec 05, 2008 7:25 pm

Rev 4.0 ASP.NET

Post by bsouthuk » Tue Aug 25, 2009 7:27 pm

Hi

Does anybody know if a 4.0 RunRev Revlet application should work on an ASP.NET website?

Just that I have uploaded a revlet to my website using visual web developer express 2008 edition and works fine when you test my website in a browser but when I upload my files to my web hosts server, the runrev application doesnt work - it's not even displayed.

Anyone else having this problem? Could I be doing something wrong or do Revlets only work on Linus at the moment?

Cheers

Daniel

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue Aug 25, 2009 8:01 pm

Hi Daniel,

Since the browser eventually simply reads and interpretes HTML code, regardless of using PHP, ASP or something else, it must be possible to serve a revlet through an ASP server.

I assume that you are using an MS Windows server. It appears that there are a few problems with MS Windows servers. If you can use Apache instead, your revlet should work fine, even if served from a Windows machine (but through Apache).

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

bsouthuk
Posts: 261
Joined: Fri Dec 05, 2008 7:25 pm

Post by bsouthuk » Tue Aug 25, 2009 9:19 pm

Hi Mark

I use a webhosting company called ukhost4u and upload my files to their server.

Are you saying that they must use windows instead of Apache then?

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Tue Aug 25, 2009 9:53 pm

You may have to configure the MS-IIS web server to apply the correct MIME-type for the revlet file - it's possible that the server tries to send it to the browser as text rather than binary data.

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue Aug 25, 2009 10:01 pm

Dear bsouthuk,

Apache runs in Windows and Unix (Linux) machines. Windows Server obviously runs on Windows machines only. The firm UKHost4u offers both Windows and Linux servers and they might have Windows servers that run Apache --I couldn't check that so quickly. You should probably check out the specifications of your server and see whether it is running MS Windows Server or Apache or both. If it is running only MS Windows Server, ask the company for a solution or wait until the Rev plug-in is completely compatible with Windows Server. BTW I believe you can't simply replace Windows Server with Apache if you want to use ASP. Hope this helps.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

bsouthuk
Posts: 261
Joined: Fri Dec 05, 2008 7:25 pm

Post by bsouthuk » Wed Aug 26, 2009 12:20 pm

OK thanks Mark

I'm now goint to create my web portal for my application to 'sit on' in PHP on linux.

Cheers

Daniel

Post Reply