RE: Problem with CFFILE

2001-09-21 Thread Jack Tumlin

Try your suggestion and still having the same results.

The error message I'm getting is:

"The process cannot access the file because it is being used by another 
process. (error 32)"


Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
www.millsoftinc.com


At 04:36 PM 9/20/2001 -0500, you wrote:
>Renaming a file takes some time.  I'm not sure how the internals of CF
>work - does it send the renaming command off to Windows and then carry
>on it merry way?  If so, it may be trying to delete a file that doesn't
>exist *yet* at that point in time.
>
>An idea: let a custom tag do the deleting - if the file exists, it gets
>deleted; otherwise, it trys again.
>
>
>
> 
>destination="e:\inetpub\wwwroot\app\junk.del">
> 
>
>
>
>The file, deleteFile.cfm:
>
> 
>
> 
>
>
>
>---
>Billy Cravens
>Web Development, EDS
>[EMAIL PROTECTED]
>
>
>-Original Message-
>From: Jack Tumlin [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, September 20, 2001 3:01 PM
>To: CF-Talk
>Subject: Problem with CFFILE
>
>
>I having a problem with a piece of code that checks for the existence of
>a
>file, renames the file, and then deletes the file. The code is run in a
>child window after the user clicks the submit button on the parent
>window.
>The problem occurs when a user closes the child window while the thread
>is
>running and then clicks the submit button on the parent window again.
>
>The message appears on the NT Server saying that the file is missing. I
>have tracked it down to the cffile action="RENAME" statement in the code
>
>below. It appears that the first thread is still processing the delete
>when
>the second thread is checking for the existence of the file. The first
>thread then finishes and the second thread tries to rename the now
>non-existence file and the error occurs.
>
>Is there something I'm missing with the CFLOCK statement. Also, this is
>not
>happening all the time. There is some sort of timing issue. I have read
>where a delete on a NT Server does not happen right away. So, my
>question
>has anybody run into a similar problem and came up with a fix?
>
>Here is the code:
>
>
>
> 
>destination="e:\inetpub\wwwroot\app\junk.del">
> 
>
>
>
>
>Thanks,
>
>Jack Tumlin
>Vice President Business Development
>Millennium Software, Inc.
>The Software Solutions Company
>[EMAIL PROTECTED]
>www.millsoftinc.com
>
>
>
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Problem with CFFILE

2001-09-20 Thread Jack Tumlin

I type this just a little too fast. The first thread is in the midst of 
renaming the file when the second thread starts running.
Not deleting the file!  Sorry for the confusion.

At 03:00 PM 9/20/2001 -0500, you wrote:
>I having a problem with a piece of code that checks for the existence of a
>file, renames the file, and then deletes the file. The code is run in a
>child window after the user clicks the submit button on the parent window.
>The problem occurs when a user closes the child window while the thread is
>running and then clicks the submit button on the parent window again.
>
>The message appears on the NT Server saying that the file is missing. I
>have tracked it down to the cffile action="RENAME" statement in the code
>below. It appears that the first thread is still processing the delete when
>the second thread is checking for the existence of the file. The first
>thread then finishes and the second thread tries to rename the now
>non-existence file and the error occurs.
>
>Is there something I'm missing with the CFLOCK statement. Also, this is not
>happening all the time. There is some sort of timing issue. I have read
>where a delete on a NT Server does not happen right away. So, my question
>has anybody run into a similar problem and came up with a fix?
>
>Here is the code:
>
>
>
>     destination="e:\inetpub\wwwroot\app\junk.del">
> 
>
>
>
>
>Thanks,
>
>Jack Tumlin
>Vice President Business Development
>Millennium Software, Inc.
>The Software Solutions Company
>[EMAIL PROTECTED]
>www.millsoftinc.com
>
>
~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Problem with CFFILE

2001-09-20 Thread Jack Tumlin

I having a problem with a piece of code that checks for the existence of a 
file, renames the file, and then deletes the file. The code is run in a 
child window after the user clicks the submit button on the parent window. 
The problem occurs when a user closes the child window while the thread is 
running and then clicks the submit button on the parent window again.

The message appears on the NT Server saying that the file is missing. I 
have tracked it down to the cffile action="RENAME" statement in the code 
below. It appears that the first thread is still processing the delete when 
the second thread is checking for the existence of the file. The first 
thread then finishes and the second thread tries to rename the now 
non-existence file and the error occurs.

Is there something I'm missing with the CFLOCK statement. Also, this is not 
happening all the time. There is some sort of timing issue. I have read 
where a delete on a NT Server does not happen right away. So, my question 
has anybody run into a similar problem and came up with a fix?

Here is the code:




    




Thanks,

Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
www.millsoftinc.com

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



ColdFusion Query Windows NT Error 1450

2001-05-09 Thread Jack Tumlin

I'm having a problem with a query that displays the results in a CFGRID. 
The query works on two different servers with no problems.

Now, I'm trying the query on NT 4.0 machine and getting a blank page. A 
"Error number 1450 occurred while attempting to write the reply to the web 
server." entry is recorded in the server log. I found some information 
about the error on the Allaire Support forums. The fix was to store client 
variables in a data source. I'm doing this already. Any ideas?  The 
ColdFusion Server version is 4.5.1 SP2.
Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
www.millsoftinc.com


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: how to get result from applet

2001-04-01 Thread Jack Tumlin

George,

Look at the   tag. You can embed Java applets in a . The 
Java return value is stored as a form value.

Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
www.millsoftinc.com


At 07:54 PM 3/30/2001 -0500, you wrote:
>Hi there,
>If any one kwone how to get a result from java applet in CF. I have an 
>applet, after executing, I want to applet return some params that i can 
>use in CF template.
>
>Thanks.
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Browser is caching files even when I use META tags to prevent cac hing.

2001-03-20 Thread Jack Tumlin

Ric,

Did your clients stop using the proxy server to get around the problem or 
did you come up with a fix?

At 12:19 PM 3/20/2001 -0500, you wrote:
>Some of our clients had this problem and we found out it was
>there proxy server.
>
>Ric Smith

Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
www.millsoftinc.com


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFGRID to CSV?

2001-03-15 Thread Jack Tumlin

Scott,

To my knowledge there is no property that returns the sort order from CFGRID.

I've done research for a client that has requested this. I've looked into 
other
alternatives such as custom tags available on the Allaire site. But, they
don't have the same look and feel as CFGRID.

It would be nice if this was included in a future release. I'm looking into
building my own JAVA applet. May take awhile.

Jack Tumlin


At 12:43 PM 3/15/2001 +, you wrote:
>Hi,
>
>Anyone know of a way to output the contents of a CFGRID to a file (say csv)?
>   I want to be able to output the table data AND preserve the sorting method
>they have chosen.  It's a pity that being an applet you cant just cut and
>paste the data.
>
>Thanks,
>
>Scott.
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfm-resources??

2000-10-13 Thread Jack Tumlin


>I tried the path
>H:\client\members\Youraccount\ and it doesn't work.
>Rich

Okay, see if Pablo Varando can help you at [EMAIL PROTECTED] or 
call: 888-929-1001 Ex. 219.

Good luck!



Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
www.millsoftinc.com

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: cfm-resources??

2000-10-13 Thread Jack Tumlin

--=_62985858==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

 From Pablo Varando's email:

If you're accessing the site via:
http://www.cfm-resources.com, your new path will be:
H:\client\members\Youraccount\

If you're accessing the site via:
http://www.cfm-resources.net, your new path will be:
D:\client\members\Youraccount


At 05:21 PM 10/12/2000 -0400, you wrote:
>Sorry I was referring to the full path not the url.
>Any Ideas,
>rich
>
>-Original Message-
>From: Jack Tumlin [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, October 12, 2000 5:02 PM
>To: CF-Talk
>Subject: Re: cfm-resources??
>
>
>Try http://www.cfm-resources.com/ViewMemberSite.cfm?AccountName=yourwebsite
>
>At 04:12 PM 10/12/2000 -0400, you wrote:
> >Does anyone know the new path for users of cfm-resources.com??
> >
> >Rich
> >---
>---
> >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> >To Unsubscribe visit
> >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> >send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> >the body.
>
>Jack Tumlin
>Vice President Business Development
>Millennium Software, Inc.
>The Software Solutions Company
>[EMAIL PROTECTED]
>www.millsoftinc.com
>
>
>--
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in
>the body.
>
>--
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
>the body.

Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
www.millsoftinc.com

--=_62985858==_.ALT
Content-Type: text/html; charset="us-ascii"


 From Pablo Varando's email:

If you're accessing the site via: 
http://www.cfm-resources.com/" 
eudora="autourl">http://www.cfm-resources.http://www.cfm-resources.com/" 
eudora="autourl">com,
your new path will be: 
H:\client\members\Youraccount\ 

If you're accessing the site via: 
http://www.cfm-resources.net/" 
eudora="autourl">http://www.cfm-resources.net,
your new path will be: 
D:\client\members\Youraccount


At 05:21 PM 10/12/2000 -0400, you wrote:
Sorry I was referring to the full path not the
url.
Any Ideas,
rich

-Original Message-
From: Jack Tumlin
[mailto:[EMAIL PROTECTED]" 
eudora="autourl">mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 12, 2000 5:02 PM
To: CF-Talk
Subject: Re: cfm-resources??


Try
http://www.cfm-resources.com/ViewMemberSite.cfm?AccountName=yourwebsite" 
eudora="autourl">http://www.cfm-resources.com/ViewMemberSite.cfm?AccountName=yourwebsite

At 04:12 PM 10/12/2000 -0400, you wrote:
>Does anyone know the new path for users of cfm-resources.com??
>
>Rich
>---
---
>Archives:
http://www.mail-archive.com/cf-talk@houseoffusion.com/" 
eudora="autourl">http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk" 
eudora="autourl">http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or
>send a message to [EMAIL PROTECTED] with
'unsubscribe' in
>the body.

Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
http://www.millsoftinc.com/" eudora="autourl">www.millsoftinc.com


--
Archives:
http://www.mail-archive.com/cf-talk@houseoffusion.com/" 
eudora="autourl">http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk" 
eudora="autourl">http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/&

Re: cfm-resources??

2000-10-12 Thread Jack Tumlin

Try http://www.cfm-resources.com/ViewMemberSite.cfm?AccountName=yourwebsite

At 04:12 PM 10/12/2000 -0400, you wrote:
>Does anyone know the new path for users of cfm-resources.com??
>
>Rich
>--
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
>the body.

Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
www.millsoftinc.com

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Client variables

2000-10-06 Thread Jack Tumlin

Would the CFID and CFTOKEN values have to be stored in a DSN in order to 
use the URL route?
That is if cookies were not being used.


At 06:10 PM 10/6/2000 -0400, Dave Watts wrote:
> > Okay. Will Coldfusion know if a client returns by the CFID if
> > cookies are not used?
>
>For CF to recognize a prior user and match that user to a set of Client
>variables, the user's browser must send the CFID and CFTOKEN name-value
>pairs to the server. They can be sent using cookies, or via the URL.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444

Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
www.millsoftinc.com

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Client variables

2000-10-06 Thread Jack Tumlin

Okay. Will Coldfusion know if a client returns by the CFID if cookies are 
not used?

Bear with me I'm trying to work through an idea.




At 06:00 PM 10/6/2000 -0400, Dave Watts wrote:
> > Coldfusion by default stores client variables in the
> > registry. Is this the registry on the server or the client?
>
>On the server. If you want to actually store Client variables on the client,
>you'll need to select the "Cookie" option, which will write out the client
>variables as one big string, and set it in a cookie.
>
>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>voice: (202) 797-5496
>fax: (202) 797-5444

Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
www.millsoftinc.com

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Client variables

2000-10-06 Thread Jack Tumlin

Coldfusion by default stores client variables in the registry. Is this the 
registry on the server or the client?
Jack Tumlin
Vice President Business Development
Millennium Software, Inc.
The Software Solutions Company
[EMAIL PROTECTED]
www.millsoftinc.com

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: CF and Fox Pro

2000-08-18 Thread Jack Tumlin

Andy,

You can write a FoxPro com to pack the tables in question and
then have the CF RMS called the com via CFOBJECT.  This would
be a permanent solution to get rid of the deleted records.

The com object would contain the following FoxPro commands:

USE NAMEOFTABLE EXCLUSIVE
PACK
USE

I know this is not a fast or easy solution. But, it does get rid of the 
records.
This works in Windows, I'm not sure about UNIX.


At 02:54 PM 8/18/00 +0100, you wrote:
>Ok I hate Fox Pro as much as the next person but unfortunately I have to
>make some changes to a site that is driven by fowpro databases and I'm
>getting a problem
>
>The client has a Remote Management System which maintains the data in these
>FP tables that drives their site.  He is trying to delete a record from a
>table but there is some logic in the CF pages that won't let him delete the
>record if there are any related records in another table (which there are in
>this case).  So.he does the natural thing and deletes all of the related
>records in the other table (through his CF RMS) and then goes back to delete
>this original record.  However the Fox Pro database thinks these related
>records are still there as the PACK command has not been issued.  As I
>understand it the records are not permanently deleted until the pack command
>is issued.  Iv'e tried adding this command to the sql statement in the CF
>page that deletes these records but I get an ODBC error..anyone have a
>quick easy solution to this
>
>Andy
>
>--
>Andrew Ewings
>Project Manager
>Thoughtbubble Ltd
>--
>
>--
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
>the body.

Jack Tumlin
Vice President - Business Development
Millennium Software, Inc.
http://www.millsoftinc.com
[EMAIL PROTECTED]

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.