Re: Multiple Row Insert Into SQL from another database

2005-11-18 Thread Barney Boisvert
Check if SQL Server has an INSERT OR IGNORE or an INSERT ... ON
DUPLICATE KEY UPDATE statement.  If present, the former will insert
all the rows except those that have a primary or unique key conflict. 
The latter would do the same thing, except it allows you to specify an
UPDATE statement for those conflicting rows, rather that just ignoring
them.  There's also an INSERT OR REPLACE, which would insert missing
rows, and delete and resinsert conflicting rows.  Might be workable,
but will cause hella issues if you've got foreign keys with CASCADE
DELETE on them.

If you don't have any of those available to you, you could use your
existing CSV file, and just load it into a temporary table.  Then you
can do a INSERT INTO ... SELECT ... WHERE NOT EXISTS style query to
pull in the new stuff, and some other mumbo-jumbo to update existing
rows.

cheers,
barneyb

On 11/18/05, Michael Grove <[EMAIL PROTECTED]> wrote:
> I need to insert multiple rows into a SQL database from an Access Database. 
> Basically I have an ecommerce site with a bunch of products in it. We would 
> like to use these products in another application. I am going to run the 
> update nightly. After the first update the system will need to check and see 
> if the product id from ecommerce site exists in the products table of the 
> other system. If so it needs to skip it, if not it needs to add it.
>
> I seen somthing about a INSERT SELECT statment, but do not know if it is 
> possible to use this since I am in two different databases and two different 
> Data Sources.
>
> I think I can write a loop and if statment but thing that with the number of 
> products, we have it may bog the system down. Currently we only have about 
> 800 but this will triple in a few months.
>
> My other option is that I can and already am doing a CSV export, but how do I 
> import this and how do I prevent duplicates?
>
> any help would be much appreciated.
>
--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224711
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Multiple Row Insert Into SQL from another database

2005-11-18 Thread Michael Grove
I need to insert multiple rows into a SQL database from an Access Database. 
Basically I have an ecommerce site with a bunch of products in it. We would 
like to use these products in another application. I am going to run the update 
nightly. After the first update the system will need to check and see if the 
product id from ecommerce site exists in the products table of the other 
system. If so it needs to skip it, if not it needs to add it.

I seen somthing about a INSERT SELECT statment, but do not know if it is 
possible to use this since I am in two different databases and two different 
Data Sources.

I think I can write a loop and if statment but thing that with the number of 
products, we have it may bog the system down. Currently we only have about 800 
but this will triple in a few months.

My other option is that I can and already am doing a CSV export, but how do I 
import this and how do I prevent duplicates?

any help would be much appreciated.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224710
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Open Source Shopping Cart Coding Guidelines

2005-11-18 Thread Sean Corfield
On 11/18/05, Andy <[EMAIL PROTECTED]> wrote:
> Are you going to get a chance to take a first cut at this?  If not, can you
> point me to someplace that I can use to do so?

http://livedocs.macromedia.com/wtg/public/
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224709
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Open Source Shopping Cart Coding Guidelines

2005-11-18 Thread Andy
Cutter,
Are you going to get a chance to take a first cut at this?  If not, can you
point me to someplace that I can use to do so?

Andy




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224708
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFUnit ... Getting started

2005-11-18 Thread Sean Corfield
On 11/18/05, Jeff D. Chastain <[EMAIL PROTECTED]> wrote:
> So, I go to write a unit test around a simple bean object.  First test, 
> setName(name)  Okay, obviously I need to pass in a string to this method, 
> but as it is a setter, it does not return anything.  So, what am I really 
> testing here ... that the method does not blow up, or how would I really test 
> that it is doing what it is supposed to?  Do I actually test the setName 
> function by calling getName afterwards (in the same test function) and then 
> comparing the expected result?

You have (at least) two possibilities:

1. write the test method to call setName(someValue) and then:

  assertEquals(expected=someValue,actual=obj.getName());

This tests that the set/get pair work as expected.

2. write a CFC to extend the one under test and add a getVariables()
method then:

  obj = createObject("component","extendedCFC");
  obj.setName(someValue);
  assertEquals(expected=someValue,actual=obj.getVariables().name);

This tests that set actually sets variables.name correctly - but
exposes implementation details.

It's a tradeoff (not surprisingly) since you can test more atomic
things if you use more knowledge of the implementation - which couples
your test code to your implementation more closely (not a good thing
in general).
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224707
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Dave Watts
> CNAME records make it possible to introduce recursion errors.
> The extra lookup is definitely an issue for small data centers 
> trying to maximize bandwidth and resources. And from a management
> standpoint it seems easier to work with 1 less kind of record.

At this point, we're quibbling about something pretty small, but I can only
say that none of these things have been problems for me or my clients, while
I have seen problems using multiple A records pointing to the same IP
address. I don't see how working with one less DNS record type makes any
difference, since you still have to know SOA, MX, etc. My preference for
using CNAME records for aliases is simply that this is what they're intended
for, and as a result they provide (slightly) useful information that
multiple A records don't provide.

And as for the difference in traffic, I don't think there are more requests
and responses when you get back a CNAME that's pointing to an A record - you
simply get both answers in a single response. At least, that's what nslookup
tells me. Here are some sample grabs from nslookup (I changed the names of
the servers to protect the innocent - that's why the length of the first
request is shorter, even though the server name is longer):

> test_cname.figleaf.com.
Server:  ns.figleaf.com
Address:  xxx.xxx.xxx.xxx


SendRequest(), len 33
HEADER:
opcode = QUERY, id = 4, rcode = NOERROR
header flags:  query, want recursion
questions = 1,  answers = 0,  authority records = 0,  additional = 0

QUESTIONS:
test_cname.figleaf.com, type = A, class = IN



Got answer (72 bytes):
HEADER:
opcode = QUERY, id = 4, rcode = NOERROR
header flags:  response, auth. answer, want recursion, recursion
avail.
questions = 1,  answers = 2,  authority records = 0,  additional = 0

QUESTIONS:
test_cname.figleaf.com, type = A, class = IN
ANSWERS:
->  test_cname.figleaf.com
type = CNAME, class = IN, dlen = 11
canonical name = test_a.figleaf.com
ttl = 3600 (1 hour)
->  test_a.figleaf.com
type = A, class = IN, dlen = 4
internet address = xxx.xxx.xxx.xxx
ttl = 3600 (1 hour)


Name:test_a.figleaf.com
Address:  xxx.xxx.xxx.xxx
Aliases:  test_cname.figleaf.com

> test_a.figleaf.com.
Server:  ns.figleaf.com
Address:  xxx.xxx.xxx.xxx


SendRequest(), len 38
HEADER:
opcode = QUERY, id = 5, rcode = NOERROR
header flags:  query, want recursion
questions = 1,  answers = 0,  authority records = 0,  additional = 0

QUESTIONS:
test_a.figleaf.com, type = A, class = IN



Got answer (54 bytes):
HEADER:
opcode = QUERY, id = 5, rcode = NOERROR
header flags:  response, auth. answer, want recursion, recursion
avail.
questions = 1,  answers = 1,  authority records = 0,  additional = 0

QUESTIONS:
test_a.figleaf.com, type = A, class = IN
ANSWERS:
->  test_a.figleaf.com
type = A, class = IN, dlen = 4
internet address = xxx.xxx.xxx.xxx
ttl = 3600 (1 hour)


Name:test_a.figleaf.com
Address:  xxx.xxx.xxx.xxx

You notice the difference? Eighteen bytes. That's it. The answer in either
case was small enough to fit within a UDP packet. That's hardly a big amount
of traffic, and you'd be better served in most cases just increasing the TTL
values so your DNS server is queried less frequently - the DNS server above
is an internal server, so it's not a big deal.

I'm not saying you're wrong to recommend using A records instead of CNAME
records, just that we seem to value different results in this case.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224706
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CFUnit ... Getting started

2005-11-18 Thread Jeff D . Chastain

I downloaded and have been playing with CFUnit as unit tests have always been 
one of those things I should do but never got around to.  I read through the 
primer document and it looks simple and straight-forward ... of course, so is 
the example.   Basic examples are nice, but sometimes they are too basic. 

So, I go to write a unit test around a simple bean object.  First test, 
setName(name)  Okay, obviously I need to pass in a string to this method, 
but as it is a setter, it does not return anything.  So, what am I really 
testing here ... that the method does not blow up, or how would I really test 
that it is doing what it is supposed to?  Do I actually test the setName 
function by calling getName afterwards (in the same test function) and then 
comparing the expected result?

Any expert advice out there?

Thanks
-- Jeff 



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224705
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: moving to cfeclipse... troubles

2005-11-18 Thread Sean Corfield
On 11/18/05, Munson, Jacob <[EMAIL PROTECTED]> wrote:
> > The major thing I noticed was now extended find/replace. It is the
> > main reason I use homesite and really hope you can do something very
> > similar in eclipse. Any suggestions?
> I miss the same thing from Homesite.  I haven't found anything as
> powerful as HomeSite's find/replace in Eclipse.  But you might ask your
> questions on the CFEclipse mailing list at http://cfeclipse.tigris.org/
> if you don't get your answer here.  There are a lot of really smart CFE
> users over there (including the CFE developers).

Please post comments about find & replace on this blog entry:

http://corfield.org/blog/index.cfm/do/blog.entry/entry/CFEclipse__Find__Replace
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224704
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: moving to cfeclipse... troubles

2005-11-18 Thread Nathan Strutz
Hey sorry I didn't see this thread earlier.

Anthony, CFEclipse has it built-in to create a closing tag when you
write an opening one. It also generally knows what tags can have a
closing /> and which ones it doesn't make sense to () Another
partial replacement for this is the snippets in CFEclipse. I don't
know if you can get "<" to be a trigger, but you can try it. When you
make a new snippet, you can give it a shortcut, for instance, one of
mine:

type qp then hit ctrl+shift+. (period). Here's the code I use:

Opening:


This pops up a dialog that asks you what datatype you want, hit ok and
it will place you where you need to type the value. There are some
very cool things you can do with this.

For the extended find & replace replacement, I think it's a little
better, at least for the true regular expression support. Here's how
you use it. Select a folder in your project, then click the yellow
flashlight on your toolbar. Type your search text and verify your file
name patters are what you want, choose where you want to search (I
almost always use "selected resources", which is the folder you
selected in the Navigator view), then click search or replace. The
replace is a little odd in that it runs a search first, then allows
you to replace when it finds everything. Your results will begin to
appear in the Search view (you may have to click 'run in background').
In this view, I've found it helps immensely to hit the down arrow and
use the "Flat Layout," which is more similar to homesite's veiw. Play
with it, you'll get used to it and like it. Maybe not necessarily much
better, but you will like it.

-nathan strutz
http://www.dopefly.com/


On 11/18/05, Anthony Prato <[EMAIL PROTECTED]> wrote:
> I've been making my move to cfeclipse from homesite and I'm happy so
> far. There are two major things I always use that I can't find in
> eclipse.
> The first it the CTRL+< and CTRL+> shortcuts to make <> and 
> respectively. I'm guessing I could setup a snippet for this...
>
> The major thing I noticed was now extended find/replace. It is the
> main reason I use homesite and really hope you can do something very
> similar in eclipse. Any suggestions?
>
> Anthony
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224703
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Mark A Kruger
Dave,

CNAME records make it possible to introduce recursion errors. The extra
lookup is definitely an issue for small data centers trying to maximize
bandwidth and resources. And from a management standpoint it seems easier to
work with 1 less kind of record.

-Mark


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, November 18, 2005 1:46 PM
To: CF-Talk
Subject: RE: Multiple sites in IIS - Modifying DNS


> You CAN alias records within the same zone, but it's
> generally not a good idea because of the extra DNS
> lookups required to resolve them. Just because you
> can do a think, does not mean you should.

Again, though, this is what CNAME records are for. The extra DNS lookups do
not cause a significant amount of traffic, in my experience, even with DNS
servers that support high-volume sites. I suspect this may have been more of
an issue in the past than it is now, or maybe for DNS servers that support
even higher numbers of queries it is still true. However, using multiple A
records for a single IP address can introduce other problems, and I prefer
the set of problems you may get by using CNAME records to the set of
problems that you may get by using A records for aliasing.

For example, if you're using the Microsoft DNS server - which, being
integral to AD and Windows Networking, many people are - you can easily
screw up your PTR records, as each time you add an A record it will, by
default, rewrite the PTR record to point to the new host name.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224702
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Database changes causes Component Errors

2005-11-18 Thread Russ
You could also ask CF not to cache connections in the datasource.  

There might also be a way to programmatically drop the db connections.  We
had a script back when we were on CF 4.5 that would flush the db
connections... is there a similar one for CFMX?



-Original Message-
From: Figy, Kam [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 5:43 PM
To: CF-Talk
Subject: RE: Database changes causes Component Errors

CF (or some sort of execution plan CF creates) caches the database's
structure. You'll have to restart CF for the changes to be picked up as
far as I know.

/k 

-Original Message-
From: Phillip Duba [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 12:50 PM
To: CF-Talk
Subject: Database changes causes Component Errors

Hello All,

This is the second time in the past month we have come across this
issue. The scenario is I have a component which contains a number of
queries against our database. Some of these queries have a table.* in
them. It appears if we alter the tables with the .*s, ColdFusion throws
an error stating invalid type or cast (basically, it expects a number
but gets a string) in these queries.

This only happens when a new column has been added to the tables in
question. Any ideas on why this is occuring or how to prevent this
(other try and eliminate the *s)? We are running in a clustered
environment but nothing within the component is persisted. Thanks,

Phil





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224701
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFX_IMAP4 ... or .. ?

2005-11-18 Thread Jennifer Gavin-Wear
Have been playing with it today, can report back it's easy to install and
Paul has been great on support with the questions I had after trying it out.

I'm interested in it's scaleability on large imap folders, if anyone has
some numbers it would help greatly.

My plan is to use imap to import the mail into ms sql and offer it as an on
line archive on a project I'm working on for a client.

Thanks Paul, great product (and a bargain!)

Jenny


-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED]
Sent: 16 November 2005 23:10
To: CF-Talk
Subject: RE: CFX_IMAP4 ... or .. ?


I'm talking several hundred messages, all Word-generated HTML with
images contained within.  The messages themselves can be pretty large
with all the sloppy Word crap in them.

Honestly, I really haven't tried it on smaller mailboxes/messages yet.
Haven't had the need, actually.

But, this thing is pretty damn powerful.  Paul Vernon is great with his
support, too.

M!ke

-Original Message-
From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 16, 2005 5:00 PM
To: CF-Talk
Subject: RE: CFX_IMAP4 ... or .. ?

Hi Mike,

Thanks for the feedback ... at what point did you notice it was getting
slow, how many messages?

I'm thinking I can avoid a large imap folder by pulling everything off
at regular intervals and pushing the messages into ms sql, but would be
good to know at what point it's necessary to do so.

Thanks, Jenny



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224700
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Database changes causes Component Errors

2005-11-18 Thread Figy, Kam
CF (or some sort of execution plan CF creates) caches the database's
structure. You'll have to restart CF for the changes to be picked up as
far as I know.

/k 

-Original Message-
From: Phillip Duba [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 12:50 PM
To: CF-Talk
Subject: Database changes causes Component Errors

Hello All,

This is the second time in the past month we have come across this
issue. The scenario is I have a component which contains a number of
queries against our database. Some of these queries have a table.* in
them. It appears if we alter the tables with the .*s, ColdFusion throws
an error stating invalid type or cast (basically, it expects a number
but gets a string) in these queries.

This only happens when a new column has been added to the tables in
question. Any ideas on why this is occuring or how to prevent this
(other try and eliminate the *s)? We are running in a clustered
environment but nothing within the component is persisted. Thanks,

Phil



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224699
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: FCKEditor and uploading images

2005-11-18 Thread Jennifer Gavin-Wear
http://cms.fasttrackonline.co.uk/cms/docs.cfm

sorry about that, had a query open to write the docs .. sorted now ..

Jenny


-Original Message-
From: Phill B [mailto:[EMAIL PROTECTED]
Sent: 18 November 2005 14:15
To: CF-Talk
Subject: Re: FCKEditor and uploading images


I got an error on the page. :-\

On 11/18/05, Jennifer Gavin-Wear <[EMAIL PROTECTED]> wrote:
> http://cms.fasttrackonline.co.uk/cms/docs.cfm
>
> attempt at documenting the application, have added Matt's info.
>
> Thanks Matt :-)
>
> Jenny
>



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224698
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Quote of the day.

2005-11-18 Thread Ian Skinner
This just really tickled my funny bone.

Dogbert: "We have between one and two billion readers!"
Dogbert: "I figured out how to make three readers sound like a lot."
Adams, Scott; Dilbert; 11/18/05

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224697
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Anyone with CFWebstore Experience ?

2005-11-18 Thread Steve Kahn
Anyone with CFWebstore experience please contact me off list.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224696
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Database changes causes Component Errors

2005-11-18 Thread Phillip Duba
Hello All,

This is the second time in the past month we have come across this issue. The 
scenario is I have a component which contains a number of queries against our 
database. Some of these queries have a table.* in them. It appears if we alter 
the tables with the .*s, ColdFusion throws an error stating invalid type or 
cast (basically, it expects a number but gets a string) in these queries.

This only happens when a new column has been added to the tables in question. 
Any ideas on why this is occuring or how to prevent this (other try and 
eliminate the *s)? We are running in a clustered environment but nothing within 
the component is persisted. Thanks,

Phil

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224695
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Command line Printing SOLVED

2005-11-18 Thread Matt Robertson
I want it. Googled the web site right up.  cheap it is indeed.  Thanks
for the heads up!


--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224694
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Scheduled Tasks Not Running

2005-11-18 Thread Ian Skinner
Definately not timing out, since the output text file claiming access is denied 
gets generated immediately after trying to run the task.

I have tried the usernames and passwords of all of my accounts, and confirmed 
that the accounts are valid in the server administrator. I have gone to the 
directory where the tasks are located and verified that those accounts have 
read, write and execute permissions for the files in that directory.

If I bring up the cfm page in my browser the page runs fine and generates the 
response I want (an email in these cases).

Note that there are a total of about 8 tasks, and NONE of them run.


Could there be some need for the ColdFusion service itself to have some level 
of permission?  Have you tried giving the service to run as something other 
then localSystem which would have appropriate permission.

Just a stab in the dark so HTH.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224693
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF Hosting

2005-11-18 Thread Munson, Jacob
Ok, but when are you going to have CF/Linux hosting?  ;-) 

> -Original Message-
> From: Snake [mailto:[EMAIL PROTECTED] 
> Sent: Friday, November 18, 2005 1:51 PM
> To: CF-Talk
> Subject: RE: CF Hosting
> 
> True, but u can contact those people and check if they are 
> legit reviews.
> Not wanting to blow my own trumpet or anything, but we ask 
> customers if they
> are happy to be contacted and have their email on the site, so all our
> customer reviews can be validated.


-


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224692
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Cf Grid Update

2005-11-18 Thread Rolf Kvamme
I just updated an intranet server from cf 5 to 7. Consequently the cgfgrid
updates are erroring out from applications we use daily. Is this common? is
there soemthing I need to change?

Thanks

Rolf Kvamme



Invalid data  for CFSQLTYPE CF_SQL_BIT.



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224691
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMX Instance Names

2005-11-18 Thread Douglas Knudsen
or use /bin/jrunsvc to remove and add the service.

DK

On 11/18/05, Dave Watts <[EMAIL PROTECTED]> wrote:
> > Thanks!  Just a note for anyone searching the archives.  The
> > registry settings only need to be changed if you created a
> > 'windows service' when adding your instance.  If there is no
> > 'windows service' for that instance, then those changes don't
> > need to be made.
>
> Well, actually, assuming that you installed the ODBC services, those will
> still need to be changed. But yes, the CF service itself only needs to be
> changed if you've registered it as a Windows service.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224690
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF Hosting

2005-11-18 Thread Snake
True, but u can contact those people and check if they are legit reviews.
Not wanting to blow my own trumpet or anything, but we ask customers if they
are happy to be contacted and have their email on the site, so all our
customer reviews can be validated.

Russ 

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: 16 November 2005 23:30
To: CF-Talk
Subject: RE: CF Hosting

> Why on earth would I do that, when I can just ask here? :P Seriously 
> though, yeah thanks for the tip.  His initial link to CF ISP's though, 
> returns a broken link.  After that, he has a pretty extensive list of 
> over 600 companies, I don't know how up to date it is.  A couple of 
> the companies listed returned dead links.  But that's not really too 
> bad, out of the hundreds he has listed on there.

Something else, and this is not Ben's problem, but anybody can go in there
and review a host.  So Crystal Tech could tell all of their employees to go
in and give a stellar review of their hosting.  But like I said, this is a
problem with ALL review sites.

-

This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you. A1.





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224689
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Upper/Lowercase

2005-11-18 Thread Larry Juncker
It is a quick check for ALPHA Characters, I did not say it would return
Upper or Lower for symbols
Or non Alpha characters. 


Larry Juncker
President & CEO
ALJ Computer Services, LLC
1445 So 27th Street
Fort Dodge, IA
Phone: (515) 576-0885
Fax: (515) 576-8510
[EMAIL PROTECTED]



 
CONFIDENTIALITY NOTICE: This communication, including any attachment, may
contain confidential information and is intended only for the individual or
entity to whom it is addressed. Any review, dissemination, or copying of
this communication by anyone other than the intended recipient is strictly
prohibited. If you are not the intended recipient, please contact the sender
by reply email, delete and destroy all copies of the original message.'



-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 2:13 PM
To: CF-Talk
Subject: Re: Upper/Lowercase

 >>RETURNS
 >>isUpperLower('U') = upper
 >>isUpperLower('d') = lower
 >>isUpperLower('F') = upper

It also returns
isUpperLower('=') = upper
isUpperLower('É') = lower
which is not correct.

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED]) Thanks.





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224688
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Scheduling a car archive

2005-11-18 Thread Rick Root
Is it possible to schedule archiving of coldfusion settings and such?
To a .car file.. I'd like to do this on an automated bases every night..

Rick

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224687
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Upper/Lowercase

2005-11-18 Thread Claude Schneegans
 >>RETURNS
 >>isUpperLower('U') = upper
 >>isUpperLower('d') = lower
 >>isUpperLower('F') = upper

It also returns
isUpperLower('=') = upper
isUpperLower('É') = lower
which is not correct.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224686
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Delete Files with Wildcards

2005-11-18 Thread Barney Boisvert
CF is Certified for windows and *nix, and it'll tell you which is
which with the server variables.  All the *nix variants support 'rm',
and windows obviously supports 'del'.  So you can retain portability
even with shelling out.

cheers,
barneyb

On 11/18/05, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> That's pretty much what I came up with.  I thought about shelling out,
> but I didn't want to bring down the "portable" police on me.  ;^)
>
> Thanks for all suggestions.
>
> M!ke
>

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224685
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Delete Files with Wildcards

2005-11-18 Thread Dawson, Michael
That's pretty much what I came up with.  I thought about shelling out,
but I didn't want to bring down the "portable" police on me.  ;^)

Thanks for all suggestions.

M!ke 

-Original Message-
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 1:57 PM
To: CF-Talk
Subject: Re: Delete Files with Wildcards

You could also do a cfdirectory with a filter to get a list of the files
in question and then loop over them to do the cffile delete.

--Ferg

Barney Boisvert wrote:

>The CFDIRECTORY/CFLOOP/CFFILE solution is what I've used as well, at 
>least where I needed to keep it all CF.  If you don't mind shelling 
>out, you can use native OS commands (rm or del), which do accept 
>wildcards.  It'll be a lot faster if you've got more than a couple 
>files to kill off, even with the process creation overhead.
>
>cheers,
>barneyb

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224684
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Strange CFC behavior

2005-11-18 Thread Russ
Hmm... are you sure you're not 'var'ing the variables in some of these
functions?  

Try this... try cfdumping the variables scope in your getLogin function.
Also try specifying a returntype of String for the getLogin function.  

Maybe by dumping the variables scope, you will see what's happening...  

-Original Message-
From: Rich Kroll [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 2:41 PM
To: CF-Talk
Subject: RE: Strange CFC behavior

Yes, all the methods are in the same component.  I'm getting no errors at
all, which is whats making me pull my hair out.  When I test this I'm doing
the following:



#user.getLogin()#


This will display the user name "test" on the page, and will not error when
I run the create user function.  When I look at the database, the dates have
been inserted, and spaces for the login / pass / name(s), not null values.
I'm at a complete loss why this is happening.

Rich Kroll
Application Developer
SITE Manageware, Inc.


-Original Message-
From: Ryan Guill [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 2:17 PM
To: CF-Talk
Subject: Re: Strange CFC behavior

Are the methods you are calling in the same component as the createUser
method?

I guess they must be if you can call variables.instance.something and
get the value...

You arent getting any errors thrown?


On 11/18/05, Rich Kroll <[EMAIL PROTECTED]> wrote:
> Hello all,
> I'm having a weird problem. I've crated a user.cfc that manages all my
user
> information.  When the object is created I put all relevant information
into
> the variables scope like:
> 
> 
> 
>
> Then I have crud operations to populate the variables:
> 
> 
> 
>
> 
> 
> 
> 
> 
>
> All of this works as expected when I create a new user object.  If I set
the
> login with user.setLogin("test"), I can call user.getLogin(), and it
returns
> the value that I stored via setLogin().
>
> My problem comes when I try to write this to the database.  I've got a
> createUser function that does an insert statement, and when I force it to
> error, the generated SQL is correct, I can run it in query analyzer and it
> inserts correctly, but when I run the function, some functions are
inserting
> the correct data, while anything with a string is not.  I also created a
> checkUser() function to ensure that the functions are not being returned
> empty.  Below is my createUser function:
>
> 
> 
> 
> INSERT INTO users (login,
> password,
> first_name,
> last_name,
> date_expires,
> date_created,
> created_by,
> updated_by)
> VALUES  ('#getLogin()#',
> '#getPassword()#',
> '#getFirstName()#',
> '#getLastName()#',
>  "">NULL#getDateExpires()#,
> #getDateCreated()#,
> #getCreatedBy()#,
> #getUpdatedBy()#
> )
> 
> 
> 
> 
> 
>
>
> When I run this query, the login, password, first_name, and last_name are
> inserted as empty strings.  If I change for example getLogin() to
> variables.instance.login it will insert correctly, and all this function
> does is return the exact same thing.  Anyone have any ideas whats going on
> here?
>
> Rich Kroll
> Application Developer
> SITE Manageware, Inc.
>
>
>
> 





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224683
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Delete Files with Wildcards

2005-11-18 Thread Ken Ferguson
You could also do a cfdirectory with a filter to get a list of the files 
in question and then loop over them to do the cffile delete.

--Ferg

Barney Boisvert wrote:

>The CFDIRECTORY/CFLOOP/CFFILE solution is what I've used as well, at
>least where I needed to keep it all CF.  If you don't mind shelling
>out, you can use native OS commands (rm or del), which do accept
>wildcards.  It'll be a lot faster if you've got more than a couple
>files to kill off, even with the process creation overhead.
>
>cheers,
>barneyb
>
>On 11/18/05, Dawson, Michael <[EMAIL PROTECTED]> wrote:
>  
>
>>Is there a way to easily delete files with wildcards?
>>
>>I want to delete some files that begin with something like "20051118_".
>>The rest of the filename contains randomly-generated character such as
>>"20051118_34425623.jpg".
>>
>>CFFILE does not accept wildcards.
>>
>>My next attempt will be CFDIRECTORY to get a list of files in the
>>directory.  Then, I will loop over those files until I find the ones I
>>want.  Then, I will perform a CFFILE on that value.
>>
>>This solution kind of sucks because I have to loop over a list that
>>could contain thousands of files.
>>
>>Any other suggestions?
>>
>>Thanks
>>M!ke
>>
>>
>>
>
>--
>Barney Boisvert
>[EMAIL PROTECTED]
>360.319.6145
>http://www.barneyb.com/
>
>Got Gmail? I have 100 invites.
>
>

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224682
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Delete Files with Wildcards

2005-11-18 Thread Jerry Johnson
I don't even want to suggest it, but cfexec?

On 11/18/05, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> Is there a way to easily delete files with wildcards?

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224681
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Dave Watts
> You CAN alias records within the same zone, but it's 
> generally not a good idea because of the extra DNS 
> lookups required to resolve them. Just because you 
> can do a think, does not mean you should.

Again, though, this is what CNAME records are for. The extra DNS lookups do
not cause a significant amount of traffic, in my experience, even with DNS
servers that support high-volume sites. I suspect this may have been more of
an issue in the past than it is now, or maybe for DNS servers that support
even higher numbers of queries it is still true. However, using multiple A
records for a single IP address can introduce other problems, and I prefer
the set of problems you may get by using CNAME records to the set of
problems that you may get by using A records for aliasing.

For example, if you're using the Microsoft DNS server - which, being
integral to AD and Windows Networking, many people are - you can easily
screw up your PTR records, as each time you add an A record it will, by
default, rewrite the PTR record to point to the new host name.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224680
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Scheduled Tasks Not Running

2005-11-18 Thread Tim Claremont
Definately not timing out, since the output text file claiming access is denied 
gets generated immediately after trying to run the task.

I have tried the usernames and passwords of all of my accounts, and confirmed 
that the accounts are valid in the server administrator. I have gone to the 
directory where the tasks are located and verified that those accounts have 
read, write and execute permissions for the files in that directory.

If I bring up the cfm page in my browser the page runs fine and generates the 
response I want (an email in these cases).

Note that there are a total of about 8 tasks, and NONE of them run.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224679
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Delete Files with Wildcards

2005-11-18 Thread Barney Boisvert
The CFDIRECTORY/CFLOOP/CFFILE solution is what I've used as well, at
least where I needed to keep it all CF.  If you don't mind shelling
out, you can use native OS commands (rm or del), which do accept
wildcards.  It'll be a lot faster if you've got more than a couple
files to kill off, even with the process creation overhead.

cheers,
barneyb

On 11/18/05, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> Is there a way to easily delete files with wildcards?
>
> I want to delete some files that begin with something like "20051118_".
> The rest of the filename contains randomly-generated character such as
> "20051118_34425623.jpg".
>
> CFFILE does not accept wildcards.
>
> My next attempt will be CFDIRECTORY to get a list of files in the
> directory.  Then, I will loop over those files until I find the ones I
> want.  Then, I will perform a CFFILE on that value.
>
> This solution kind of sucks because I have to loop over a list that
> could contain thousands of files.
>
> Any other suggestions?
>
> Thanks
> M!ke
>

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224678
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Strange CFC behavior

2005-11-18 Thread Rich Kroll
Yes, all the methods are in the same component.  I'm getting no errors at
all, which is whats making me pull my hair out.  When I test this I'm doing
the following:



#user.getLogin()#


This will display the user name "test" on the page, and will not error when
I run the create user function.  When I look at the database, the dates have
been inserted, and spaces for the login / pass / name(s), not null values.
I'm at a complete loss why this is happening.

Rich Kroll
Application Developer
SITE Manageware, Inc.


-Original Message-
From: Ryan Guill [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 2:17 PM
To: CF-Talk
Subject: Re: Strange CFC behavior

Are the methods you are calling in the same component as the createUser
method?

I guess they must be if you can call variables.instance.something and
get the value...

You arent getting any errors thrown?


On 11/18/05, Rich Kroll <[EMAIL PROTECTED]> wrote:
> Hello all,
> I'm having a weird problem. I've crated a user.cfc that manages all my
user
> information.  When the object is created I put all relevant information
into
> the variables scope like:
> 
> 
> 
>
> Then I have crud operations to populate the variables:
> 
> 
> 
>
> 
> 
> 
> 
> 
>
> All of this works as expected when I create a new user object.  If I set
the
> login with user.setLogin("test"), I can call user.getLogin(), and it
returns
> the value that I stored via setLogin().
>
> My problem comes when I try to write this to the database.  I've got a
> createUser function that does an insert statement, and when I force it to
> error, the generated SQL is correct, I can run it in query analyzer and it
> inserts correctly, but when I run the function, some functions are
inserting
> the correct data, while anything with a string is not.  I also created a
> checkUser() function to ensure that the functions are not being returned
> empty.  Below is my createUser function:
>
> 
> 
> 
> INSERT INTO users (login,
> password,
> first_name,
> last_name,
> date_expires,
> date_created,
> created_by,
> updated_by)
> VALUES  ('#getLogin()#',
> '#getPassword()#',
> '#getFirstName()#',
> '#getLastName()#',
>  "">NULL#getDateExpires()#,
> #getDateCreated()#,
> #getCreatedBy()#,
> #getUpdatedBy()#
> )
> 
> 
> 
> 
> 
>
>
> When I run this query, the login, password, first_name, and last_name are
> inserted as empty strings.  If I change for example getLogin() to
> variables.instance.login it will insert correctly, and all this function
> does is return the exact same thing.  Anyone have any ideas whats going on
> here?
>
> Rich Kroll
> Application Developer
> SITE Manageware, Inc.
>
>
>
> 



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224677
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Justin D. Scott
> I don't agree with this because CNAME records pointed
> to A records make it easier to change IP addresses
> for said A records.  One scenario would be 10 A records

For people manually managing zone files, I suppose this could make life
easier.  I run my own DNS hosting service that uses variables for IP
addresses and generates the zones, so it isn't an issue for me personally.
My reasoning is based on minimizing the number of lookups that need to be
done.  As a rule I try to avoid them within the same zone for that reason.
It's really not a big enough issue to argue about, so to each their own :).

-Justin Scott



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224676
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Delete Files with Wildcards

2005-11-18 Thread Dawson, Michael
Is there a way to easily delete files with wildcards?
 
I want to delete some files that begin with something like "20051118_".
The rest of the filename contains randomly-generated character such as
"20051118_34425623.jpg".
 
CFFILE does not accept wildcards.
 
My next attempt will be CFDIRECTORY to get a list of files in the
directory.  Then, I will loop over those files until I find the ones I
want.  Then, I will perform a CFFILE on that value.
 
This solution kind of sucks because I have to loop over a list that
could contain thousands of files.
 
Any other suggestions?

Thanks
M!ke
 
M!chael A Dawson
Database Administrator and Manager of Web Applications
Office of Technology Services
University of Evansville
1800 Lincoln Avenue
Evansville, IN 47722
812-488-2581
MSN Messenger ID: [EMAIL PROTECTED]
 
"There are 10 types of people in the world: Those who understand binary
numbers and those who don't."
 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224675
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMX 7 on Dual Core CPU's

2005-11-18 Thread Sean Corfield
On 11/17/05, Jordan Michaels <[EMAIL PROTECTED]> wrote:
> Anyone know off-hand if Macromedia considers Dual-Core CPU's one CPU or two?

I asked internally and was told that, for licensing purposes, a "CPU"
is considered "one *physical* CPU" so a dual core CPU is still
considered *one* CPU (same with hyperthreading, layers etc).

(just to confirm Dave's comment that this is the "official Macromedia response")
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224674
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Andrew Tyrone
> -Original Message-
> From: Justin D. Scott [mailto:[EMAIL PROTECTED] 
> Sent: Friday, November 18, 2005 1:46 PM
> To: CF-Talk
> Subject: RE: Multiple sites in IIS - Modifying DNS
> 
> CNAME records should only be used when aliasing a host that 
> is not within
> the same zone, otherwise, use A records.
> 
> -Justin Scott

I don't agree with this because CNAME records pointed to A records make it
easier to change IP addresses for said A records.  One scenario would be 10
A records in a zone file that all go to the same IP Address on a server that
uses host headers.  Changing the IP address would necessitate the change of
all the A records.  If you use one A record, e.g. mydomain.com IN A
192.168.0.10, and 9 CNAMES, e.g. foo.mydomain.com IN CNAME mydomain.com,
etc., you make life a lot easier for yourself or whoever is in charge of the
DNS.

Andy



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224673
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Scheduled Tasks Not Running

2005-11-18 Thread Tim Do
Could it be that it's timing out? 

-Original Message-
From: Tim Claremont [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 9:52 AM
To: CF-Talk
Subject: Re: Scheduled Tasks Not Running

Yup. I just confirmed it again just now, and it is the same username and
password. I restarted the service as suggested to ensure that the
account was correct.

Same result.


>Did you give the under admin tools: services: macromedia cfmx as Your 
>site service your username and pwd?
>
>-Original Message-
>From: Tim Claremont [mailto:[EMAIL PROTECTED]
>Sent: Friday, November 18, 2005 9:22 AM
>To: CF-Talk
>Subject: Re: Scheduled Tasks Not Running
>
>I tried that. Using my own admin username and password it still throws 
>a "You are not authorized to view this page" error, even though this is

>obvioulsy not the case. I have tried it with and without provided 
>usernames and passwords, prefixing with the domain name, etc.
>
>There must be something missing here...



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224672
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Dave Watts
> The "CNAME" record is used less than the "A" record because 
> it causes more traffic - more lookups. You can have multiple 
> "A" records for the same IP. Personally, I think it's easier 
> to manage just "A" records.

The performance difference is pretty inconsequential, especially if both
CNAME and A records are within the same zone. But more importantly, this is
specifically what CNAME records are for, and it tells me clearly which name
a PTR record should resolve to - the name specified within the one A record.


Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224671
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Justin D. Scott
> > CNAME records should only be used when aliasing a host
> > that is not within the same zone, otherwise, use A
> > records.
> 
> I'm not a DNS expert, but my understanding is that this
> is simply incorrect.  There's nothing wrong with using
> CNAME records to alias hosts within a zone.

You CAN alias records within the same zone, but it's generally not a good
idea because of the extra DNS lookups required to resolve them.  Just
because you can do a think, does not mean you should.


-Justin Scott



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224670
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Upper/Lowercase

2005-11-18 Thread Andy Matthews
Duh...

Sorry about that Larry.



-Original Message-
From: Larry Juncker [mailto:[EMAIL PROTECTED]
Sent: Friday, November 18, 2005 1:04 PM
To: CF-Talk
Subject: RE: Upper/Lowercase


It is included in the previous message with a link to it from my own server.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224669
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Strange CFC behavior

2005-11-18 Thread Ryan Guill
Are the methods you are calling in the same component as the createUser method?

I guess they must be if you can call variables.instance.something and
get the value...

You arent getting any errors thrown?


On 11/18/05, Rich Kroll <[EMAIL PROTECTED]> wrote:
> Hello all,
> I'm having a weird problem. I've crated a user.cfc that manages all my user
> information.  When the object is created I put all relevant information into
> the variables scope like:
> 
> 
> 
>
> Then I have crud operations to populate the variables:
> 
> 
> 
>
> 
> 
> 
> 
> 
>
> All of this works as expected when I create a new user object.  If I set the
> login with user.setLogin("test"), I can call user.getLogin(), and it returns
> the value that I stored via setLogin().
>
> My problem comes when I try to write this to the database.  I've got a
> createUser function that does an insert statement, and when I force it to
> error, the generated SQL is correct, I can run it in query analyzer and it
> inserts correctly, but when I run the function, some functions are inserting
> the correct data, while anything with a string is not.  I also created a
> checkUser() function to ensure that the functions are not being returned
> empty.  Below is my createUser function:
>
> 
> 
> 
> INSERT INTO users (login,
> password,
> first_name,
> last_name,
> date_expires,
> date_created,
> created_by,
> updated_by)
> VALUES  ('#getLogin()#',
> '#getPassword()#',
> '#getFirstName()#',
> '#getLastName()#',
>  "">NULL#getDateExpires()#,
> #getDateCreated()#,
> #getCreatedBy()#,
> #getUpdatedBy()#
> )
> 
> 
> 
> 
> 
>
>
> When I run this query, the login, password, first_name, and last_name are
> inserted as empty strings.  If I change for example getLogin() to
> variables.instance.login it will insert correctly, and all this function
> does is return the exact same thing.  Anyone have any ideas whats going on
> here?
>
> Rich Kroll
> Application Developer
> SITE Manageware, Inc.
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224668
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: moving to cfeclipse... troubles

2005-11-18 Thread Munson, Jacob
> The major thing I noticed was now extended find/replace. It is the
> main reason I use homesite and really hope you can do something very
> similar in eclipse. Any suggestions?

I miss the same thing from Homesite.  I haven't found anything as
powerful as HomeSite's find/replace in Eclipse.  But you might ask your
questions on the CFEclipse mailing list at http://cfeclipse.tigris.org/
if you don't get your answer here.  There are a lot of really smart CFE
users over there (including the CFE developers).


---

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224667
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Dave Watts
> CNAME records should only be used when aliasing a host that 
> is not within the same zone, otherwise, use A records.

I'm not a DNS expert, but my understanding is that this is simply incorrect.
There's nothing wrong with using CNAME records to alias hosts within a zone.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224666
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Strange CFC behavior

2005-11-18 Thread Rich Kroll
Hello all,
I'm having a weird problem. I've crated a user.cfc that manages all my user
information.  When the object is created I put all relevant information into
the variables scope like:




Then I have crud operations to populate the variables:










All of this works as expected when I create a new user object.  If I set the
login with user.setLogin("test"), I can call user.getLogin(), and it returns
the value that I stored via setLogin().

My problem comes when I try to write this to the database.  I've got a
createUser function that does an insert statement, and when I force it to
error, the generated SQL is correct, I can run it in query analyzer and it
inserts correctly, but when I run the function, some functions are inserting
the correct data, while anything with a string is not.  I also created a
checkUser() function to ensure that the functions are not being returned
empty.  Below is my createUser function:




INSERT INTO users (login, 
password, 
first_name, 
last_name, 
date_expires, 
date_created, 
created_by, 
updated_by)
VALUES  ('#getLogin()#',
'#getPassword()#',
'#getFirstName()#',
'#getLastName()#',
NULL#getDateExpires()#,
#getDateCreated()#,
#getCreatedBy()#,
#getUpdatedBy()#
)







When I run this query, the login, password, first_name, and last_name are
inserted as empty strings.  If I change for example getLogin() to
variables.instance.login it will insert correctly, and all this function
does is return the exact same thing.  Anyone have any ideas whats going on
here?

Rich Kroll
Application Developer
SITE Manageware, Inc.



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224665
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Upper/Lowercase

2005-11-18 Thread Larry Juncker
It is included in the previous message with a link to it from my own server.


I submitted a UDF to cflib.org called isUpperLower

http://www.aljnet.net/downloads/isUpperLower

Save the file in your root directoy as isUpperLower.cfm

Its use is very simple:




isUpperLower('U') = #isUpperLower('U')#
isUpperLower('d') = #isUpperLower('d')#
isUpperLower('F') = #isUpperLower('F')# 

RETURNS
isUpperLower('U') = upper
isUpperLower('d') = lower
isUpperLower('F') = upper


Larry Juncker
President & CEO
ALJ Computer Services, LLC
1445 So 27th Street
Fort Dodge, IA
Phone: (515) 576-0885
Fax: (515) 576-8510
[EMAIL PROTECTED]



 
CONFIDENTIALITY NOTICE: This communication, including any attachment, may
contain confidential information and is intended only for the individual or
entity to whom it is addressed. Any review, dissemination, or copying of
this communication by anyone other than the intended recipient is strictly
prohibited. If you are not the intended recipient, please contact the sender
by reply email, delete and destroy all copies of the original message.'


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.4/175 - Release Date: 11/18/2005
 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224664
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


OT: moving to cfeclipse... troubles

2005-11-18 Thread Anthony Prato
I've been making my move to cfeclipse from homesite and I'm happy so
far. There are two major things I always use that I can't find in
eclipse.
The first it the CTRL+< and CTRL+> shortcuts to make <> and 
respectively. I'm guessing I could setup a snippet for this...

The major thing I noticed was now extended find/replace. It is the
main reason I use homesite and really hope you can do something very
similar in eclipse. Any suggestions?

Anthony

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224663
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Justin D. Scott
CNAME records should only be used when aliasing a host that is not within
the same zone, otherwise, use A records.

-Justin Scott


> -Original Message-
> From: Mark A Kruger [mailto:[EMAIL PROTECTED] 
> Sent: Friday, November 18, 2005 1:39 PM
> To: CF-Talk
> Subject: RE: Multiple sites in IIS - Modifying DNS
> 
> Dave,
> 
> The "CNAME" record is used less than the "A" record because 
> it causes more
> traffic - more lookups. You can have multiple "A" records for 
> the same IP.
> Personally, I think it's easier to manage just "A" records.
> 
> -Mark
> 
> 
> -Original Message-
> From: Dave Watts [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 18, 2005 12:19 PM
> To: CF-Talk
> Subject: RE: Multiple sites in IIS - Modifying DNS
> 
> 
> > I've created an additional site in IIS 6 on my development
> > server with a unique Host Header. So there are currently two
> > sites on that server. Now I've got my brilliant Network admin
> > trying to that second site to the DNS. Thus far, he has failed
> > miserably :-). He created a "new primary forward lookup zone."
> > On the new primary zone, he created "a host A record corresponding
> > to the Host Header name," but only the dns server itself is able
> > to resolve it, and in that case, not to the second site, but
> > rather the development home page itself.
> >
> > The bottom line is that he blames me, and I blame him, and we're
> > about to take it outside, in which case, we'll be looking for a
> > new network admin (LOL). We would greatly appreciate any ideas
> > on how to resolve this DNS issue. Thanks!
> 
> There's no need to create a new zone. Zones typically 
> correspond to domains
> or subdomains. Assuming that both sites on your server use the same IP
> address, your network administrator only needs to create a 
> CNAME record
> pointing the new host name to the old one. If the sites use 
> different IP
> addresses, you need to create a new A record pointing the new 
> host name to
> the appropriate IP address.
> 
> In any case, your network administrator needs to learn how 
> DNS works, since
> it's integral to so many things on a network. Unless you're 
> changing DNS
> entries yourself, there's nothing he can really blame you 
> for, except that
> you're making him do his job.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> 
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
> 
> 
> 
> 
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224662
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Scheduled Tasks Not Running

2005-11-18 Thread Tim Claremont
Yup. I just confirmed it again just now, and it is the same username and 
password. I restarted the service as suggested to ensure that the account was 
correct.

Same result.


>Did you give the under admin tools: services: macromedia cfmx as Your
>site service your username and pwd?
>
>-Original Message-
>From: Tim Claremont [mailto:[EMAIL PROTECTED] 
>Sent: Friday, November 18, 2005 9:22 AM
>To: CF-Talk
>Subject: Re: Scheduled Tasks Not Running
>
>I tried that. Using my own admin username and password it still throws a
>"You are not authorized to view this page" error, even though this is
>obvioulsy not the case. I have tried it with and without provided
>usernames and passwords, prefixing with the domain name, etc.
>
>There must be something missing here...

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224661
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Mark A Kruger
Dave,

The "CNAME" record is used less than the "A" record because it causes more
traffic - more lookups. You can have multiple "A" records for the same IP.
Personally, I think it's easier to manage just "A" records.

-Mark


-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, November 18, 2005 12:19 PM
To: CF-Talk
Subject: RE: Multiple sites in IIS - Modifying DNS


> I've created an additional site in IIS 6 on my development
> server with a unique Host Header. So there are currently two
> sites on that server. Now I've got my brilliant Network admin
> trying to that second site to the DNS. Thus far, he has failed
> miserably :-). He created a "new primary forward lookup zone."
> On the new primary zone, he created "a host A record corresponding
> to the Host Header name," but only the dns server itself is able
> to resolve it, and in that case, not to the second site, but
> rather the development home page itself.
>
> The bottom line is that he blames me, and I blame him, and we're
> about to take it outside, in which case, we'll be looking for a
> new network admin (LOL). We would greatly appreciate any ideas
> on how to resolve this DNS issue. Thanks!

There's no need to create a new zone. Zones typically correspond to domains
or subdomains. Assuming that both sites on your server use the same IP
address, your network administrator only needs to create a CNAME record
pointing the new host name to the old one. If the sites use different IP
addresses, you need to create a new A record pointing the new host name to
the appropriate IP address.

In any case, your network administrator needs to learn how DNS works, since
it's integral to so many things on a network. Unless you're changing DNS
entries yourself, there's nothing he can really blame you for, except that
you're making him do his job.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!




~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224660
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Scheduled Tasks Not Running

2005-11-18 Thread Ken Ketsdever
Did you give the under admin tools: services: macromedia cfmx as Your
site service your username and pwd?

-Original Message-
From: Tim Claremont [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 9:22 AM
To: CF-Talk
Subject: Re: Scheduled Tasks Not Running

I tried that. Using my own admin username and password it still throws a
"You are not authorized to view this page" error, even though this is
obvioulsy not the case. I have tried it with and without provided
usernames and passwords, prefixing with the domain name, etc.

There must be something missing here...



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224659
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Dawson, Michael
>There's no need to create a new zone. Zones typically correspond to
domains or subdomains. Assuming that both sites on your server use the
same IP address, your network administrator only needs to create a CNAME
record pointing the new host name to the old one. If the sites use
different IP addresses, you need to create a new A record pointing the
new host name to the appropriate IP address.

I agree completely.  We have a mix of host headers and distinct IPs
here.

M!ke

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224658
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Scheduled Tasks Not Running

2005-11-18 Thread Tim Claremont
I tried that. Using my own admin username and password it still throws a "You 
are not authorized to view this page" error, even though this is obvioulsy not 
the case. I have tried it with and without provided usernames and passwords, 
prefixing with the domain name, etc.

There must be something missing here...

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224657
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Jim Davis
> -Original Message-
> From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 18, 2005 11:26 AM
> To: CF-Talk
> Subject: OT: Multiple sites in IIS - Modifying DNS
> 
> Hello,
> 
> The bottom line is that he blames me, and I blame him, and we're about
> to take it outside, in which case, we'll be looking for a new network
> admin (LOL). We would greatly appreciate any ideas on how to resolve
> this DNS issue. Thanks!

Well... honestly your network admin should know this stuff.

If you're talking MS DNS CrystalTech has a nice guide for their (amateur)
dedicated server users here:

http://www.webcontrolcenter.com/Knowledge_Base/frmKB.aspx?KBID=564

I was able to set up all my domains and DNS using it.

Jim Davis




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224656
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Dave Watts
> I've created an additional site in IIS 6 on my development 
> server with a unique Host Header. So there are currently two 
> sites on that server. Now I've got my brilliant Network admin 
> trying to that second site to the DNS. Thus far, he has failed 
> miserably :-). He created a "new primary forward lookup zone." 
> On the new primary zone, he created "a host A record corresponding
> to the Host Header name," but only the dns server itself is able 
> to resolve it, and in that case, not to the second site, but 
> rather the development home page itself.
> 
> The bottom line is that he blames me, and I blame him, and we're
> about to take it outside, in which case, we'll be looking for a 
> new network admin (LOL). We would greatly appreciate any ideas 
> on how to resolve this DNS issue. Thanks!

There's no need to create a new zone. Zones typically correspond to domains
or subdomains. Assuming that both sites on your server use the same IP
address, your network administrator only needs to create a CNAME record
pointing the new host name to the old one. If the sites use different IP
addresses, you need to create a new A record pointing the new host name to
the appropriate IP address.

In any case, your network administrator needs to learn how DNS works, since
it's integral to so many things on a network. Unless you're changing DNS
entries yourself, there's nothing he can really blame you for, except that
you're making him do his job.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224655
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: FCKEditor and uploading images

2005-11-18 Thread Matt Robertson
ouch.  Somebody needs an error handler :-)

--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224654
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Scheduled Tasks Not Running

2005-11-18 Thread Ken Ketsdever
We had a similar problem here.  It appeared as the task was being run,
we even got a little message that said something like "task successfully
run" when we ran it manually. 

Check the Publish box for "Save output to a file".  We discovered that
the CF user didn't have proper permissions.  The task was running but
outputting a 403 error because of a permissions issue.  

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224653
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Ken Ketsdever
Hire a Network admin that knows a port from a hole in the ground.

-Original Message-
From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 9:26 AM
To: CF-Talk
Subject: OT: Multiple sites in IIS - Modifying DNS

 
Hello,

I've created an additional site in IIS 6 on my development server with a
unique Host Header. So there are currently two sites on that server. Now
I've got my brilliant Network admin trying to that second site to the
DNS. Thus far, he has failed miserably :-). He created a "new primary
forward lookup zone." On the new primary zone, he created "a host A
record corresponding to the Host Header name," but only the dns server
itself is able to resolve it, and in that case, not to the second site,
but rather the development home page itself.

The bottom line is that he blames me, and I blame him, and we're about
to take it outside, in which case, we'll be looking for a new network
admin (LOL). We would greatly appreciate any ideas on how to resolve
this DNS issue. Thanks!

Sincerely,
 
Andrew

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 15, 2005 11:12 AM
To: CF-Talk
Subject: RE: Multiple sites in IIS

Yes, use different host headers instead of ports. 
Use a subdomain off your primary domain for your dev server,

Russ

-Original Message-
From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED]
Sent: 15 November 2005 15:29
To: CF-Talk
Subject: OT: Multiple sites in IIS

Hi,
 
We have one development server, and multiple production servers. For
each separate server in production, I'm just creating a New Site in IIS
on the development server, each using a different port. Is there a
better way/best practices approach to keeping these servers separate in
the development environment? Thanks in advance.
 
Sincerely,
 
Andrew
 








~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224652
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Matt Robertson
I'm doing a win2k3 server like this, with a dozen or so host-header'd
domains, right now.  In MS DNS at least, you set up the host entry and
the * entry pointing to the shared IP.

Then in IIS6 you set up the host headers with fully qualified domain,
pointing to port 80.  I like to use two host headers for that:

domain.com
www.domain.com

I use the * host entry to signify 'www and anything else' although I
could just put in 'www' too.  If you want to add a second site, like

service.domain.com

then you add a new host in the existing dns record, pointing
specifically to "service" in the New Host dialog.  Then point the new
host to the shared IP.  Get yourself back into IIS and make up a new
web site whose only host header is

service.domain.com

And which points to port 80 (or whatever) and thats all there is to it.

To do a totally different domain, such as 'foo.com', you set up a
completely new DNS record, with the host and * entries pointing to the
shared IP.  Do the same as above for IIS host headers and you're done.

--
--mattRobertson--
Janitor, MSB Web Systems
mysecretbase.com

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224651
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Mark A Kruger
Andrew,

Why the new zone?  What we do is take an existing zone and add a new A
record. If the zone is "mydomain.com" I might have.

clients.mydomain.com
dev.mydomain.com
www.mydomain.com

etc... all of them A records.

-Mark

-Original Message-
From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED]
Sent: Friday, November 18, 2005 11:26 AM
To: CF-Talk
Subject: OT: Multiple sites in IIS - Modifying DNS



Hello,

I've created an additional site in IIS 6 on my development server with a
unique Host Header. So there are currently two sites on that server. Now
I've got my brilliant Network admin trying to that second site to the
DNS. Thus far, he has failed miserably :-). He created a "new primary
forward lookup zone." On the new primary zone, he created "a host A
record corresponding to the Host Header name," but only the dns server
itself is able to resolve it, and in that case, not to the second site,
but rather the development home page itself.

The bottom line is that he blames me, and I blame him, and we're about
to take it outside, in which case, we'll be looking for a new network
admin (LOL). We would greatly appreciate any ideas on how to resolve
this DNS issue. Thanks!

Sincerely,

Andrew

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 11:12 AM
To: CF-Talk
Subject: RE: Multiple sites in IIS

Yes, use different host headers instead of ports.
Use a subdomain off your primary domain for your dev server,

Russ

-Original Message-
From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED]
Sent: 15 November 2005 15:29
To: CF-Talk
Subject: OT: Multiple sites in IIS

Hi,

We have one development server, and multiple production servers. For
each separate server in production, I'm just creating a New Site in IIS
on the development server, each using a different port. Is there a
better way/best practices approach to keeping these servers separate in
the development environment? Thanks in advance.

Sincerely,

Andrew









~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224650
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Scheduled Tasks Not Running

2005-11-18 Thread Claremont, Timothy
Since my update to 7.0, my scheduled tasks have not been running. I can
run them manually by going to the template and running that page, and
the task scheduler does not complain of any errors when I check the
status in the CF Administrator. The error logs show nothing. When I test
in Administrator it claims the page was run. But it does not.

I have checked the provided username and password, and it is correct. I
see no reason why the scheduled tasks would stop working.

I have seen this question before, and the provided answer was to turn
off authentication for the task template.

Well, since that is not an option, what is the correct way to get these
scheduled tasks to run again? What caused the process to stop working in
7.0?

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please delete it from 
your system.

This footnote also confirms that this email message has been swept for
the presence of computer viruses.

Thank You,
Viahealth
**


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224649
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Peterson, Andrew S.
Regarding the additional site we created, I might also add that we are
able to ping it successfully.

Sincerely,
 
Andrew
Webmaster
Illinois Office of the Comptroller
IllinoisComptroller.com

-Original Message-
From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 11:26 AM
To: CF-Talk
Subject: OT: Multiple sites in IIS - Modifying DNS

 
Hello,

I've created an additional site in IIS 6 on my development server with a
unique Host Header. So there are currently two sites on that server. Now
I've got my brilliant Network admin trying to that second site to the
DNS. Thus far, he has failed miserably :-). He created a "new primary
forward lookup zone." On the new primary zone, he created "a host A
record corresponding to the Host Header name," but only the dns server
itself is able to resolve it, and in that case, not to the second site,
but rather the development home page itself.

The bottom line is that he blames me, and I blame him, and we're about
to take it outside, in which case, we'll be looking for a new network
admin (LOL). We would greatly appreciate any ideas on how to resolve
this DNS issue. Thanks!

Sincerely,
 
Andrew

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 15, 2005 11:12 AM
To: CF-Talk
Subject: RE: Multiple sites in IIS

Yes, use different host headers instead of ports. 
Use a subdomain off your primary domain for your dev server,

Russ

-Original Message-
From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED]
Sent: 15 November 2005 15:29
To: CF-Talk
Subject: OT: Multiple sites in IIS

Hi,
 
We have one development server, and multiple production servers. For
each separate server in production, I'm just creating a New Site in IIS
on the development server, each using a different port. Is there a
better way/best practices approach to keeping these servers separate in
the development environment? Thanks in advance.
 
Sincerely,
 
Andrew
 








~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224648
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


OT: Multiple sites in IIS - Modifying DNS

2005-11-18 Thread Peterson, Andrew S.
 
Hello,

I've created an additional site in IIS 6 on my development server with a
unique Host Header. So there are currently two sites on that server. Now
I've got my brilliant Network admin trying to that second site to the
DNS. Thus far, he has failed miserably :-). He created a "new primary
forward lookup zone." On the new primary zone, he created "a host A
record corresponding to the Host Header name," but only the dns server
itself is able to resolve it, and in that case, not to the second site,
but rather the development home page itself.

