[ACFUG Discuss] CF 8 RDS help needed

2008-05-13 Thread Fox, Andrew J
Help!  I'm transferring this question thread from the Flex discussion
group over here. Trying to get CF8 RDS to let me in.

 

Any help is appreciated!

 

Thanks,

 

Andy

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cameron
Childress
Sent: Tuesday, May 13, 2008 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: [AFFUG Discuss] Flex 3 - CF 8 path help

 

You might try connecting to that machine's RDS by IP.  At this point you
might also post this question on the ACFUG (http://www.acfug.org) list for
more help from the rest of the ACFUG group.  Alot of those people are on
this list too, but you'll probably get help from more people than just me
on that email list.

-Cameron

On Tue, May 13, 2008 at 2:39 PM, Fox, Andrew J [EMAIL PROTECTED]
wrote:

Alas, the RDS sections already exist in the xml file and are not commented
out :-( 

 

I was able to add our CF7 development box to the RDS server list and it
comes up fine.  I just re-read my original post and saw what might be a
significant typo. Flex Builder throws back a Cannot contact the RDS
server 'petra'.  

 

Andy

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cameron
Childress
Sent: Tuesday, May 13, 2008 2:04 PM


To: [EMAIL PROTECTED]
Subject: Re: [AFFUG Discuss] Flex 3 - CF 8 path help

 

Heh - whoops, I love it when this happens.  I did a quick google and found
a blog post about what looks to be your exact problem.  Um... written
by... me... two years ago.  I just forgot about it, or I would have
pointed you to it sooner.  Check it out and see if it helps...

http://tinyurl.com/642ow4

-Cameron

On Tue, May 13, 2008 at 1:53 PM, Fox, Andrew J [EMAIL PROTECTED]
wrote:

This is our development box so we did request RDS be set up.  I do see the
RDS section under Security and have re-entered the password just to make
sure.  It says Server has been updated successfully after I submit the
change, so I guess it IS installed.  Is there another place I should look
to make sure?

 

Andy

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cameron
Childress
Sent: Tuesday, May 13, 2008 1:48 PM


To: [EMAIL PROTECTED]
Subject: Re: [AFFUG Discuss] Flex 3 - CF 8 path help

 

Well, unless there is a good reason to have RDS running, I would hope that
the sysAdmin who set it up actually didn't install RDS at all.  Did you
setup this box? Are you sure RDS is actually active?  You should be able
to tell by looking in the administrator under security.

-Cameron

On Tue, May 13, 2008 at 1:40 PM, Fox, Andrew J [EMAIL PROTECTED]
wrote:

Thanks for the warning Cameron!

 

I've backtracked a bit and discovered my Flex Builder 3 isn't able to
connect to CF8 RDS (neither is my Dreamweaver CS3).  I can access the CF
administrator pages from my PC so I don't think it's a firewall issue.
Anyone else had issues getting set up using CF8 on a solaris platform?
This should be easy!

 

Thanks,

 

Andy

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cameron
Childress
Sent: Tuesday, May 13, 2008 10:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [AFFUG Discuss] Flex 3 - CF 8 path help

 

I've never used the import wizard, but I assume you are importing it as a
CF based Flex project?  If so you might try importing it as a regular
project and just configuring that stuff later.  When I first started using
FlexBuilder 2 I had a ton of problems getting CF typed projects to setup
properly, so I just started setting them up as generic Flex projects and
configured the CF stuff later.  Much, much easier.

Also, as a side note, the abbreviation FB3 also has meaning in the
ColdFusion world as the framework FuseBox 3.  FB3 may be a common
abbreviation for FlexBuilder too, but be aware of that when you are
posting questions about CF and Flex in the same posting.  I did a double
take when I first read your email.  :)

-Cameron

On Tue, May 13, 2008 at 8:07 AM, Fox, Andrew J [EMAIL PROTECTED]
wrote:

I've got an application that was written in FB2 with CF7 that I'm trying
to move to another server running CF8 and I'm now using FB3.  I exported
the app to a Flex Project Archive and am trying to import to a new project
in FB3.  My problem is that the import wizard is asking me to update the
path variables for CF_FLEX_SERVER_ROOT but doesn't like my answer.  I've
tried both the mapped path as well as the full unix path and neither is
accepted.  

 

\u1\cfmx8\wwwroot\WEB-INF\flex and everything back to just \u1\cfmx8

 

Also 

 

s:/cfmx8/wwwroot/WEB-INF/flex 

 

Any tips on what exactly it's asking for?  I tried searching the
documentation and Google for CF_FLEX_SERVER_ROOT but got nothing.

 


-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell: 678.637.5072
aim: cameroncf
email: [EMAIL PROTECTED] 

- 
To unsubscribe from this list, simply email the list with unsubscribe in
the subject line 

For more info, see 

Re: re[4]: [ACFUG Discuss] showing image from network share..how to?

2008-05-13 Thread Ajas Mohammed
Hi,

Sorry for the delay in my response. I was busy fixing things.

Mischa -- thanks for the browse suggestion in IIS. I kind of used that to
solve this problem. The admin had just entered username for the virtual
directory in connect as dialog box. So I entered the password as well and it
works fine now.

Finally, about my original solution not working for you Mischa, I am using
the same FF version 2.0.0.14 and it worked. The solution which worked for me
is the one where I use img src = img2.cfm code. Let me know if you still
have problems in FF.

Douglas thanks for the suggestion. I didnt check it but a very good point to
remember about IIS should run under a domain acccount.

*Acccepted Solutions  Important Points to remember:*

1. instead of cfincluding the img.cfm, do a

cfif fileExists(theFile)
img src=...*img2.cfm*
/cfif

2. Use browse feature in IIS to see if you can view the file/image to narrow
out CF/Browser issue.

3. IIS should run under a domain acccount

4. Use CFContent  cfcontent type=image/GIF file=
\\servername\nameofshare\clientname\CF_Chart_Share\testimage.jpg

Thank you everyone.

Ajas.



On 5/12/08, Douglas Knudsen [EMAIL PROTECTED] wrote:

 yeah, to point IIS to a share, IIS needs to run under a domain account
 that has access to the share.

 DK

 On Mon, May 12, 2008 at 6:02 PM, Mischa Uppelschoten ext 10 
 [EMAIL PROTECTED] wrote:

 
  :  browse. The browser window opened and i got page cannot be displayed
  screen
  :
  : There is a problem with the page you are looking for, and it cannot be
  :  displayed.
  :
  : Please try the following: * Contact the Web site administrator to
  inform them
  :  that this error has occured for this URL address.  HTTP Error 500 -
  Internal
  :  server error.
  : Internet Information Services (IIS)
  : what could be wrong
 
  :
 
  Either:
  - allow Everyone to browse that share
  - Run IIS under a domain account
 
  or more exotic solutions like replicating your files to the webserver,
  setting up a webserver on the box that hosts the image files, using CFFILE
  to have the CF server read it etc.
 
  BTW, I duplicated your starting situation (use IMG tag to pull in
  image file from share) and interestingly enough, that does not work with
  Firefox (2.0.0.14), but it does work with IE 6 (SP2). FF simply does not
  show the image, but it is available allright through Tools - Page Info -
  Media...
  - To
  unsubscribe from this list, manage your profile @
  http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserformFor
   more info, see
  http://www.acfug.org/mailinglists Archive @
  http://www.mail-archive.com/discussion%40acfug.org/ List hosted by
  http://www.fusionlink.com-




 --
 Douglas Knudsen
 http://www.cubicleman.com
 this is my signature, like it?
 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserformhttp://www.acfug.org/?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink http://www.fusionlink.com/
 -




-- 
Ajas Mohammed /
http://ajashadi.blogspot.com
No matter what, find a way. Because thats what winners do.
You can't improve what you don't measure.
Quality is never an accident; it is always the result of high intention,
sincere effort, intelligent direction and skillful execution; it represents
the wise choice of many alternatives.
Live as if you were to die tomorrow. Learn as if you were to live forever.



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



re: [ACFUG Discuss] CF 8 RDS help needed

2008-05-13 Thread Mischa Uppelschoten ext 10



: Help! I'm transferring this
 question thread from the Flex discussion
 group: over here Trying to get
 CF8 RDS to let me in. 
CF8 setup on Windows is not smooth,
 RDS does not seem to be installed properly
 at all. Have you checked like Cameron suggested
 that ide.cfm exists? It didn't for me, and
 manually creating it solved the problem.



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-





Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?

2008-05-13 Thread Peyton Todd
After a delay, I finally got back to my client's server to try your 
suggestions, and they worked perfectly. Security was the whole problem, and it 
was solved simply by going to Control Panel  Admin Tools  Services and giving 
Cold Fusion an id with privileges to the shared network discs I wanted to 
connect to. It turned out that my website's much earlier problem of not being 
able to read FoxPro data via ODBC (circumvented by making nightly copies of the 
relevant data to a directory I could reach) was solved in the same way: once 
ColdFusion had an id with the correct privileges, it could get to the FoxPro 
data with no problem.

Interestingly, in both cases the error message I had received was 'File not 
found'. Could that be somebody's idea of an extra layer of security? To confuse 
people about what the real problem is?

Many thanks to all!

Peyton

-Original Message-
From: Mike Staver [EMAIL PROTECTED]
Sent: Apr 25, 2008 1:55 AM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?

Good point Shawn.  I suppose as long as you have the proper security in 
the first place, it isn't much of an issue.

shawn gorrell wrote:
 Mike,
 
 There are usage scenarios when you might want to serve content from 
 outside of the webroot. For example, let's say you have an application 
 that serves PDF files, but you want to ensure that only authenticated 
 users can get at the file. If you put it in a /pdf directory under the 
 webroot and then provide a link to it directly, then someone can copy 
 that link and send to another user who can get it without authentication 
 (assuming you aren't using integrated authentication). For times like 
 that, I'll put a directory outside of the webroot and have CF present it 
 via CFCONTENT (file.cfm?fn=mypdf.pdf). That makes CF the intermediary so 
 that you can ensure only authenticated users get it.
 
 - Original Message 
 From: Mike Staver [EMAIL PROTECTED]
 To: discussion@acfug.org
 Sent: Thursday, April 24, 2008 4:18:46 PM
 Subject: Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?
 
 In windows land, you access network shares like so:
 
 \\servername\sharename
 
 Or in dos with the \'s as well, like cd C:\
 
 I can't remember what CF will do that off the top of my head.  Working
 with file systems in linux, it's a forward slash.  Web URL's are also
 forward slashes.  So, I would think if I was on a windows box working with
 the file system, such as with cffile, I would use the native OS
 preference.  If I was doing something with cflocation or cfcontent, I
 would use forward slashes since it will be displayed through a web
 browser.
 
 I think as others have said though, you can serve up content from outside
 the wwwroot directory - but it's my personal preference not to just based
 on a security stand point.  I get a warm fuzzy feeling knowing that any
 content being served up is coming from inside the web directory and
 nowhere else, but it's a personal preference.
 
   Thanks Mike, I'll try that next time I'm at the client's place of
   business, after making sure I can get it working localhost. I do have a
   question about it though: I'm never clear when to use forward slashes vs.
   backslashes, but I do know that in writing web apps I've had much better
   luck with forward slashes. So by \\servername\sharename did you mean
   //servername/sharename?
 
 
 
 -
 Annual Sponsor FigLeaf Software - http://www.figleaf.com
 
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform
 
 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by http://www.fusionlink.com
 -
 
 
 
 
 
 -
 Annual Sponsor - Figleaf Software http://www.figleaf.com
 
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform
 
 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink http://www.fusionlink.com
 -

-- 

 -Mike Staver
  [EMAIL PROTECTED]



-
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-






-
To unsubscribe from this list, 

Re: re[4]: [ACFUG Discuss] showing image from network share..how to?

2008-05-13 Thread Howard Fore
On Tue, May 13, 2008 at 4:15 PM, Ajas Mohammed [EMAIL PROTECTED] wrote:

 1. instead of cfincluding the img.cfm, do a
 cfif fileExists(theFile)
 img src=...*img2.cfm*
 /cfif


What does img2.cfm do? Does it return/output the  web  accessible path to
the image file?

4. Use CFContent  cfcontent type=image/GIF file=
 \\servername\nameofshare\clientname\CF_Chart_Share\testimage.jpg


In your production code are you matching the type attribute to the actual
file type? In your example here you are telling the browser that the file it
is about to receive is a GIF but then you actually give it a JPEG. As the
configuration of what this affects is in the browser you can't actually know
if it will matter or not but I think it would be better to err on the side
of caution.


-- 
Howard Fore, [EMAIL PROTECTED]
The universe tends toward maximum irony. Don't push it. - Jeff Atwood



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-



Re: re[4]: [ACFUG Discuss] showing image from network share..how to?

2008-05-13 Thread Ajas Mohammed
Hi,

img2.cfm has this code below, thats all...

cfcontent type=image/GIF file=
\\servername\nameofshare\clientname\CF_Chart_Share\testimage.jpg

Thanks for Gif vs jpg catch... I didnt notice that. I have type set as gif
and image being shown is jpeg in production and it works in both firefox and
IE. I will change it now that I know.

Thanks,

Ajas.


On Tue, May 13, 2008 at 9:44 PM, Howard Fore [EMAIL PROTECTED] wrote:

 On Tue, May 13, 2008 at 4:15 PM, Ajas Mohammed [EMAIL PROTECTED] wrote:

  1. instead of cfincluding the img.cfm, do a
  cfif fileExists(theFile)
  img src=...*img2.cfm*
  /cfif
 

 What does img2.cfm do? Does it return/output the  web  accessible path to
 the image file?

 4. Use CFContent  cfcontent type=image/GIF file=
  \\servername\nameofshare\clientname\CF_Chart_Share\testimage.jpg
 

 In your production code are you matching the type attribute to the actual
 file type? In your example here you are telling the browser that the file it
 is about to receive is a GIF but then you actually give it a JPEG. As the
 configuration of what this affects is in the browser you can't actually know
 if it will matter or not but I think it would be better to err on the side
 of caution.


 --
 Howard Fore, [EMAIL PROTECTED]
 The universe tends toward maximum irony. Don't push it. - Jeff Atwood
 -
 To unsubscribe from this list, manage your profile @
 http://www.acfug.org?fa=login.edituserform

 For more info, see http://www.acfug.org/mailinglists
 Archive @ http://www.mail-archive.com/discussion%40acfug.org/
 List hosted by FusionLink http://www.fusionlink.com
 -




-- 
Ajas Mohammed /
http://ajashadi.blogspot.com
No matter what, find a way. Because thats what winners do.
You can't improve what you don't measure.
Quality is never an accident; it is always the result of high intention,
sincere effort, intelligent direction and skillful execution; it represents
the wise choice of many alternatives.
Live as if you were to die tomorrow. Learn as if you were to live forever.



-
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-