Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Trying to use Flash Remoting with CF8 and Flex 3

Guest
Apr 01, 2008 Apr 01, 2008
I really hope someone can help with this. I've googled to death for two days and can't find anything. I'm at my wits end. I've installed CF8 on Windows XP Pro on IIS5.1 with multiple sites. I'm also using Flex 3. I'm trying to get a simple helloworld app to work using flash remoting with a cfc. When I run it, in the error dialog, I get this error among others:

[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: ' http://localhost/flex2gateway/'"

I've tried to connect to http://localhost/flex2gateway/ through the browser and I get a page cannot be found message. Note that I had to change the root directory in IIS to point to my new site, so it's not the default site any longer. If I change it back to the default, I can find this file. I can't figure out for the life of me how to get that url to work in the new site? I've also tried adding the JRunScripts virtual directory in my new site as this site suggested and it still can't find it.

http://www.frenches.com/blog/index.cfm/2007/5/7/Flex-Coldfusion--Dont-make-me-have-to-separate-you-t...

Surely someone else has multiple sites and knows how to solve this?

Thanks!
Holli
TOPICS
Event gateways
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Apr 01, 2008 Apr 01, 2008
Hallefrickinglujah! I finally got it to work. I'm going to post the answer hear to help someone in the future. For sites you create AFTER you install CF8, you have to create the JRunScripts virtual directory as described in this article: http://www.frenches.com/blog/index.cfm/2007/5/7/Flex-Coldfusion--Dont-make-me-have-to-separate-you-two

Just make sure that after you create it, you go into IIS and give execute permissions to Scripts and Executables - It's a drop down in the properties dialog ...
Translate
Guest
Apr 01, 2008 Apr 01, 2008
Here's a neat little addition to this problem. I had several sites created BEFORE I installed CF8. On THOSE sites, I can get to http://localhost/flex2gateway, but I can't on the new sites. I'm not going to reinstall CF8 every time I have to create a new site! This is crazy. Any ideas? Thanks!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 01, 2008 Apr 01, 2008
LATEST
Hallefrickinglujah! I finally got it to work. I'm going to post the answer hear to help someone in the future. For sites you create AFTER you install CF8, you have to create the JRunScripts virtual directory as described in this article: http://www.frenches.com/blog/index.cfm/2007/5/7/Flex-Coldfusion--Dont-make-me-have-to-separate-you-t...

Just make sure that after you create it, you go into IIS and give execute permissions to Scripts and Executables - It's a drop down in the properties dialog of the virtual directory. Good luck!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources