Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to view templates in Netscape?

Status
Not open for further replies.

calista

Programmer
Joined
Jan 24, 2001
Messages
545
Location
US
This is probably a stupid question, but how do I view my CF templates in Netscape? I can't set it up in Studio, because according to the instructions, I have to edit the registery. In the first place, that scares me, and in the second place(and, more importantly!), that function has been disabled by our MIS dept. If I go to Windows Explorer and right click on the file and tell it to open with Netscape, I get an error:

"C:\Inetpub\ is not a valid Win32 application."

How do I see what I'm doing in Netscape? I don't get this error when I try to open with IE the same way.

Thanks! Calista :-X
Jedi Knight,
Champion of the Force
 
You're trying to run the template instead of trying to browse it. IE realises you are trying to browse it.

Open up netscape and enter the URL in the taskbar NOT the path name.
i.e.


NOT
c:\mydocuments\yourfile.cfm

Coldfusion must be running on the server that you're template is on.
 
You're right about CF being on the same server my template is on. This is all on my desktop. I have Studio and the single user CF server installed for development purposes. I tried the following, but I get the 404 error, Object Not Found.

and
I guess I could upload these to my production server in a separate directory, but I'd rather not do that.

Why does NS have to make everything so $&^)!@@#$ difficult?!! Calista :-X
Jedi Knight,
Champion of the Force
 
Calista...you mentioned..."This is all on my desktop."

By that do you mean the cfm files are are in the desktop of your machine? Because they need to be in your inetpub/ directory....?
 
No, my .cfm files are stored in the Inetpub/ directory just as I showed above. When I said it was on my desktop, what I meant was, I have CF Server and Studio running on my local machine. Calista :-X
Jedi Knight,
Champion of the Force
 
Well, I finally answered my own question. First of all, the correct path is:


Second, I noticed that when I have the file open in Studio, when I browse the file, there is a cf~ in front of the file name, like this:


So, I either have to put that in when I type in the Path, or close the file in Studio before browsing.

Thanks, everyone! Calista :-X
Jedi Knight,
Champion of the Force
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top