The bottom line is that he blames me, and I blame him, and we're about
to take it outside, in which case, we'll be looking for a new network
admin (LOL). We would greatly appreciate any ideas on how to resolve
this DNS issue. Thanks!

Sincerely,
 
Andrew

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 15, 2005 11:12 AM
To: CF-Talk
Subject: RE: Multiple sites in IIS

Yes, use different host headers instead of ports. 
Use a subdomain off your primary domain for your dev server,

Russ

-Original Message-
From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED]
Sent: 15 November 2005 15:29
To: CF-Talk
Subject: OT: Multiple sites in IIS

Hi,
 
We have one development server, and multiple production servers. For
each separate server in production, I'm just creating a New Site in IIS
on the development server, each using a different port. Is there a
better way/best practices approach to keeping these servers separate in
the development environment? Thanks in advance.
 
Sincerely,
 
Andrew
 






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224647
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: PDF Question

2005-11-18 Thread Bryan Stevenson
> To note, if you are on CF7 you cannot upgrade or use the iText jar as it 
> is
> already included and seems to be restricted in some way.
>
> N


A...but there is a wayand a link to the way is in the archives (and 
it was a thread I started...so search for my e-mail and iText and all will 
be well) ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224646
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMX 7 on Dual Core CPU's

2005-11-18 Thread Jordan Michaels
Dave Carabetta wrote:

