?
Solved

debug mapping settings

Posted on 2001-06-08
6
Medium Priority
?
177 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 SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 4

Accepted Solution

by:
CF_Spike earned 200 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

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
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…

649 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