?
Solved

debug mapping settings

Posted on 2001-06-08
6
Medium Priority
?
178 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
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 
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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
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 update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
Suggested Courses

850 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