all groups > macromedia flash flash remoting > december 2003 >
You're in the

macromedia flash flash remoting

group:

Very Frustrated


Re: Very Frustrated Tom Muck
12/5/2003 4:52:51 PM
macromedia flash flash remoting: [quoted text, click to view]
Database Query."

There is a problem in your bikeparts service. The query has a problem that
is not traceable through Flash. The best approach is to build a test harness
CFM page to test out the query.

FYI, there is no flashservices/gateway directory. It is a virtual path.
Still, the problem is not with remoting, but with your query. If you can't
get it to work, post the code.


--
---------------------------------------------------------------
Tom Muck
author -- Flash Remoting: The Definitive Guide
http://www.flash-remoting.com/notablog

Team Macromedia Volunteer for Flash

Extending Knowledge, Daily
http://www.communityMX.com/
Very Frustrated dmain007
12/5/2003 8:12:25 PM
Has any tried the example bicycle parts catalog? I installed cold fusion on my PC and have followed the instrcutions to the tee. But I am having problems getting the data to show up in Flash. The code I have input is:

var net_conn = NetServices.createGatewayConnection("http://127.0.0.1:8500/flashservices/gateway");
var partService = net_conn.getService("devnet.bikeparts");
partService.getPartInfo(partResponder);

When I run the progam with the NetConnection Debugger on it errors and the data does not show. The error message is:
"Service threw an exception during method invocation: Error Executing Database Query."

When I review the cold fusion root directory which equates to localhost:8500/ I could not find the directory flashservices/gateway. Not sure if that is a vitual one or has something not been installed. PS i have installed Flash Remoting Components. Any help would be great, tech support won't even budge to try and help, after spending a $1,000 because macromedia says that flash can dynamically updata data between a database and flash. i am left with an un easy feeling in my stomach and some very upset clients. Please help.

Thanks,

Dave



Referring URLs
http://www.macromedia.com/devnet/mx/flash/articles/ria_databases.html



Re: Very Frustrated dmain007
12/9/2003 4:48:05 AM
Tom,

Thanks for the answer, not sure what that exact problem is but I downloaded the note board sample and it worked fine. So I have been able to reverse engineer tje code and cf code and begin my RIA. By chance do you know why a component (ie. combobox) will not allow you to populate it with data (from a database) while it is in a separate movieclip than your _root? Just curiouse.

Thanks again,

Dave

AddThis Social Bookmark Button