Do you have a CFIDE virtual directory, this is required for all the AJAX stuff.
Regards Dale Fraser http://learncf.com -----Original Message----- From: Mike Chabot [mailto:[EMAIL PROTECTED] Sent: Wednesday, 12 September 2007 11:15 AM To: CF-Talk Subject: Re: Ajax cfgrid bind problem Windows 2003 Standard 32 bit with IIS6. My example is simplified. The cfm file is not in the same directory as the cfc in actuality. Although that gave me an idea. I put the cfc in the same directory as the cfm file and shortened the cfc path, but the result is the same. The Ajax call is looking for the file in the root of the Web server, not in the virtual directory where the file actually resides. -Mike On 9/11/07, Dale Fraser <[EMAIL PROTECTED]> wrote: > What OS etc. > > I could not get this stuff to work under Vista and IIS, works find on a > Windows server. > > Also if the cfm is in the same as the cfc you don't need the projects. > > Regards > Dale Fraser > > http://learncf.com > > -----Original Message----- > From: Mike Chabot [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 12 September 2007 10:28 AM > To: CF-Talk > Subject: Ajax cfgrid bind problem > > I am trying to use the cfgrid CFC binding feature in CF8 but I am > having trouble getting the CFC to populate the Ajax grid. > > URL: http://site/ > Folder: c:\inetpub\wwwroot > > URL: http://site/projects/ (virtual directory) > Folder: c:\projects\ > This folder has a cfc called myCFC > > My bind attribute starts with "cfc:projects.myCFC.function" > > The page gets compiled and sent to the browser successfully, meaning > ColdFusion finds the CFC initially. However, looking at the source > code I see that the Ajax request is looking for "/myCFC.cfc" instead > of "/projects/myCFC.cfc." The predicable result is that the Ajax grid > doesn't get populated and a missing file error is logged in > Application.log. > > What do I need to do to get this Ajax call to look in the correct location? > > Thanks, > Mike > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288222 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