>On 11/17/05, Jordan Michaels <[EMAIL PROTECTED]> wrote:
>  
>
>>Anyone know off-hand if Macromedia considers Dual-Core CPU's one CPU or two?
>>
>>The reason I ask is because CFMX 7 is licensed per CPU, so if we get a
>>Dual CPU machine which supports Dual-Core CPU's, I want to be sure I'm
>>not breaking any rules.
>>
>>I've looked around the Macromedia site and Google, but alas, I couldn't
>>find much on the subject. I may just have to break down and email their
>>sales department. ;)
>>
>>Thanks for any help!
>>
>>
>>
>
>Dual core counts as 1 CPU. There was a thread on the flexcoders list
>with the same question, and that was the official Macromedia reponse.
>
>Regards,
>Dave.
>
>  
>
Excellent. Thanks Dave!

-- 
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
[EMAIL PROTECTED] 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224645
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Displaying code

2005-11-18 Thread Jennifer Gavin-Wear
Thanks to all who replied ..

Jenny

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: 18 November 2005 16:43
To: CF-Talk
Subject: RE: Displaying code


You can do...

#htmleditformat(mycode)#

Or

#replace(mycode, "<", "<", "all")#

...:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: Friday, November 18, 2005 11:22 AM
To: CF-Talk
Subject: Displaying code

Hi,

I need to be able to display a string containing html code and show the
code, ie not have the browser parse it.

ie, a  shows as the text , not to put a break in.

Any ideas please?

Jenny







~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224644
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: PDF Question

2005-11-18 Thread Paul Hastings
Bryan Stevenson wrote:

> Could be a method called main does not exist that accepts the number of 
> arguments or the types of args you passed (see that all the timeand 
> JavaCast() is your friend) ;-)

it's expecting command line args. maybe just a bit of re-writing to make 
it more cf-friendly.

btw it looks there's one protected class (PdfWriter.getImportedPage()) 
that's important for concatenating PDFs that cf7 doesn't like talking too.

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224643
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: PDF Question

2005-11-18 Thread Robertson-Ravo, Neil (RX)
To note, if you are on CF7 you cannot upgrade or use the iText jar as it is
already included and seems to be restricted in some way.

N





-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: 18 November 2005 16:40
To: CF-Talk
Subject: Re: PDF Question

> Yeah, I'm familiar with both createObject and Java.  It looks like
> com.lowagie.tools is the package needed for concatenating.  I'll see
> what I can do.
>
> Cheers,
>
> Sam F

Good stuffshould just be a little trial and error then and yer on your 
way ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224642
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT:Coldfusion Podcast Episode 4 Released

2005-11-18 Thread Michael Haynie
It's been a long week..

MTH

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224641
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT:Coldfusion Podcast Episode 4 Released

2005-11-18 Thread Michael Haynie
Yeah, Bryan and I have been listening to the DiggNation Podcast recently and 
all of their episodes are better once they have made it through a few Pale 
Ales. Perhaps thats what we need!

Michael

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224640
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Displaying code

2005-11-18 Thread Bobby Hartsfield
You can do...

#htmleditformat(mycode)#

Or

#replace(mycode, "<", "<", "all")#
 
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 11:22 AM
To: CF-Talk
Subject: Displaying code

Hi,

