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

Changing service location in Air project

Explorer ,
Jul 21, 2010 Jul 21, 2010

Copy link to clipboard

Copied

Here's the backstory:

So DL'd FB4 recently. It's been about nine months since I've touched Flex and thought I'd throw my hat in the ring for a little Air project I've been wanting to do. So I started building my app. It's a pretty simple form that when submitted creates an object, passes it to my ColdFusion cfc and gets back a query of type JSON. It then populates an advanced data grid. That's it for now, pretty easy.

The problem:
At work I've got my CF8 running out of C:\ColdFusion8\wwwroot. (Everything works great!) At home I've got it on D:\ColdFusion8\wwwroot. However in both cases they are http://localhost. So yesterday I brought my app home to work on it. Imported the project and used the Test Operation panel to test my cfc. No dice. Can't find it. Ok, so I go into the properties of the project and under Flex Server change Web root to: D:/ColdFusion8/wwwroot/ and I change Output folder to: D:\ColdFusion8\wwwroot\ and hit validate. I get an error:
"C:\ColdFusion8\wwwroot\ is not a valid location because the project contains a linked resource at that location."
Any help would be great! Thanks.

Views

711

Translate

Translate

Report

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
Explorer ,
Jul 30, 2010 Jul 30, 2010

Copy link to clipboard

Copied

LATEST

Hi,

   Please try the following steps:

  1. While setting the output folder specify it to be a well defined folder under the webroot.

      example: D:/ColdFusion8/wwwroot/<my-project-outputfolder>

  2. Validate the configuration and apply the changes.

  3. There might be errors or warnings displayed for the CF services in the problems view. This would happen if the CF services are not found in the new      server.

  4. Ensure that the services are deployed on the new server under the same relative path, as that of in the old server.

      Example: If in the old server the CF services were under

                     c:/ColdFusion/webroot/<my-project>/<my-services>/CFService1

                     then ensure that the service are under the same relative position under the webroot in the new server

                     d:/ColdFusion/webroot/<my-project>/<my-services>/CFService1

  5. Now refresh the service from the "Data/Services explorer"

  The errors and warnings must be resolved.

   Hope it helps.

Regards,

  Latha

Votes

Translate

Translate

Report

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