Solved

debug mapping settings

Posted on 2001-06-08
6
174 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

717 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