I need to be able to display a string containing html code and show the
code, ie not have the browser parse it.

ie, a  shows as the text , not to put a break in.

Any ideas please?

Jenny





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224639
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: PDF Question

2005-11-18 Thread Bryan Stevenson
> I then created an object to the concat_pdf class and get it to return
> methods. I can call all methods except main which is the one I want. Error
> says The selected method main was not found.But a cfdump of the object 
> lists
> the method main...

Could be a method called main does not exist that accepts the number of 
arguments or the types of args you passed (see that all the timeand 
JavaCast() is your friend) ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224638
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: PDF Question

2005-11-18 Thread Bryan Stevenson
> Yeah, I'm familiar with both createObject and Java.  It looks like
> com.lowagie.tools is the package needed for concatenating.  I'll see
> what I can do.
>
> Cheers,
>
> Sam F

Good stuffshould just be a little trial and error then and yer on your 
way ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224637
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: OT:Coldfusion Podcast Episode 4 Released

2005-11-18 Thread Mark A Kruger
That would depend on the number of beers you have before you begin :)

-Original Message-
From: Michael Haynie [mailto:[EMAIL PROTECTED]
Sent: Friday, November 18, 2005 9:32 AM
To: CF-Talk
Subject: Re: OT:Coldfusion Podcast Episode 4 Released


LOL...thanks for catching that! I hope our podcasts are betting than my
spelling!

Michael



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224636
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: OT:Coldfusion Podcast Episode 4 Released

2005-11-18 Thread Munson, Jacob
> I hope our podcasts are betting than my spelling!

Yes they are, and better than your grammar as well.  ;-)


---

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224635
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Problem with Oracle stored proc result

2005-11-18 Thread Plunkett, Matthew
My group used a function like this in our error conditions for the ref
cursors that would normally contain real data.  Just assign your ref cursor
to null_recordset in your exception block.

TYPE ref_whatever  IS REF CURSOR;

FUNCTION null_recordset
  RETURN ref_whatever
   IS
  ref_null ref_whatever;
  c_nullstr   CONSTANT VARCHAR2 (1) := NULL;
   BEGIN
  OPEN ref_null FOR
 SELECT c_nullstr
   FROM DUAL
  WHERE 1 = 2;
  RETURN (ref_null);
   END null_recordset;

-Original Message-
From: Steve Ray [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 2:10 PM
To: CF-Talk
Subject: Re: Problem with Oracle stored proc result


> 2) if the user doesn't have the appropriate privs, raise an error in 
> the proc, and catch that with cftry/cfcatch in coldfusion. Since you 
> can assign an error number and message (RAISE_APPLICATION_ERROR in 
> pl/sql) which will then be available to your cf code through cfcatch.
> message, you can distinguish between a security error and an other 
> database error.

Thanks for everyone's ideas. We've gone with raising an error in the stored
proc, and handling it in CFTRY/CFCATCH. That's working well.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224634
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: coldfusion mx 7 and mysql 5

2005-11-18 Thread Munson, Jacob
I have it working, but on Windows.  I used the comments in Ben Forta's
post about MySQL 5, there are some links there to an MM tech note and
the MySQL connector:
http://tinyurl.com/9f7bf

The MM tech note says MySQL 4.1, but the it worked for v. 5 (at least
for me).

> -Original Message-
> From: wolf2k5 [mailto:[EMAIL PROTECTED] 
> Sent: Friday, November 18, 2005 9:21 AM
> To: CF-Talk
> Subject: coldfusion mx 7 and mysql 5
> 
> Hi all,
> 
> I installed ColdFusion MX 7.0.1 on Red Hat Enterprise Linux.
> 
> I also installed MySQL 5.0.15 on the same server.
> 
> I cannot get CFMX to connect reliably to MySQL, I tried the CFMX
> driver and also the mysql.com JDBC driver (version 3.0.x and 3.1.x).
> 
> I got weird error messages:
> connection timeout
> Communication link failure: java.io.IOException
> 
> Any idea?
> 
> Is anyone using MySQL 5 with CFMX7? What driver are you using?
> 
> Thanks a lot.

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224633
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT:Coldfusion Podcast Episode 4 Released

2005-11-18 Thread Michael Haynie
LOL...thanks for catching that! I hope our podcasts are betting than my 
spelling!

Michael

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224632
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: coldfusion mx 7 and mysql 5

2005-11-18 Thread Ryan Guill
Im not sure this will help, because it was for mysql 4.1, but some of
the things I noticed may help you figure out what you need.  Check
this blog entry:

http://www.ryanguill.com/blog/index.cfm?mode=entry&entry=C7BE3545-40CA-6D1C-8A6FDADE72B840CC

On 11/18/05, wolf2k5 <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I installed ColdFusion MX 7.0.1 on Red Hat Enterprise Linux.
>
> I also installed MySQL 5.0.15 on the same server.
>
> I cannot get CFMX to connect reliably to MySQL, I tried the CFMX
> driver and also the mysql.com JDBC driver (version 3.0.x and 3.1.x).
>
> I got weird error messages:
> connection timeout
> Communication link failure: java.io.IOException
>
> Any idea?
>
> Is anyone using MySQL 5 with CFMX7? What driver are you using?
>
> Thanks a lot.
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224631
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Displaying code

2005-11-18 Thread Adkins, Randy
HTMLEDITFORMAT 

-Original Message-
From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 18, 2005 11:22 AM
To: CF-Talk
Subject: Displaying code

Hi,

I need to be able to display a string containing html code and show the
code, ie not have the browser parse it.

ie, a  shows as the text , not to put a break in.

Any ideas please?

Jenny





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224630
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Displaying code

2005-11-18 Thread Jerry Johnson
#replace(replace(string,"<","<","ALL"),">",">","ALL")#

On 11/18/05, Jennifer Gavin-Wear <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I need to be able to display a string containing html code and show the
> code, ie not have the browser parse it.
>
> ie, a  shows as the text , not to put a break in.
>
> Any ideas please?
>
> Jenny
>
>
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224629
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Displaying code

2005-11-18 Thread Jennifer Gavin-Wear
Hi,

I need to be able to display a string containing html code and show the
code, ie not have the browser parse it.

ie, a  shows as the text , not to put a break in.

Any ideas please?

Jenny



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224628
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


coldfusion mx 7 and mysql 5

2005-11-18 Thread wolf2k5
Hi all,

I installed ColdFusion MX 7.0.1 on Red Hat Enterprise Linux.

I also installed MySQL 5.0.15 on the same server.

I cannot get CFMX to connect reliably to MySQL, I tried the CFMX
driver and also the mysql.com JDBC driver (version 3.0.x and 3.1.x).

I got weird error messages:
connection timeout
Communication link failure: java.io.IOException

Any idea?

Is anyone using MySQL 5 with CFMX7? What driver are you using?

Thanks a lot.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224627
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFMX Instance Names

2005-11-18 Thread Dave Watts
> Thanks!  Just a note for anyone searching the archives.  The 
> registry settings only need to be changed if you created a 
> 'windows service' when adding your instance.  If there is no 
> 'windows service' for that instance, then those changes don't 
> need to be made.

Well, actually, assuming that you installed the ODBC services, those will
still need to be changed. But yes, the CF service itself only needs to be
changed if you've registered it as a Windows service.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224626
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Upper/Lowercase

2005-11-18 Thread Andy Matthews
Care to post the code here? From Ray's own mouth, he's quite a bit behind in
updating the functions found there.



-Original Message-
From: Larry Juncker [mailto:[EMAIL PROTECTED]
Sent: Friday, November 18, 2005 9:51 AM
To: CF-Talk
Subject: RE: Upper/Lowercase


I submitted a UDF to cflib.org called isUpperLower

http://www.aljnet.net/downloads/isUpperLower

Save the file in your root directoy as isUpperLower.cfm

Its use is very simple:




isUpperLower('U') = #isUpperLower('U')#
isUpperLower('d') = #isUpperLower('d')#
isUpperLower('F') = #isUpperLower('F')#


RETURNS
isUpperLower('U') = upper
isUpperLower('d') = lower
isUpperLower('F') = upper

Hope this helps


Larry Juncker
President & CEO
ALJ Computer Services, LLC
1445 So 27th Street
Fort Dodge, IA
Phone: (515) 576-0885
Fax: (515) 576-8510
[EMAIL PROTECTED]




CONFIDENTIALITY NOTICE: This communication, including any attachment, may
contain confidential information and is intended only for the individual or
entity to whom it is addressed. Any review, dissemination, or copying of
this communication by anyone other than the intended recipient is strictly
prohibited. If you are not the intended recipient, please contact the sender
by reply email, delete and destroy all copies of the original message.'



-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 3:18 PM
To: CF-Talk
Subject: RE: Upper/Lowercase

Don’t compare() and find() both match case?

:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: J W [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 3:48 PM
To: CF-Talk
Subject: Upper/Lowercase

IS there a better way to find out if a character is Upper or lowercase other
than

 or  where X is the letter I am comparing???

I've seen some sample code of making a CF function for ISUpperCase and
IsLowerCase. It uses the above technique.

I figured I would throw it out there if there was another more effecient
way.

Thanks!
Jeff








~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224625
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Upper/Lowercase

2005-11-18 Thread Larry Juncker
I submitted a UDF to cflib.org called isUpperLower

http://www.aljnet.net/downloads/isUpperLower

Save the file in your root directoy as isUpperLower.cfm

Its use is very simple:




isUpperLower('U') = #isUpperLower('U')#
isUpperLower('d') = #isUpperLower('d')#
isUpperLower('F') = #isUpperLower('F')#


RETURNS
isUpperLower('U') = upper
isUpperLower('d') = lower
isUpperLower('F') = upper

Hope this helps 


Larry Juncker
President & CEO
ALJ Computer Services, LLC
1445 So 27th Street
Fort Dodge, IA
Phone: (515) 576-0885
Fax: (515) 576-8510
[EMAIL PROTECTED]



 
CONFIDENTIALITY NOTICE: This communication, including any attachment, may
contain confidential information and is intended only for the individual or
entity to whom it is addressed. Any review, dissemination, or copying of
this communication by anyone other than the intended recipient is strictly
prohibited. If you are not the intended recipient, please contact the sender
by reply email, delete and destroy all copies of the original message.'



-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 3:18 PM
To: CF-Talk
Subject: RE: Upper/Lowercase

Don’t compare() and find() both match case?
 
...:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: J W [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 3:48 PM
To: CF-Talk
Subject: Upper/Lowercase

IS there a better way to find out if a character is Upper or lowercase other
than

 or  where X is the letter I am comparing???

I've seen some sample code of making a CF function for ISUpperCase and
IsLowerCase. It uses the above technique.

I figured I would throw it out there if there was another more effecient
way.

Thanks!
Jeff






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224624
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMX Instance Names

2005-11-18 Thread Dave Phillips
Thanks!  Just a note for anyone searching the archives.  The registry settings 
only need to be changed if you created a 'windows service' when adding your 
instance.  If there is no 'windows service' for that instance, then those 
changes don't need to be made.

>> Anyone know how, or if it's even possible, to change an 
>> instance name?  I'm running multiple instances under MX7 and 
>> would like to change the name.  Is it as simple as changing 
>> the folder name under the c:\jrun4\servers\ directory?  I'm 
>> guessing more complex than that. :)
>
>Yes, you can change instance names. You'll need to do this if, for example,
>you use the Multiserver install of CFMX on two machines, and want to cluster
>the instances that are automatically created.
>
>This article by Brandon Purcell outlines the basics:
>http://www.bpurcell.org/viewContent.cfm?ContentID=121
>
>In addition, you will need to update registry entries appropriately. I ended
>up changing "ColdFusion MX 7 ODBC Agent", "ColdFusion MX 7 ODBC Server", and
>"Macromedia JRun Cfusion Server" as appropriate - they're all under
>HKLM\SYSTEM\CurrentControlSet\Services.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>
>Fig Leaf Software provides the highest caliber vendor-authorized 
>instruction at our training centers in Washington DC, Atlanta, 
>Chicago, Baltimore, Northern Virginia, or on-site at your location. 
>Visit http://training.figleaf.com/ for more information!

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224623
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Dynamic image thumbnails with Massimo's tmt_img

2005-11-18 Thread Andy Matthews
I have...

Here's the code I've used:




























































// source, destination, width
// we only resize the "large" image if it's larger than 
our specified
size of 500

APPLICATION.imgObj.resize("#APPLICATION.settings.photoPath#/#VARIABLES.ph
oto_large#","#APPLICATION.settings.photoPath#/#VARIABLES.photo_large#",
#largeDim#);

APPLICATION.imgObj.resize("#APPLICATION.settings.photoPath#/#VARIABLES.ph
oto_large#","#APPLICATION.settings.photoPath#/#VARIABLES.photo_thumb#",
#thumbDim#);











~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224622
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT:Coldfusion Podcast Episode 4 Released

2005-11-18 Thread John Wilker
Not all of us make big bucks, ya know :)

Get it. Po' Cast, wokka wokka wokka.

:D

On 11/18/05, Ray Champagne <[EMAIL PROTECTED]> wrote:
>
> Hey Mike, didn't know if you noticed, but your name says ColdFusion
> Pocast, not Podcast.
>
>
>
> ColdFusion Pocast wrote:
> > We recently uploaded episode 4 of our podcast series dealing with Flash
> > forms in CF. Hope all those who listen enjoy it and hope that others who
> > have not visited will too.
> >
> > http://www.coldfusionpodcast.com
> >
> > Thanks!
> > Michael
> >
> >
> >
>
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224621
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFMX Instance Names

2005-11-18 Thread Dave Watts
> Anyone know how, or if it's even possible, to change an 
> instance name?  I'm running multiple instances under MX7 and 
> would like to change the name.  Is it as simple as changing 
> the folder name under the c:\jrun4\servers\ directory?  I'm 
> guessing more complex than that. :)

Yes, you can change instance names. You'll need to do this if, for example,
you use the Multiserver install of CFMX on two machines, and want to cluster
the instances that are automatically created.

This article by Brandon Purcell outlines the basics:
http://www.bpurcell.org/viewContent.cfm?ContentID=121

In addition, you will need to update registry entries appropriately. I ended
up changing "ColdFusion MX 7 ODBC Agent", "ColdFusion MX 7 ODBC Server", and
"Macromedia JRun Cfusion Server" as appropriate - they're all under
HKLM\SYSTEM\CurrentControlSet\Services.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224620
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Upper/Lowercase

2005-11-18 Thread J W
Thanks for all the suggestions! Lots of good options here...

Jeff

On 11/17/05, Claude Schneegans <[EMAIL PROTECTED]> wrote:
>
> 
> 
> char not e letter
> 
> char is an upper case letter
> 
> char is a lower case letter
> 
>


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224619
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT:Coldfusion Podcast Episode 4 Released

2005-11-18 Thread Ray Champagne
Hey Mike, didn't know if you noticed, but your name says ColdFusion 
Pocast, not Podcast.



ColdFusion Pocast wrote:
> We recently uploaded episode 4 of our podcast series dealing with Flash
> forms in CF. Hope all those who listen enjoy it and hope that others who
> have not visited will too.
> 
> http://www.coldfusionpodcast.com
> 
> Thanks!
> Michael
> 
> 
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224618
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CFMX Instance Names

2005-11-18 Thread Dave Phillips
Anyone know how, or if it's even possible, to change an instance name?  I'm 
running multiple instances under MX7 and would like to change the name.  Is it 
as simple as changing the folder name under the c:\jrun4\servers\ directory?  
I'm guessing more complex than that. :)

Thanks!

Dave

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224617
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: PDF Question

2005-11-18 Thread Sam Farmer
Thats a great start. I'm on CF 7 so didn't install iText but was able to get
your code to work fine and display the number of pages.

I then created an object to the concat_pdf class and get it to return
methods. I can call all methods except main which is the one I want. Error
says The selected method main was not found.But a cfdump of the object lists
the method main...

Here's the code:


pdfObject = createObject("java","com.lowagie.tools.concat_pdf");
pdfObject.main("1.pdf 2.pdf result.pdf");




Cheers,

Sam

On 11/18/05, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]>
wrote:
>
> Well, I did a CFC to do all the work of a PDF; it isn't that hard.
>
> First, you need to get the iText jar 2installed"
>
> An example of say, get the number of pages within a PDF is below...
>
> pdfObject = createObject("java","com.lowagie.text.pdf.PdfReader");
> vcPDFfile= vcPDFfile; // full path to the PDF
> pdfObject.init(vcPDFfile);
> iNumberOfPages = pdfObject.getNumberOfPages();
>
> if you dump iNumberOfPages you will get the number of pages in vcPDFfile.
>
> Obviously iText is far far more advanced but you get the idea...
>
> Any more help, let me know.
>
> N
>
>
>
>
>
>
> -Original Message-
> From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED]
> Sent: 18 November 2005 00:43
> To: CF-Talk
> Subject: Re: PDF Question
>
> Wow, iText looks to be far more powerful than what cfdocument has
> implemented. Has anyone created a friendlier "translation layer" for
> those of us without Java experience?
>
> Pete
>
>
>
> 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224616
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: FCKEditor and uploading images

2005-11-18 Thread Phill B
I got an error on the page. :-\

On 11/18/05, Jennifer Gavin-Wear <[EMAIL PROTECTED]> wrote:
> http://cms.fasttrackonline.co.uk/cms/docs.cfm
>
> attempt at documenting the application, have added Matt's info.
>
> Thanks Matt :-)
>
> Jenny
>

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224615
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Sending Faxes through Cold Fusion

