Solved

debug mapping settings

Posted on 2001-06-08
6
170 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
ID: 6168737
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
ID: 6168793
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
ID: 6169022
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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 4

Accepted Solution

by:
CF_Spike earned 50 total points
ID: 6169060
<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
ID: 6169068
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
ID: 6191143
great answer spike- but the cfValium tag didnt work at all... now if you could debug that; i would be impressed...
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need to redirect request from IIS server to old Apache Server. 3 144
New OSQA server has a ton of fake users 4 71
Nameserver and MX Record 2 77
cookies analysis tools 2 100
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. 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 :…
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…

856 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