How do you get your CF server to look for the database on the mirrored
server? Obviously the two servers cannot have the same IP or name since they
are on the same network.
Give them a subdomain name, then you don't have to do anything, just
update the DNS. That's what we do - the SQL
Hi guys im trying to create a system where the user has a list of products and
they also have the facility of adding a picture of the product to its details.
i have got everything working apart from the image upload section. my old
upload code requires the user to open a new window and then
On Monday 05 Nov 2007, Chad Gray wrote:
I have the book SQL Server 2005 Unleashed. It is saying you have three
servers. You Principal Server, Witness Server and Mirror Server. The
Witness server is what decides when to switch over to the Mirror Server.
And now the Witness server is just as
On Thursday 01 Nov 2007, Tom Chiverton wrote:
Is there a way in CF8 to restrict only certain IP address to connect to the
default ColdFusion remoting destination ?
No one ?
So the only think that stands betwen a live CF8 server without a public /CFIDE
mapping but with the default remoting
On Friday 02 Nov 2007, John Mason wrote:
Adobe is working on it, one project is called CoCoMo. There was some presos
on it at MAX this year.
I summarised the video, for those of you who can't watch these things here:
http://rachaelandtom.info/node/1491
--
Tom Chiverton
Helping to proactively
I have delegated read access to other peoples calendars in our
Outlook/Exchange system, and can view those other calendars in the Outlook
client.
I can read my own calendar fine using cfexchangecalendar.
How do I read another users calendar ?
I would have thought:
cfexchangeconnection
Hey All,
I have a question with regards to isolating CF instances. We have a
customer with two different projects that until recently used, without
problem, the same DLL for certain processing. The DLL version has now
increased and they are having issues with backwards compatibility so would
Hi Rick
An idea you might like to try is to wrap up your URL and FORM variables in
an 'Event' component and pass this event object to your controller.
For example, you could create a component called Event.cfc and init() it
with the url and form data. This event object has a function available
Hello, all,
I have this code snippet below which runs fine on my local workstation
(Windows XP, CF 8 IIS 5.1). When I throw it up on our dev server
(Windows 2k3, IIS 6, CF 7) I get an index out of bounds error on the
second IIF line below. I've looked at the docs and I don't see why
this code
Sometimes it pays to wait a little. I know for Part 1, I was able to buy it
used from Amazon and with shipping it still only cost me $20- less than half
price!
--Bob
I just got a notice from Amazon.com that Parts 2 and 3 of the CF8 WACK
are being delayed -
Part 2 is scheduled to arrive
Sometimes it pays to wait a little. I know for Part 1, I was able to buy it
used from Amazon and with shipping it still only cost me $20- less than half
price!
--Bob
~|
Create robust enterprise, web RIAs.
Upgrade to
Hi all
Any idea how I could identify if ColdFusion Server 8 being sold is Academic or
NFR version? I guess there would be a sticker on the box but if someone removed
that sticker is there something in the serial number stating that? I can't
install it before buying so any other ID method is
Hi guys im trying to create a system where the user has a list of
products and they also have the facility of adding a picture of the
product to its details. i have got everything working apart from the
image upload section. my old upload code requires the user to open a
new window and
cfset uploadFile(
IIF(Len(Trim(form.txtFileName)) GT 0,
Evaluate(DE(ListGetAt(form.txtFileName,
intCounter))), ), ...
Why are you using DE inside Evaluate? The point of the DE (Delay Evaluation)
function is to prevent the automatic evaluation that occurs within IIF.
Dave Watts, CTO, Fig
The part number or UPC number would be different. Also, the price
would be different. I think the lowest price commercial license would
be more expensive than the most expensive academic license. If the
price you see is unusually low, it is probably the academic version.
SKU: 38043755
UPC:
For anyone interested in ColdFusion Flex integration, Flex Camp Boston will
have both Tom Jordahl and Matt Woodward speaking on the topic in addition to a
number of Flex specific information. Here are the full details:
Flex Camp Boston is a full-day event featuring some top industry experts on
I'm curious...why do you want CF to read txt files?
andy
-Original Message-
From: Brian McCairn [mailto:[EMAIL PROTECTED]
Sent: Monday, November 05, 2007 5:34 PM
To: CF-Talk
Subject: Re: Reading .TXT files as CF files
Tried this with CF8, stopped and started the ColdFusion 8
With the separate instances, ColdFusion itself would operate within
their respective Virtual Machines, each with it's own memory allocation
independent of the other. That being said, the DLL is a Windows library,
operating within the OS memory space. I don't think it really can be
separated,
On Monday 05 Nov 2007, Toby King wrote:
I was wondering if
you really sent that 3 times, or if our Exchange server had fouled up again ?
--
Tom Chiverton
Helping to globally accelerate leading-edge meta-services
on: http://thefalken.livejournal.com
For anyone interested in ColdFusion Flex integration, Flex Camp Boston will
have both Tom Jordahl and Matt Woodward speaking on the topic in addition to a
number of Flex specific information. Here are the full details:
Flex Camp Boston is a full-day event featuring some top industry experts on
Kevan,
That's actually a really good idea. What I did was convert everything over
to session variables and I was able to get everything to work. I do think
session variables are inherently more secure so that's a benefit as well.
But what you have suggested is something I might consider if I
for me it was just a marketing idea thing, for instance pages on a fan site for
Liverpool Football club could have the file extension .lfc, or a Manchester
United site could have the file extension .rubbish
~|
ColdFusion 8 -
No, you're right about the all. I'm confusing the refind() and
rereplace() syntax.
But, yes. By using a regex in the condition, you are running it twice
per loop.
--Ben Doom
Bobby Hartsfield wrote:
The option is called 'returnsubexpressions' and valid values are true or
false. You can
We've got some really old CF code that was encrypted using the CFEncode
Template Encryption Utility years ago.
Is there a CFDecode utility was return the encrypted code to its
original state or is there no return?
Thanks,
Dave Bosky
I get the following error when trying to run one of Ben Forta's cfselect
binding examples:
Attribute validation error for the CFSELECT tag.
The value of the QUERY attribute is invalid. The 'Query' attribute must be
defined if the 'Value', 'Display', or 'Group' attributes are defined.
The
That's a fun idea. liek I said it was just curiousity...nothing more.
-Original Message-
From: Brian McCairn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 8:37 AM
To: CF-Talk
Subject: Re: Reading .TXT files as CF files
for me it was just a marketing idea thing, for
Hi Brian,
I copy and pasted your code just as you have it here and it worked without
error.
Just to confirm, you do have CF8 Installed right?
--
Gary Gilbert
http://www.garyrgilbert.com/blog
~|
Check out the new features
You can build your reports on windows, and then deploy them to your Linux cf
server
The Builder creates cfr that you can justs drop into your webroot or
wherever you cfm files are.
Thanks. So I can download the report builder component to my PC and start to
create cfr from there. Do I need to
Brian McCairn wrote:
Tried this with CF8, stopped and started the ColdFusion 8 Application service
but I'm getting:
Server Error
What is in your *-out.log? Does it work if you access the build in
webserver?
Jochem
~|
Hey folks,
A while back there was a discussion about a server-side app that works with CF
to secure non-CFM files, ie; doc, pdf, etc., into whatever auth scheme you're
using in your CF application.
For the life of me I can't remember the app, or find that thread. Can anyone
direct me in the
Hello Tom,
How about proxing requests through Apache and using the location directive
(Allow from) to lock it down.
Thanks,
Matt
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: 06 November 2007 09:32
To: CF-Talk
Subject: Re: Restricting access to the default
I'm not sure what you qualify for, but we received a two-pack of
Enterprise for about the cost of 1/2 a full, single Enterprise license.
We only really wanted one license, but talk about a nice surprise when
we found out it was a two-pack!
M!ke
-Original Message-
From: Mike Chabot
I'm curious...why do you want CF to read txt files?
Check robots that read robots.txt or not.
It would be much easier than collecting, reading and parsing IIS logs.
Unless someone has a better idea?
--
___
REUSE CODE! Use custom tags;
See
It works fine for me. You sure you are on CF8?
On Nov 6, 2007 9:03 AM, Brian McCairn [EMAIL PROTECTED] wrote:
I get the following error when trying to run one of Ben Forta's cfselect
binding examples:
Attribute validation error for the CFSELECT tag.
The value of the QUERY attribute is
Bosky, Dave wrote:
We've got some really old CF code that was encrypted using the CFEncode
Template Encryption Utility years ago.
Is there a CFDecode utility was return the encrypted code to its
original state or is there no return?
The utility exists. Depending on your jurisdiction, googling
The following process will let you access individual mailboxes rather
than every mailbox (explained briefly at the bottom).
In Active Directory Users and Computers, turn on the Advanced Features
view menu option.
Open an account.
Select the Exchange Advanced tab.
Click Mailbox Rights...
Add a
Hi Brian,
You can have CF process any file ending you want you just have to register
it in IIS (if you are using IIS) so that IIS passes the files ending with
the type you specify off to the CF server. On my server its
C:\ColdFusion8\runtime\lib\wsconfig\1\jrun.dll
Its in IIS under websites,
I have a CFC that both inserts a series of field variables and returns
the ID number that was just created. I am getting an error that states
the value returned from the insertProposal function is not of type
query. Here is the function:
cffunction name=insertProposal access=public
Ahh... I was REALLY hoping you were right about that. That would have been
great. In any event, I learned something new about refind() so thanks! I'll
always think of you and the time we shared in this thread when I use it.
hehe
As for running the regex twice... Since looping a space delimited
On Tuesday 06 Nov 2007, Bosky, Dave wrote:
Is there a CFDecode utility was return the encrypted code to its
original state or is there no return?
Google should turn up a free one.
--
Tom Chiverton
Helping to administratively envisioneer guinine information
on:
In web.xml map *.txt to the CfmServlet.
Ah ok, thanks, I will try.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
Does it take a query return? I thought it would work more like the
autosuggest, taking an array?
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
Brian McCairn wrote:
I get the following
Thanks. So I can download the report builder component to my
PC and start to create cfr from there. Do I need to install
anything on the server in order to use cfr file?
No, you're all set.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest
I'm curious...why do you want CF to read txt files?
Check robots that read robots.txt or not.
It would be much easier than collecting, reading and parsing IIS logs.
Unless someone has a better idea?
--
___
REUSE CODE! Use custom tags;
See
Thanks for letting us know that you solved your problem. However, it
would have been nice if you'd done it in the same thread (imho). I
just responded to the original thread not knowing that you'd already
solved your own issue. :o)
Chris
On Nov 6, 2007 11:29 AM, Bruce Sorge [EMAIL PROTECTED]
HI there
Everytime I go to click on RDS login in the Application window I get a message
stating:
The server name or address could not be resolved.
Possible reasons:
1. The URL specified for this site's testing server maybe incorrect:
http://localhost/mysite/
2. The testing server maybe
Back when I was doing Corporate Support with a regional ISP (4.5 days)
we used to do this with .inc files (which were included via cfinclude)
within a home rolled CMS. We also did it with an Article manager for an
online magazine using .art file extensions. We were on IIS at the time,
so it
You have specified the returnType as query, but you seem to be
returning only the ID. Change one or the other to make it happy.
On Nov 6, 2007 10:43 AM, Bruce Sorge [EMAIL PROTECTED] wrote:
I have a CFC that both inserts a series of field variables and returns
the ID number that was just
There were a few things wrong with this once I stepped away, had a cup of
coffee and looked at it again. This is what happens when you are knee deep
into your work and then you get called up by your unit and don't look at
code for over two weeks. LOL
So what I did was remove the returntype
You set return type to query, but you set propID to foo and returned
it. foo is a string.
On Nov 6, 2007 10:43 AM, Bruce Sorge [EMAIL PROTECTED] wrote:
I have a CFC that both inserts a series of field variables and returns
the ID number that was just created. I am getting an error that states
I'm not seeing where you are actually assigning the return from your SP
to propID. foo is not a query.
--Ben Doom
Bruce Sorge wrote:
I have a CFC that both inserts a series of field variables and returns
the ID number that was just created. I am getting an error that states
the value
I don't see any need to append anything to the names if they are separated
into different folders.
I also don't see a need to put widths and heights in the folder names
Say you had news images... you would just put them in a images/news
directory organized like you've said basically...
So it
Seems that in order to get a return value from a function, you need to
have a CFPROCRESULT in your CFSTOREDPROC tag. LOL. Also removed the
returntype variable from the function since I keep forgetting that it is
only needed when the function is used as a webservice.
Thanks,
Bruce
Good morning, all. (at least it's morning here on the east coast of the US.)
I'm still figuring out best practices for image management based on the new
image functions and tags available in CF 8.
I'd like some comment on what I'm considering, if anyone's willing.
So far, on a site that
yep, sorry, I still had Beta installed - upgraded to release and it's fine
~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Well the function indicates to return a query structure where you are
returning a single ID. Change the CFFUNCTION to return an integer
-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 11:44 AM
To: CF-Talk
Subject: CFC Not acting like I
It allows either. That was a late-Beta change (and a good one at that).
On Nov 6, 2007 10:23 AM, Cutter (CFRelated)
[EMAIL PROTECTED] wrote:
Does it take a query return? I thought it would work more like the
autosuggest, taking an array?
Steve Cutter Blades
Adobe Certified Professional
In the code you provided, you set propID as foo, perform the SP call, and
return propID unchanged. You can add an out parameter to the SP call,
something similar to the following:
cfprocparam dbvarname=@Return_ID variable=retVal cfsqltype=CF_SQL_INT
type=out
It seems to me from looking at the code that propID is just a string:
foo. That's not a query, and you have your return type set to
query. Change your return type to string or any and the error
will go away.
Chris
On Nov 6, 2007 10:43 AM, Bruce Sorge [EMAIL PROTECTED] wrote:
I have a CFC that
With recursive XML, you should think about using recursion!
Generally, this means a function that calls itself. Pass an xml object in
and create nodes up the tree, returning either a call further up the tree or
the XML element created in that node.
Hard to say exactly how without more info on
Thanks for the reply Cutter.
I am of the same mind as you but I am looking for definitive yes or no on
this one.
--
Gary Gilbert
http://www.garyrgilbert.com/blog
~|
Download the latest ColdFusion 8 utilities including Report
Hey folks,
A while back there was a discussion about a server-side app that works
with CF to secure non-CFM files, ie; doc, pdf, etc., into whatever
auth scheme you're using in your CF application.
For the life of me I can't remember the app, or find that thread. Can
anyone direct me
Hi,
we are trying to build an xml document that will be used to build a tree (like
the explorer tree in windows). it could be an infinite number of rows deep and
we are trying to build it recursively through code from data out of a database.
the problem we are having is trying to uniquely
That's a very good point, Dave... thanks.
Rick
-Original Message-
From: Dave Francis [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 1:27 PM
To: CF-Talk
Subject: RE: Image Management
I think it would be easier, esp. in terms of deleting, to use the 3 folders
but just
I think it would be easier, esp. in terms of deleting, to use the 3 folders
but just stick with the one actual filename for all versions of the image.
That way you won't have to worry about mismatches with partial filenames
(photo_01 and photo_011 for instance)
-Original Message-
From:
Can you use a firewall rule in a hardware firewall? That would be my
first thought.
You can code an IP address restriction on the ColdFusion server using
a few lines of code. Just check the cgi variable against an accepted
list.
You could embed an encrypted token in all client-server requests.
Not sure I would try it with a standard file type like .txt or .ini
though. That could create some confusion...
The only confusion could be when a .txt file contains CF tags that
should not be executed,
very unlikely.
Otherwise, the txt file will be just passed to the client transparently.
--
Cutter (CFRelated) wrote:
Back when I was doing Corporate Support with a regional ISP (4.5 days)
we used to do this with .inc files (which were included via cfinclude)
within a home rolled CMS. We also did it with an Article manager for an
online magazine using .art file extensions. We were
Since we're on this topic
I usually manage images on disk in a similar fashion. I've recently begun
working on a new project, and all binary content in stored in the DB
(images, music, etc.). My gut reaction is that this would add overhead, a
dependency on the database, network traffic, etc.
You're trying to return propID, but you don't reference it anywhere in
your Stored Procedure. The only time you reference it is with cfset
propID=foo. This is just setting a variable, it's not a query, which
is what your function is expecting as a return type.
Thanks,
Eric
Bruce Sorge
Here's what I usually do:
cfscript
loc = refind(text, thing, 1, 1);
while (loc.pos[1])
{
//do stuff
loc = refind(text, thing, 1, loc.pos[1]+loc.len[1]);
}
/cfscript
It's 1 extra line of code, but it means only doing n+1
propID is 'foo' which is not a valid query type. Change returntype=query
to returntype=string just to make it work as is. You will of course want
to change propID from 'foo' to your new ID and change the returntype to the
correct datatype for propID.
Thanks for the feedback, Bobby.
Rick
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 06, 2007 12:46 PM
To: CF-Talk
Subject: RE: Image Management
I don't see any need to append anything to the names if they are separated
into different
In the area where you can select a website to work on I inadvertently
select a root that doesn't exist anymore. Because of it Dreamweaver will
not open. Is there a way to release the selection through the program
files?
Steve LaBadie, Web Manager
East Stroudsburg University
200 Prospect St.
as far as i can tell there is no file you can edit which will remove
this. does dreamweaver crash completely or does it just hang? most
times when this occurs it will eventually popup and ask you to pick a
new root.
jonese
On 11/6/07, Steve LaBadie [EMAIL PROTECTED] wrote:
In the area where you
Just wondering if anyone else has experienced this problem.
I have contacted Adobe but with no answer yet.
Regards
HI there
Everytime I go to click on RDS login in the Application window I get a
message stating:
The server name or address could not be resolved.
Possible reasons:
Hi Nathan, thanks for the reply. yes i also agree that the standard used
(row,cell) is not a good one but we are creating it to load into a dhtml grid
component bought from a company and that is the standard we have to adopt in
order to import it into the grid.
Thanks for your help, do you
Nowadays it is a 2 step process. Not only do you have to tell IIS to
send it to JRun, you also have to tell JRun to send it to the CfmServlet
(or the FileServlet, or ...). That is why you need the aditional mapping
in web.xml.
IMHO, this is what is going wrong with CF since CFMX.
I mean, the
I don't know if this helps you, but I did a little work with XML and
directory structures a while back:
http://www.bennadel.com/blog/503-Creating-An-XML-Representation-Of-A-Dir
ectory-And-Sub-Directories-Using-ColdFusion.htm
Or: http://www.bennadel.com/index.cfm?dax=blog:503.view
It didn't have
hi guys,
i am using the CFFormProtect cfc to protect one of my client sites from
spambots posting to their article comments field. it is working brilliantly -
not one dodgy comment has got through.
my concern at the moment however is that the site is being bombarded by spam
attempts at the
hi ben thanks very much for the links, i will check them out
thanks again
~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
hi nathan, hmmm i have just briefly looked into wddx and it looks like it can
be very useful for alot of things.
e.g. currently i have data stored in session structures and in order for
javascript to use it i have to convert the structures into 1 dimensional cf
arrays then in javascript
Where did you buy from? CF8 Enterprise is expensive, even the academic
version. A 50% discount would be the best discount I have seen.
-Mike Chabot
On Nov 6, 2007 10:48 AM, Dawson, Michael [EMAIL PROTECTED] wrote:
I'm not sure what you qualify for, but we received a two-pack of
Enterprise for
'To block or not to block by Ip address...'
this is a tough question to deal with, since it involves such drastic
measures. I always try to exhaust all of my other alternatives before
using the IP address.
One of the issues with them is their finite limited numbers. Because
of this, some
Hi there
Thanks for the reply
I am running CF v8. I'm running Apache on the server (this is only a
development machine).
The problem has only strtaed since I was playing with CF Reporting Tool. Prior
to this everything was working properly.
I'm not in front of the machine in question at
You should be able to specify which version of the DLL you want to use when
you use createObject (assuming they are both registered). You can do this in
the same instance of CF:
http://livedocs.adobe.com/coldfusion/7/htmldocs/1574.htm
Adam Haskell
http://cfrant.blogspot.com
On 11/6/07, gary
It just hangs and says Dreamwweaver is not responding
From: jonese [mailto:[EMAIL PROTECTED]
Sent: Tue 11/6/2007 5:37 PM
To: CF-Talk
Subject: Re: OT: Dreamweaver Help
as far as i can tell there is no file you can edit which will remove
this. does dreamweaver
Is your local CF install running on port 80, as the error suggests DW
is expecting, or on port 8500?
On Nov 7, 2007 3:08 AM, Toby King [EMAIL PROTECTED] wrote:
HI there
Everytime I go to click on RDS login in the Application window I get a
message stating:
The server name or address could
I tried to. I went to the HOF site to reply directly to the thread, forgot
my password, did the email me my password thingy, and five hours later I was
emailed my password. So since I had no idea how long it was going to take to
get my password emailed to me (I did give it a few minutes), I
It gets a bit tricky sometimes. Make sure the default location of your local
website is set to the default location of your site and it should work.
I normally go into IIS and change my default Home Folder to point to the
base of the site I have open in Dreamweaver. Really, you should be pointing
thanks william for that. i definitely do not want to block 'groups' of users if
they are indeed valid.
as mentioned the blocker in it's current state is working perfectly. i wonder
if i am not trying to complicate things??
just frustrated as the the exponential increase in spam attempts as the
First, try to re-create the directory that no longer exists.
If that doesn't work, then dig into the registry. Look under:
HKEY_CURRENT_USER\Software\Adobe\Common\9\Sites
You could try to remove the offending site's registry key, but it may be
better to modify the registry entries that point
I have a smell web message forum that I wrote several years ago that I'm
expanding. It needs a good search feature, for users to search posts. I've
tried using SQL to do this, and it tends to be too much for the server, and I'm
trying to now create a search tool using Verity.
I've created
I forgot to mention that we receive the academic discounts. Also, we
are a tier-2 customer of Adobe Volume Licensing. (I think that is the
terminology.) Our university buys a boat-load of Adobe software and we
get points for doing so. Once we have gained so many points, we move up
a tier.
The
I have a smell web message forum that I wrote several years ago that I'm
expanding. It needs a good search feature, for users to search posts. I've
tried using SQL to do this, and it tends to be too much for the server, and I'm
trying to now create a search tool using Verity.
I've created
Yeah, I thought about that. Problem is some of the video files are massive, and
I don't want to tie up a CF process for that long. If I remember correctly,
this server app does a quick check based on my own auth sceme and then hands
the process off to IIS.
Mik
At 02:14 PM 11/6/2007, Larry
96 matches
Mail list logo