2005-11-18 Thread Justin D. Scott
Thanks Ali, I should have adjusted the subject line as we were discussing
printing from the command line, not faxing (I hijacked a thread).

-Justin 

> -Original Message-
> From: Ali Awan [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 17, 2005 4:45 PM
> To: CF-Talk
> Subject: Re: Sending Faxes through Cold Fusion
> 
> Where i work, we have a faxserver.
> To send faxes, we create either RTF or PDF attachments and 
> then do CFFILE write, to the faxserver.  Basically we write 
> to the faxservers "control" file.  It takes certain 
> parameters, such as the Destination Fax Number, and 
> Attachment.  The attachment is the RTF or PDF we generate.
> 
> The faxserver should come with instructions on what its 
> control file requires.
> 
> HTH
> Ali
> 
> >> If you can convert the HTML to PDF (see iText or fop)
> >> you can install acrobat reader on the server and print
> >> the pdf by running:
> >> 
> >> cmd.exe start /C acrord32 /p /h FILE.pdf
> >
> >We're running CFMX 7, so wrapping our HTML reports with 
> CFDOCUMENT might
> >make this a viable solution assuming we can get it to format 
> everything
> >correctly.  Thanks!
> >
> >
> >-Justin Scott
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224614
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Command line Printing SOLVED

2005-11-18 Thread Justin D. Scott
> If you can convert the HTML to PDF (see iText or fop) you
> can install acrobat reader on the server and print the
> pdf by running:
> 
> cmd.exe start /C acrord32 /p /h FILE.pdf

Apparently Adobe has changed the command line for newer releases of Reader
and it no longer supports these switches.

I did find a solution, though, in a shareware program called Batch & Print
Pro.  It installs as an app, and can be run as a service.  It manages print
queues and supports both command line printing and directory monitoring.  We
set it up as a service that monitors a folder on the server, then we just
drop PDF files in that folder and they get sent off to the default printer.
Then it moves them to a different folder so we can track which ones get
printed properly.  Great price too!


-Justin Scott



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224613
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cf/iis mail performance problems

2005-11-18 Thread Greg Saunders
thanks, russ, it looks interesting and i may try, but i am in a hosted 
environment and switching applications would take some work.  Before i go 
down that path, does anyone know if 3-5 messages/second is all IIS can do, 
or how to boost performance?

greg


At 07:57 PM 11/17/2005, Russ wrote:
>Try IMS-Lite... We're using it with a dedicated mail server and have seen
>huge improvements over just using CF.  IMS-Lite is also supposed to be able
>to send mail out itself, but I haven't tried that personally.
>
>They also have other (non-free) versions that come with more threads and
>more functionality...
>
>
>
>-Original Message-
>From: Greg Saunders [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 17, 2005 7:35 PM
>To: CF-Talk
>Subject: cf/iis mail performance problems
>
>My company routinely sends out large mail blasts to our subscribers using
>CF and IIS SMTP.  CF seems to do it's job quite nicely, and we can see the
>messages moving from the CF spool into the IIS Queue, but then things bog
>down.  IIS seems to be sending out 3-5 messages/second, which is painfully
>slow for large volumes of mail.
>
>We are doing this on a Win Server 2003 with CFMX 7.  They are both on the
>same box, but we see no problems with CPU or RAM utilization (not even
>close).
>
>We have looked at IIS SMTP settings and tried various combinations (#
>messages per connection, etc); nothing seems to help.
>
>Any ideas?  Is 3-5 messages/second expected performance?  It seems very low
>to me, but I'm not sure how to improve things at this point.  I've heard
>that you can have CF write messages directly to the IIS mail pickup folder,
>but since mail leaves the CF spool quickly I presume that's not the
>bottleneck.
>
>Thanks,
>
>Greg Saunders
>Chief Technical Officer
>Socratic Arts
>http://www.socraticarts.com
>
>
>
>
>

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224612
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   >