Solved

debug mapping settings

Posted on 2001-06-08
6
159 Views
Last Modified: 2013-12-24
hey all quick q-

i have cf server & studio installed- but i cant get the development server mapping to work...

the exe's are installed in dif dirs-
d:/cfserver/bin/cfserver.exe
d:/prog files/allaire/coldfusion/cfstudio.exe

i know they are there and they both work seperately- but i cant get the debug to work....
0
Comment
Question by:owlsey
  • 4
  • 2
6 Comments
 
LVL 4

Expert Comment

by:CF_Spike
Comment Utility
If you want to use debugging information you need to set up a ColdFusion RDS Server and open the files through this in Studio.

In order to set up an RDS server you need to make sure that the RDS Service is running - ColdFusion RDS Serivce in the services list.

Then go to Studio and in the Drop-down to select hard drives select Allaire FTP and RDS.

Right Click on the Allaire FTP and RDS that appears in the folders window and choose add RDS Server.

Enter localhost as the description, 127.0.0.1 as the host name, 80 as the port. Leave the username blank and use the password that you specified for ColdFusion Studio when you installed CF Server. If you can't remember this you can go into the ColdFusion Server Administrator and untick the "Use a ColdFusion Studio Password" tick box or type a new password into the text boxes.

Make sure that you can browse the server using this RDS Mapping by clicking on the entry for localhost under Allaire FTP and RDS. If you are prompted for a password enter the one for Studio security.

You should be able to browse all the directories and drives on the machine. When you open a file it should have a little green dot beside the file name at the bottom.

Once you have got this far you are ready to set up debugging. You need to specfiy the RDS Server to debug on. Choose localhost from the drop down list. Type the url of the page you want to debug.

The debugger should now be working.

If you find that it doesn't work close ColdFusion Studio and restart the ColdFusion Application Server service and the ColdFusion RDS Service. Then re-open Studio and try again.

If it doesn't work then you will probably need to delete the RDS Server and start again. The debugging information should be filled with all sorts of variables if it is working correctly.

You will probably have a few failed attempts to get it set up before it works correctly, but once it is working it tends to stay working.

Spike
0
 
LVL 4

Expert Comment

by:CF_Spike
Comment Utility
Oh, yes...

I forgot to mention that you will also need to set-up a development mapping which allows you to browse the files which have been opened via the RDS Service before Debugging will work.

Spike
0
 

Author Comment

by:owlsey
Comment Utility
ok- im about to get a shotgun-

cfserver app level- installed local d:/cfserver
cf studio 4.52 installed local- d:/prog files/allaire/coldfusion

this is what i did...

1. Files Pane- Selected Allaire RDS & FTP - Glode Icon
1a. Description- LocalHost; Name- LocalHost; port 80; user&pin setup
2. in files pane- access start1.cfm- initial login page-
loads in main window w/green dot next to file name
3. "Debug | Dev Mappings"- debug server- localhost
debug start- http//localhost/inetpub/wwwroot/folder/start1.cfm\
4. maps- server- localhost; sutdio- d:/prog files/allaire/coldfusion; server path- d;/cfserver\bin; browser path- localhost


when i click the triangle to debug- err 404-host not found

and the *&()*& thing wont work.... called allaire- they want 150 just to configure teh dam thing...

anybody have an answer or some valium?
0
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
LVL 4

Accepted Solution

by:
CF_Spike earned 50 total points
Comment Utility
<CF_Valium dose="200" units="mg">
The studio mapping should look something like this:

rds://localhost/f:\InetPub/wwwroot/

Because you are using RDS to open the file in Studio you need to specify that as the path to get to the file.

I think the settings you need are:

Studio Path:
rds://localhost/<DRIVE>:\InetPub/wwwroot/

Server Path:
<DRIVE>:\InetPub\wwwroot\

Test this by trying to browse a file from the rds connection in Studio before trying the development mapping.

When you are using the debugger your path should be:

http://localhost/folder/start1.cfm

NOT

http//localhost/inetpub/wwwroot/folder/start1.cfm\

The url is pretty much always wrong in the debug settings dialog box.

</CF_Valium>
0
 
LVL 4

Expert Comment

by:CF_Spike
Comment Utility
Doh,

This line:

Test this by trying to browse a file from the rds connection in Studio before trying the development
mapping.

should read:

Test this by trying to browse a file from the rds connection in Studio before trying the debugger.
0
 

Author Comment

by:owlsey
Comment Utility
great answer spike- but the cfValium tag didnt work at all... now if you could debug that; i would be impressed...
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now